[info-performer] Draw TravFuncs problems

Date view Thread view Subject view Author view

From: GAILLARD alexandre (alexandre.gaillard++at++eivd.ch)
Date: 10/14/2004 07:30:47


HI,
 
I'm doing a project in witch I need to integrete Cg in Performer to implement dynamic lighting.
So this part of the job is done ... and now I have to take care of the materials.
 
I fond 2 solutions for that particular problem :
o 1 : Get them back from OpenGl .. but it seems that the material is not bind
o 2 : Get them from Performer .. but my pfTraverser parametre always give me the top-level node
        (pfGroupe), the pfPath has his list empty and the Index from, GetIndex is always 0 ....
 
So how can I do to get the material of the currenty rendered geometry if that's possible ....
 
Thanks in advance ..
Alexandre Gaillard


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu Oct 14 2004 - 07:33:27 PDT