comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: POLYSHADE-like object graphics?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: POLYSHADE-like object graphics? [message #33181] Fri, 13 December 2002 08:30 Go to previous message
Sebastian Loebbert is currently offline  Sebastian Loebbert
Messages: 12
Registered: September 2002
Junior Member
Hi David,

thanks for the tip.
Just in case somebody will run across this problem in the future: Together
with some old postings on this ng I found a usable "standard" setting:
a) Set COLOR=[255,255,255] in the IDLgrPolygon(s)
b) Use two lights, one ambient and one directional:
ambLgt = OBJ_NEW('IDLgrLight', TYPE=0, INTENSITY=0.2)
dirLgt = OBJ_NEW('IDLgrLight' $
, DIRECTION=[-0.5,-0.5,-0.5] $
, TYPE=2 $
,LOCATION=[0.5,0.5,2.0]$
,INTENSITY=0.7 $
)
(the polygons coordinates have been transformed into a unit cube
centered at [0,0,0] using coordinate convolution)

c) Put both lights into a non-rotating model.

Best regards,

Sebastian
[Message index]
 
Read Message
Read Message
Previous Topic: Does IDL has histogram matching function?
Next Topic: Re: Large widget identifiers

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 14:57:02 PDT 2025

Total time taken to generate the page: 0.00407 seconds