[osg-users] How do I move a Texture in an model of Openflight format (.flt) in the UV direction?

Dae Woo Ryu osgforum at tevs.eu
Tue Sep 24 18:15:21 PDT 2019


Hi, Nick

Thanks to you, I got a lot of knowledge.

This time the Texture is moving as I want.

Thank you so much.

Have a good Time 


Trajce Nikolov NICK wrote:
> Here you go
> 
> 
> https://pastebin.com/2uuUC2zL (https://pastebin.com/2uuUC2zL)
> 
> 
> Let me know if the url works for you. Otherwise I will post it here
> 
> 
> 
> On Mon, Sep 23, 2019 at 8:57 AM Dae Woo Ryu < ()> wrote:
> 
> 
> > Hi, Nick
> > 
> > The reason I did _geom-> setUseVertexBufferObjects (true) was because the return value of _coord->getBufferObject() was NULL.
> > So I added _geom-> setUseVertexBufferObjects (true) .
> > 
> > Here is the cloud model I am testing(.flt).
> > Can you move the cloud texture on the surface in uv direction?
> > 
> > 
> > 
> > 
> > > 
> > > 
> > > Hi,
> > > 
> > > 
> > > I don't think you should call  _geom->setUseVertexBufferObjects(true); here. I bet the flt plugin is setting this on creation time. If you have a use case code you can share and the model it will help more for me to see what is going on
> > > 
> > > 
> > 
> > 
> > ------------------
> > Read this topic online here:
> > http://forum.openscenegraph.org/viewtopic.php?p=76729#76729 (http://forum.openscenegraph.org/viewtopic.php?p=76729#76729)
> > 
> > 
> > 
> > _______________________________________________
> > osg-users mailing list
> >  ()
> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org (http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org)
> > 
> 
> 
> -- 
> trajce nikolov nick
> 
>  ------------------
> Post generated by Mail2Forum
 |-)

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=76742#76742







More information about the osg-users mailing list