Peformer rendering

New Message Reply Date view Thread view Subject view Author view

hodeckes++at++VNET.IBM.COM
Mon, 26 Sep 94 10:49:18 EDT


Hi all,

I am having problems with Performer rendering my scene incorrectly.
Geometry which is behind other geometry is being drawn on top of the
closer objects. In other words, a box positioned 2 km away from the
viewpoint is being drawn on top of a box only 1km away.

I create the geometry by adding a node containing geometry as a child
to a pfSCS. I create this SCS with a matrix that I have scaled,
rotated and translated. A section of the code follows. By the
way, I have Performer 1.2, IRIX 5.2 and an Onyx with RE.

geomNode = (pfNode *)LoadFile("file.dwb", NULL);

for (i=0; i<numPts; i++)
{
/* creation, scaling, rotating, and translating of matrix done here */
  segment[i]=pfNewSCS(matrix);
  pfAddChild(segment[i], geomNode);
}

Any help will be appreciated.

----------------------------------------------------------------------
  Steve Hodecker Phone: (607) 751-3624
  Systems Engineer Email: hodeckes++at++lfs.loral.com
  Loral Federal Systems - Owego Fax: (607) 751-2260
----------------------------------------------------------------------


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:33 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.