Scott Herod (herod++at++aspen.evt.com)
Wed, 07 Apr 1999 15:33:02 -0600
Thank you,
Scott Herod
scott++at++evt.com
Some details:
I've seen this on O2, MXE, and RE running 6.5 with Performer
2.2.3.
mat->setAlpha( material->alpha() );
mat->setColorMode( PFMTL_BOTH, PFMTL_CMODE_OFF );
pfGeoState *geostate = new pfGeoState;
geostate->setMode( PFSTATE_TRANSPARENCY, PFTR_BLEND_ALPHA );
geostate->setMode( PFSTATE_ENLIGHTING, PF_ON );
geostate->setMode( PFSTATE_CULLFACE, PFCF_BACK );
geostate->setAttr( PFSTATE_FRONTMTL, mat );
geostate->setFuncs( preFunc, postFunc, NULL );
The predraw function preFunc is there to grab the current
pfState:
int preFunc ( pfGeoState* gstate, void* udata )
{
pfState* state = pfGetCurState();
pfPrint( state, PFTRAV_SELF | PFTRAV_DESCEND, PFPRINT_VB_DEBUG, NULL
);
return 0;
}
ENTEXGEN, ENLPOINTSTATE, and ENCOLORTABLE. I've also tried
turning these off myself with no effect.
This archive was generated by hypermail 2.0b2 on Wed Apr 07 1999 - 14:33:09 PDT