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

Home » Public Forums » archive » Re: object graphics - transparent surfaces
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: object graphics - transparent surfaces [message #48859 is a reply to message #48858] Tue, 30 May 2006 09:16 Go to previous messageGo to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
Presumably, you rotate or translate each surface some small amount to
represent the change between eyes? Doesn't this cause peaks of the
surface stick out? The problem with transparency in object graphics is
the order the atoms are added to their parent matters. So if you have
two atoms that intersect -- i.e. neither is strictly in front or behind
the other, sometimes one is in front, sometimes the other is -- then
you can't choose an order that makes the transparency work.

My suggestion would be to rotate and render each surface separately in
a buffer, read the buffer, and then blend the images (either yourself
or using ALPHA_CHANNEL).

I wrote some code that does this, but I have to re-implement this in
order to give it away.

Mike
--
www.michaelgalloy.com
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL and C#
Next Topic: object graphics - transparent surfaces

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

Current Time: Fri Oct 10 05:43:25 PDT 2025

Total time taken to generate the page: 0.39862 seconds