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 #48982 is a reply to message #48859] Tue, 06 June 2006 05:53 Go to previous messageGo to previous message
greg michael is currently offline  greg michael
Messages: 163
Registered: January 2006
Senior Member
Thanks, Mike. Yes, that's what I do. The peaks do stick out, but what
you would expect would be a blue or red shadow on topographic edges.
What I get (when things go badly) are blocks of pure red, where the
underlying (from behind the ridge) blue information is obliterated. A
pity there's no image posting facility here - I could show you.

I agree that your solution should work - in the short term, I shall
probably do that.

many greetings,
Greg


mgalloy@gmail.com wrote:
> 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: Thu Oct 09 17:22:14 PDT 2025

Total time taken to generate the page: 0.80205 seconds