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

Home » Public Forums » archive » Re: Polygons and polylines
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Polygons and polylines [message #19792] Wed, 26 April 2000 00:00
Struan Gray is currently offline  Struan Gray
Messages: 178
Registered: December 1995
Senior Member
Steven Chetelat, chetelat@csee.usf.edu writes:

> Does the polygon object allow
> for transparency?

Investigate the use of a 'texture map': an image object which
gives colour to the polygon faces and overrides (well, interacts with)
the colours given to the polygon vertices. If the image has a fourth,
'alpha', channel the values in that channel determine the degree of
transparency. I think David F. has an example of how to do this on
his website (www.dfanning.com).

You also need to pay attention to the order in which objects are
drawn, with the frontmost, transparent object drawn last. You control
the drawing order by changing the ordering of the objects in their
enclosing model or view. I don't know if this works with two
intersecting transparent surfaces, but I suspect that only one will be
drawn properly.


Struan
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Object Rubberband Selection Box
Next Topic: Polygons and polylines

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

Current Time: Wed Oct 08 19:12:21 PDT 2025

Total time taken to generate the page: 0.00395 seconds