Article View: comp.windows.x.pex
Article #154Re: PEX shading
From: Richard Ottolini
Date: Wed, 07 Oct 1992 19:53
Date: Wed, 07 Oct 1992 19:53
16 lines
1497 bytes
1497 bytes
In article <1992Oct05.120753.68030@frodo.cc.flinders.edu.au> albrecht@cs.flinders.edu.au (Tony Albrecht) writes: >I'm trying to implement a PEX extension to the InterViews 3.1 toolkit as >an honours project but am having trouble doing any sort of shading. I have >access to two different servers, one which only has the PEX Sample >Implementation, the other which has a more substantial implementation. > > Everything works fine until I try to shade. >I've set up a lightLut with all the relevant data (dirn,type,colour), set the >surfaceinterp method to dot product, I think I've set the lightsourcestate >correctly and set the reflection model to diffuse. > The best result I can get is black objects. I did at one stage get a black >object with some sort of filling bug which produced an extraneous polygon >which DID change colour when moved, so something must have been done right. The MIT PEX-SI does not implement lighting models. You may have that vrsion or a close descendant.
Technical Details
Message-ID:
<1992Oct7.195311.24842@unocal.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!news.centerline.com!noc.near.net!hri.com!spool.mu.edu!think.com!ames!elroy.jpl.nasa.gov!usc!news.service.uci.edu!unogate!stgpraoReferences:
<1992Oct05.120753.68030@frodo.cc.flinders.edu.au>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!news.centerline.com!noc.near.net!hri.com!spool.mu.edu!think.com!ames!elroy.jpl.nasa.gov!usc!news.service.uci.edu!unogate!stgprao From: stgprao@st.unocal.COM (Richard Ottolini) Newsgroups: comp.windows.x.pex Subject: Re: PEX shading Message-ID: <1992Oct7.195311.24842@unocal.com> Date: 7 Oct 92 19:53:11 GMT References: <1992Oct05.120753.68030@frodo.cc.flinders.edu.au> Sender: news@unocal.com (Unocal USENET News) Organization: Unocal Corporation Lines: 16