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

Home » Public Forums » archive » Re: Arithmetic Errors Windows 64-bit Object Graphics
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: Arithmetic Errors Windows 64-bit Object Graphics [message #69142 is a reply to message #69141] Fri, 11 December 2009 10:36 Go to previous messageGo to previous message
Karl[1] is currently offline  Karl[1]
Messages: 79
Registered: October 2005
Member
On Dec 11, 10:17 am, David Fanning <n...@dfanning.com> wrote:
> David Fanning writes:
>> OK, this turns out to be a problem with the RETAIN=2
>> keyword on the Draw Widget. For some reason, with
>> IDL maintaining the backing store on 64-bit Windows
>> versions, an error is thrown. I'll report it to ITTVIS.
>
> One more update. I can fix this problem in either of
> two ways. I can use software rendering instead of
> hardware rendering, which fixes it for *me* if not
> for the rest of the world. Or, I can do my own backing
> store by using EXPOSE events. This is how I used to do
> all my object graphics programs and the code is already
> in place to do this, so this is how I'll fix this.
>
> I'm told this kind of exception is extremely common
> with hardware rendering of object graphics code. So
> much so, that a great deal of code exists that turns
> off exception handling when calling the Draw method
> on IDLgrWindows. (Perhaps the reason we don't see the
> problem in iTools. :-)
>
> PRO CallDrawMethodWithoutErrors, thisWindow, thisView
>
>    exceptSave = !Except
>    !Except = 0
>    thisWindow-> Draw, thisView
>    dummy = Check_Math()
>    !Except = exceptSave
>
> END
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

The floating point errors are likely coming from your Windows display
driver, probably the OpenGL modules. It would be worth checking with
the card vendor for an update.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: 2 IDLDE questions
Next Topic: Re: Catalyst Object Widget Hierarchy

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

Current Time: Wed Oct 08 19:57:11 PDT 2025

Total time taken to generate the page: 0.00450 seconds