Thread View: comp.sys.sgi.graphics
3 messages
3 total messages
Started by Andrew Beers
Tue, 05 Jan 1993 18:55
Depthcued polygons
Author: Andrew Beers
Date: Tue, 05 Jan 1993 18:55
Date: Tue, 05 Jan 1993 18:55
14 lines
1182 bytes
1182 bytes
I would like to display a polygon-surface model that could be larger than the viewing volume. However, if I turn depthcue mode on and draw the model, any polygons crossing the front or back clipping plane are colored with the brightest colors as specified by lRGBrange(). Does anyone have suggestions how I can eliminate this behavior? I would be happy if the polygons crossing the front clipping plane were colored the brightest color, and ones crossing the back clipping plane were colored the darkest. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Andrew C. Beers abeers%zeus%mfb@ubvms.cc.buffalo.edu Medical Foundation of Buffalo beers@cs.buffalo.edu
Re: Depthcued polygons
Author: Momi Akeley
Date: Tue, 05 Jan 1993 22:40
Date: Tue, 05 Jan 1993 22:40
22 lines
1568 bytes
1568 bytes
In article <C0E9w5.n2x@acsu.buffalo.edu>, beers@acsu.buffalo.edu (Andrew Beers) writes: |> |> I would like to display a polygon-surface model that could be larger than the |> viewing volume. However, if I turn depthcue mode on and draw the model, any |> polygons crossing the front or back clipping plane are colored with the |> brightest colors as specified by lRGBrange(). |> |> Does anyone have suggestions how I can eliminate this behavior? I would be |> happy if the polygons crossing the front clipping plane were colored the |> brightest color, and ones crossing the back clipping plane were colored the |> darkest. I tried this on my Indigo Elan (running IRIX 4.0.2) with a simple scene made up of two depthcued polygons that rotate around the scene with parts of each polygon being cut out by the front, back, left, and right clipping planes as they go, and I don't see any problems with the depthcueing of the remaining portions of the polygons. What machine are you seeing this problem on? -- Momi Akeley (momi@corp.sgi.com) Strategic Services Group Silicon Graphics (415)390-5557
Re: Depthcued polygons
Author: Momi Akeley
Date: Thu, 07 Jan 1993 21:49
Date: Thu, 07 Jan 1993 21:49
29 lines
1963 bytes
1963 bytes
Just to follow up on this... the problem Andrew describes below was not being caused by the clipping of polygons affecting the depthcued color. Clipping of depthcued polygons works fine. The problem was with lighting depthcued polygons. Lighting should have no effect on depthcued polygons, but after lighting was turned on and back off again, the back sides of the depthcued polygons were being drawn incorrectly (not depthcued or lit, just the color of the polygon that was specified using cpack().) In article <C0E9w5.n2x@acsu.buffalo.edu>, beers@acsu.buffalo.edu (Andrew Beers) writes: |> |> I would like to display a polygon-surface model that could be larger than the |> viewing volume. However, if I turn depthcue mode on and draw the model, any |> polygons crossing the front or back clipping plane are colored with the |> brightest colors as specified by lRGBrange(). |> |> Does anyone have suggestions how I can eliminate this behavior? I would be |> happy if the polygons crossing the front clipping plane were colored the |> brightest color, and ones crossing the back clipping plane were colored the |> darkest. |> |> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |> Andrew C. Beers abeers%zeus%mfb@ubvms.cc.buffalo.edu |> Medical Foundation of Buffalo beers@cs.buffalo.edu -- Momi Akeley (momi@corp.sgi.com) Strategic Services Group Silicon Graphics (415)390-5557
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