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

Home » Public Forums » archive » NG: bring_to_front doesn't always work
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: NG: bring_to_front doesn't always work [message #91810 is a reply to message #91807] Sun, 30 August 2015 15:13 Go to previous message
dg86 is currently offline  dg86
Messages: 118
Registered: September 2012
Senior Member
On Sunday, August 30, 2015 at 1:43:32 PM UTC-4, wtci...@gmail.com wrote:
> On Wednesday, August 6, 2014 at 12:50:06 PM UTC-7, David Grier wrote:
>> On Wednesday, August 6, 2014 1:05:34 PM UTC-4, Chris Torrence wrote:
>>> Hi David,
>>>
>>>
>>>
>>> I think this might be a bug in the Mesa OpenGL software-rendering library. Can you check your IDL preferences and see if you have "software" rendering enabled? If you do, can you switch it to "hardware" rendering and see if the problem goes away?
>>>
>>>
>>>
>>> -Chris
>>
>> Dear Chris,
>>
>> You may be right about the culprit being Mesa OpenGL.
>> I usually run IDL from emacs (or the command line) rather than from the Workbench, and so have
>> not fiddled with the settings for the graphics backend. I just fired up the IDL 8.3 Workbench and
>> tried to run my example script. It worked as usual with software rendering enabled, but not
>> at all with hardware rendering enabled, instead emitting error messages such as
>>
>> % Graphics device not available: GL_COCOA.
>> % Attempt to destroy an object within its INIT method: <ObjHeapVar11153(GRAPHICSWIN)>.
>> % Execution halted at: $MAIN$
>>
>> So, hardware rendering appears not to work at all(!).
>>
>> I'm running IDL 8.3 under OS X 10.9.4 on a Macbook Pro.
>>
>> All the best,
>>
>> David
>
> Hello David,
>
> I just fixed my problem right after posting here. I followed the instruction here
> http://www.exelisvis.com/Support/HelpArticlesDetail/TabId/21 9/ArtMID/900/ArticleID/5294/5294.aspx
>
> And follow this step
>
> 1.) Configure IDL to use Software Rendering.
> a.) You can change your IDL preference to use Software rendering via the IDL Workbench Preferences dialog. From the "IDL" select "Preferences...". On the left pane of the Preferences dialog, expand IDL and select Graphics, and then on the right choose the "Default rendering method for object graphics" setting for Software (1)). Click Apply and then OK. (This approach can be used even if running IDL in unlicensed demonstration mode.)
>
>
> Then the plotting issue within workbench is solved immediately.
>
> Good luck! Hope that helps!

It sounds like your experience is the same as mine. Even though object plots appear
to work OK under software rendering, it would be nice to have hardware rendering
working, particularly for interactive graphics and demos. More to the point, hardware
rendering should not error out.

Does anyone know if this has been fixed under 8.5?
(I haven't had a chance to upgrade yet.)

TTFN,

David
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Mosaicking a folder of TIFF files that includes 1-D horizontal strips
Next Topic: covariance matrix

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

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

Total time taken to generate the page: 0.00454 seconds