Shaitan wrote:
> Hi all,
> Sorry for not providing much information about the interest of changing text 
> coords. Im working on animating avatar impostors for which im using a 
> billboard with a texture (sprite) of an avatar. With OSG its easy to 
> implement a special kind of billboard for managing sprite animations 
> depending of the point of view of the camera, but using setTexCoordArray is 
> slow (perhaps, as you pointed out, im using compiled lists). At this moment i 
> prefer not to use GLSL, as im already using other shaders on the nodes, but 
> this is a possibility if i find out that there is *NOT* an efficient 
> alternative.
> 
> Thans for your help.
> 
> J.
> 
> P.S. The method tha Ulrich sugested works pretty well!! :-D


Hi,

 Just an idea: have you taken a look at TexGen, I use it in projective texture 
mapping to automatically compute the texcoords, maybe you could use it too.

Good luck


Max

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





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to