Re: Performer 2.0 frustum problem

New Message Reply Date view Thread view Subject view Author view

Salvador Cabaruvias (sal++at++mbsgi1.mdc.com)
Tue, 13 Aug 1996 10:54:17 -0700


On Aug 12, 3:29pm, Mark Negovan wrote:
> Subject: Re: Performer 2.0 frustum problem
> Why is the setLeftChannel call commented out in the setChannelsd3up
> routine?:
>
> >void
> >setChannelsd3up(void) {
> >
> > if (frust == NULL)
> > frust = pfNewFrust(NULL);
> >
> > /* assume first channel in list is front channel */
> > FrontChan = global->channels->pfchan;
> >
> > /* assume second channel in list is next channel */
> > LeftChan = global->channels->next->pfchan;
> > pfAttachChan(FrontChan, LeftChan);
> >
> > setFrontChannel(topsided3_angle, bottomsided3_angle);
> >/* setLeftChannel(topsided3_angle, bottomsided3_angle); */ <HERE>???
Because I was trying out to see if there was any difference between making
the call and not. I didn't see any changes to the left side view. I would
expect something. Since this is how it worked in Peformer 1.2
> >#ifdef _MDCESky
> > if(global->esky == NULL) global->esky = pfNewESky();
> > pfESkyMode(global->esky, PFES_BUFFER_CLEAR, PFES_SKY_GRND);
> > pfESkyAttr(global->esky, PFES_GRND_HT, -3.0f);
> > pfChanESky(FrontChan, global->esky);
> > pfChanESky(LeftChan, global->esky);
> >#endif
> >}
[sniped]
>-- End of excerpt from Mark Negovan

-- 
--------------------------------------------------------------------------------
Salvador Cabaruvias                       |     sal++at++sgidev.mdc.com             |
--------------------------------------------------------------------------------
CSSL                                      |     "Well I be done seen about every  
McDonnell Douglas                         |      thing when I see an elephant 
(310) 593-6719                            |      fly"  --Dumbo--
=======================================================================
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:53:21 PDT

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