Pete Willemsen (willemsn++at++cs.uiowa.edu)
Mon, 24 Aug 1998 09:39:34 -0500 (CDT)
We kept our pfSegSet modes the same as before.
Just thought I'd pass that on.
Pete
> This is exactly what I meant, try NOT culling back faces.
>
> tmp_seg_set->mode = PFTRAV_IS_PRIM | PFTRAV_IS_NORM;
>
> Pete Willemsen wrote:
> >
> > Thanks Angus.
> >
> > I looked into how I setup the pfSegSet and I'm telling it to cull
> > backfaces. In fact, here is how it is setup.
> >
> > pfSegSet *tmp_seg_set;
> > tmp_seg_set = new pfSegSet();
> > tmp_seg_set->segs[0].pos.set(0.0f,0.0f,0.0f);
> > tmp_seg_set->segs[0].dir.set(0.0f,0.0f,-1.0f);
> > tmp_seg_set->segs[0].length = 10000.0f;
> > tmp_seg_set->activeMask = 1;
> > tmp_seg_set->mode = PFTRAV_IS_PRIM | PFTRAV_IS_NORM | PFTRAV_IS_CULL_BACK;
> > tmp_seg_set->isectMask = 0xffffffff;
> > tmp_seg_set->bound = NULL;
> > tmp_seg_set->userData = NULL;
> > tmp_seg_set->discFunc = NULL;
> >
> > I have looked through when our database gets loaded and I didn't notice any
> > strange traversal masks being setup that might restrict intersection testing.
> >
> > One intersesting experiment I tried was to copy the native version of
> > perfly from the Indigo2 Impact onto the Onyx2. When running on the Onyx2
> > using the database that's giving us trouble, the copied perfly's drive mode
> > places us at 0.0 always. However, when I run perfly native to the Onyx2,
> > drive mode works fine on this database. (To be complete: when running the
> > Indigo2 Impact's perfly on this database on the Indigo2, drive mode works
> > fine as well)
>
> I don't know what you changed but I reckon your intersection code is
> different, the default perfly motion is handled by the pfixformer.
>
> >
> > Any more ideas?
> >
>
> Cheers,Angus.
>
> --
> "Only the mediocre are always at their best." -- Jean Giraudoux
>
> For advanced 3D graphics Performer + OpenGL based examples and tutors:
> http://www.dorbie.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
>
Pete
----------------------------------------------
Pete Willemsen Department of Comp. Sci.
willemsn++at++cs.uiowa.edu University of Iowa
---
http://www.cs.uiowa.edu/~willemsn
----------------------------------------------
This archive was generated by hypermail 2.0b2 on Mon Aug 24 1998 - 07:39:34 PDT