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

Home » Public Forums » archive » Re: NG Transparency Bug
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: NG Transparency Bug [message #73823] Wed, 01 December 2010 15:30
David Grier is currently offline  David Grier
Messages: 35
Registered: July 2010
Member
Thanks Ronn,

Fiddling with the drawing order seems to make the axes visible.
I no longer consider this a bug. Instead, I consider it to be
_two_ bugs.

Here's why:

(1) A transparent object should not make another object invisible
regardless of their relative drawing order. In a 3D scene, visibility
should be determined primarily by distance from the viewing plane.

(2) I said "fiddling with" rather than "changing" because setting

(p.axes)[1].order, /send_to_back

makes both the y and z axes visible, but subsequently setting

(p.axes)[2].order, /send_to_back

makes them both invisible again! There's some weird interaction that,
though possibly explicable, seems more bug-like than desirable to me.

Once again, thanks very much for giving me a solution I can use.

TTFN,

David
Re: NG Transparency Bug [message #73845 is a reply to message #73823] Wed, 01 December 2010 09:26 Go to previous message
ronn is currently offline  ronn
Messages: 123
Registered: April 1999
Senior Member
Hi David,

This is a drawing order issue, but I'm not sure it classifies as a
bug. The trick is to get the order right. In your example if you add
one line to make one of the axes go to the back it should work. At
least it does on my XP machine.

(p.axes)[1].order, /send_to_back

The same command on the (p.axes)[2] also does the trick but not the
[0] element. Probably because that one is already at the back. Its
kind of hard to tell since I couldn't figure out a way to pull out the
drawing order from the plot3d object.

Ronn Kling
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: get image data of projected scenes
Next Topic: Re: Strange TITLE output using NG PLOT.

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

Current Time: Wed Oct 08 13:33:31 PDT 2025

Total time taken to generate the page: 0.00628 seconds