Hi Edmond,

I don't know fully what you are trying to do so I can't really advice
the best route.  I don't have time to spend understand the intricisies
of what you doing so I'm afriad you'll just need to experiment and
learn as you go along.

Robert.

On 5/5/06, Edmond Gheury <[EMAIL PROTECTED]> wrote:
Hi Robert,

 I need a 4x4 matrix because I need to translate and rotate tree stems.
However, I am still considering which solution to choose:

 1. simplify the model, pass the 4x4 matrix array as a uniform array and the
matrix index for each vertex as an attribute.
 2. passing the 4x4 matrix array as VertexAttrib using
VertexAttributeIndices (then no fast path allowed)
 3. using quat and translation vector instead of 4x4 matrix and pass them as
VertexAttrib using also VertexAttribIndices (still no FP)

 I think that the best solution is the first one, since it allows the fast
path to be used and doesn't need to convert matrices into pairs of vec4's...
I am certainly missing other solutions, but it is the first time I run into
this kind of application. What do you think ?

 Best regards,

 Edmond.

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/


_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to