🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x.pex
Article #141

SunPhigs and Clipping

#141
From: Kall
Date: Tue, 15 Sep 1992 18:14
28 lines
1437 bytes
I create a ptri_strip3_data structure of a rounded
surface.  I supply vertex colors (strip.colr.direct.rgb.red/green/blue)
and am using lighting (ambient, diffuse, directional and specular).  
All vertices are specified with the same rgb color and are shaded
appropriately, except when I model clip. When I clip
using pset_model_clip_vol3, the surface at the
clipped plane is displayed with random colors.

How do I get rid of the random colors (i.e. at best an
interpolated color based on the adjacent vertices)??

Is SunPhigs incorrectly clipping? What is Phigs
supposed to do at clipped boundaries for
shading?
 
BTW, I am using SunPhigs 2.0, Sunos 4.1.2 on a SS2
with a GX.


---



\------------------------------------------------------------\
 \   Bruce Kall                \  Internet:   Kall@Mayo.edu   \
  \   Mayo Clinic (Foundation)  \  Phone: (507)-255-4768       \
   \   Rochester, MN 55905       \                              \
    \------------------------------------------------------------\
Technical Details
Message-ID: <1992Sep15.181405.7095@bmw.mayo.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!darwin.sura.net!spool.mu.edu!umn.edu!bru!Kall@Mayo.EDU

Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.x.pex
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!darwin.sura.net!spool.mu.edu!umn.edu!bru!Kall@Mayo.EDU
From: Kall@Mayo.EDU
Subject: SunPhigs and Clipping
Message-ID: <1992Sep15.181405.7095@bmw.mayo.edu>
Keywords: Clipping
Sender: newsman@bmw.mayo.edu (/home/bmw/usenet)
Reply-To: Kall@Mayo.EDU
Organization: Mayo Foundation
Date: Tue, 15 Sep 92 18:14:05 GMT
Lines: 29