From: Dorosky, Christopher G (christopher.g.dorosky++at++lmco.com)
Date: 06/27/2002 15:05:11
Find the root node (or pfGroup) of the model
Find all pfGeodes.
Find all pfGeoSets in each geode.
Read the pfGeoSet man page for formats on extracting the data.
You will have to use the pfGeoSet::getAttrLists() command,
which can give you either vertices, normals, colors or texcoords.
You can also query the range, and the type of primitive.
It's all there.
Chris
Lockheed Martin, Topscene
-----Original Message-----
From: peter.laube++at++icido.de [mailto:peter.laube++at++icido.de]
Sent: Thursday, June 27, 2002 4:06 AM
To: info-performer++at++sgi.com
Subject: [info-performer] Texture Coords from performer to openGL
Hi pfPeople
I am just a beginner in OpenGL and Performer, but I have to use Nvidia
extensions in Performer.
My Question: is it posible to get thinks like Texture Coordinates, vertices,
colors out of Performer so that i can use them in the draw callback with
openGL
comands or for further use, with Cg (C for graphics, Nvidia shader language)
commands? In fact i'm afraid that i can't use any command witch must run
between
glBegin and glEnd, because Performer encapsulate them.
I would be glad to read a answer to this soon, perhaps with a little code
example
thanks in advance,
Peter
This archive was generated by hypermail 2b29 : Thu Jun 27 2002 - 15:05:48 PDT