🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.windows.x.pex
2 messages
2 total messages Started by Tony Albrecht Mon, 05 Oct 1992 12:07
PEX shading
#152
Author: Tony Albrecht
Date: Mon, 05 Oct 1992 12:07
19 lines
1279 bytes
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.

   Can someone help me here?
   Some sample code would much appreciated.
   ANY help would be much appreciated.

Thanks,
								-Tony
Re: PEX shading
#154
Author: Richard Ottolini
Date: Wed, 07 Oct 1992 19:53
16 lines
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.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads