Wade Olsen (wade++at++surf.shoreline-studios.com)
Tue, 20 Jan 1998 16:51:34 -0800
pfDrawBin(-1);
pfDrawBin(PFSORT_OPAQUE_BIN);
if (!depth_test)
glDisable(GL_DEPTH_TEST);
pfDrawBin(PFSORT_TRANSP_BIN);
if (!depth_test)
glEnable(GL_DEPTH_TEST);
In than channel draw callback. It works fine in 2.2 but when compiled
with 2.1 I get a SEGV coredump when trying to draw the OPAQUE bin. After
a bit of surfing on SGI's web page I found mention of a Performer 2.0.*
bug drawing empty bins describing this situation but it was hinted that
this had been fixed in 2.1. The workaround for the mentioned 2.0.* bug
was to add an empty geoset to the bin. I tried this with:
pfGeoSet * gset = new pfGeoSet;
pfGeoState * gstate = new pfGeoState;
gset->setGState(gstate);
gset->setDrawBin(PFSORT_OPAQUE_BIN);
pfGeode * geode = new pfGeode;
geode->addGSet(gset);
group->addChild(geode);
Where "group" is already a child of the channel's scene. Unfortunately,
this didn't help. Anyone run into this?
Wade
--
-----------------------------
Wade Olsen, Shoreline Studios
e-mail: wade++at++shoreline-studios.com
phone: 650-969-7896
fax: 650-969-7864
www: http://www.shoreline-studios.com
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:56:36 PDT