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

Ulrich Hertlein u.hertlein at sandbox.de
Tue Sep 17 01:54:56 PDT 2019


Hi Dae,

On 17/9/19 03:16, Dae Woo Ryu wrote:
> As shown in the code below, 
> I get the geometry information from the model of Openflight(.flt) format and move the coordinates of the vertices.
> But the texture doesn't move.
> How can I move a texture?

Depending on what you are trying to achieve, a texture matrix osg::TexMat might also work
(and be less CPU intensive.)

Cheers,
/Ulrich

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20190917/70e34b34/attachment.sig>


More information about the osg-users mailing list