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

Home » Public Forums » archive » object graphics and IDL >= 8.2
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
object graphics and IDL >= 8.2 [message #89948] Wed, 07 January 2015 12:37 Go to next message
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
Hi guys,

I was trying to re-compile an old object-grahics code with IDL 8.3 and the result is awful. Instances of IDLgrText do not appear and all IDLgrAxis "explode".

When I use IDL 7.0 - 8.1 everything goes well, the problems appear when I use IDL 8.2.
I was able to reproduce a similar problem with the following code that I found in an old thread:

h = double(HANNING(100,100)*2.3e-13)
s = surface(h,COLOR='black', style=1, CLIP=0)

It seems that this graphical issue was tagged as a bug (IDL-68998) but it has not been fixed yet.
The problem appears on my Linux machine but not on my Mac.

Do you have any idea of why object graphics behave differently in IDL 8.2?

Similar problem here:
https://groups.google.com/forum/#!searchin/comp.lang.idl-pvw ave/IDL$208.2$20object$20graphics/comp.lang.idl-pvwave/TE-Li NHMrbI/01nu5bzeXY0J
Re: object graphics and IDL >= 8.2 [message #89949 is a reply to message #89948] Wed, 07 January 2015 12:48 Go to previous messageGo to next message
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
Ok, it seems that the problem comes from my hardware (openGL driver or something similar). Using software rendering I don't have any problems.
Re: object graphics and IDL >= 8.2 [message #89954 is a reply to message #89949] Thu, 08 January 2015 18:11 Go to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
I have seen this problem in the past (I do not remember which IDL version), when the scale of the z axis is several orders of magnitude different from the x/y scale, as is the case in the example you gave. I agree it seems to be a problem in the OpenGL rendering, though I do not know whether it would be a bug in IDL or the graphics driver.

Since software rendering was too slow, I resorted to multiplying the Z values by some number in order to bring them to the same scale as the x/y values.

FYI, I tried the example you gave in my computer (IDL 8.3, Linux, NVIDIA card with proprietary driver), and it worked in hardware rendering.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Procedures with variable/dynamic argument list??
Next Topic: Add a variable to existing NetCDF file

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

Current Time: Wed Oct 08 09:11:56 PDT 2025

Total time taken to generate the page: 0.00464 seconds