Re: Geosets Disappearing

New Message Reply Date view Thread view Subject view Author view

Brian Furtaw (brian++at++sgi.com)
Mon, 16 Dec 1996 13:40:47 -0500


I was the one who asked about the disappearing lines I later commented about
updating the bounding box because I found out that my lines where getting
culled. I finally disabled culling for the node,

    // disable culling for this node
    geode2->setTravMask(PFTRAV_CULL, 0, PFTRAV_SELF|PFTRAV_DESCEND, PF_SET);

but someone else I can't remember who said what about the bounding sphere.
Performer culls based on bounding spheres also. So you may want to try updating
the bounding sphere for your geodes or DCSs.

Brian

On Dec 16, 10:05am, SCOTT OFRIEL wrote:
> Subject: Geosets Disappearing
> Greetings Performer Friends:
>
> I was having a problem with some of my geosets disappearing on a window
> resize. When I was reading some of the email I noticed "lines
> disappearing..." case. In that case they were saying that the lines were
> disappearing because they were getting CULLED out. The solution, I believe,
> was to recalculate the bounding volume.
>
> I used this solution for my situation and it worked, that is for some of my
> geosets. Others geosets still disappear.
>
> To force Performer to recompute the bounding volume for the geoset (as per
> man page for pfGeoSet) I am using the following code in my window resize
> routine:
>
> pfBox *box = new pfBox;
> box = NULL;
> gset->setBound( box, PFBOUND_DYNAMIC );
>
> Again, for some geosets this works for others it does not? Does anyone know
> what's up with this? By the way I am using an Indigo2 Extreme, Perf. 2.0,
> IRIX 5.3.
>
> Thanks much,
> Scott O'
>
>
> =======================================================================
> List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>-- End of excerpt from SCOTT OFRIEL

-- 
o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o

Brian Furtaw (brian++at++sgi.com) VisSim Technical Consultant 12200-G Plum Orchard Drive Office: (301)572-3293 Fax: (301)872-3293 Silver Spring, Maryland 20904 OpenGL/ImageVision/OpenInventor/Performer ======================================================================= List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/ Submissions: info-performer++at++sgi.com Admin. requests: info-performer-request++at++sgi.com


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:54:10 PDT

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