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

Home » Public Forums » archive » Re: Antialiasing under IDL 5.5
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: Antialiasing under IDL 5.5 [message #32021] Tue, 10 September 2002 08:48
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Filipe (engpcris@livjm.ac.uk) writes:

> It's working fine now!!
>
> in fact as I need the mouse events in the window area I was using the
> Widget_draw fonction (with Graphic level=2) to create the window.
>
> The problem is I was using Retain = 2 witch dissable the hardware
> rendering!!!
>
> Does anyone knows how to have a Backing store and use the hardware
> rendering under windows?

I think the rule of thumb (at least as I learned it)
is that object graphics programs should never use backing
store anyway, since it is completely redundant. :-)

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: Antialiasing under IDL 5.5 [message #32022 is a reply to message #32021] Tue, 10 September 2002 08:32 Go to previous message
engpcris is currently offline  engpcris
Messages: 4
Registered: August 2001
Junior Member
It's working fine now!!

in fact as I need the mouse events in the window area I was using the
Widget_draw fonction (with Graphic level=2) to create the window.

The problem is I was using Retain = 2 witch dissable the hardware
rendering!!!

Does anyone knows how to have a Backing store and use the hardware
rendering under windows?


Thank you very much for your help.

P.s: The last detonator 40.41 seen to work without any problem under
IDL 5.5
Re: Antialiasing under IDL 5.5 [message #32035 is a reply to message #32022] Mon, 09 September 2002 09:49 Go to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
"Filipe" <engpcris@livjm.ac.uk> wrote

> i'm currently using IDL 5.5 under win2000 with a GEforce 4 Ti4200.
>
> I'm using 3D objects graphics, (for Stereo vision issues) and I was
> wondering if I can use the hardware antialiasing of my video card.

Yes, you can. This may seem obvious but you need to render to a window (not
a buffer) to use the card's AA. Double check that you have hardware
rendering enabled in IDL. You also have to restart IDL after making changes
to the AA settings.

An east test would be to throw a wireframe orb into xobview and zoom in:

orb = obj_new('orb', color=[0,0,255], radius=1.0, style=1)
xobjview, orb, /block
obj_destroy, orb


> I tried different version of the Detonator drivers and none of them seen
> to work.

This one is more difficult. In the past I have run into detonator versions
where AA didn't work in IDL (it *would* work in other OpenGL apps). This
was also around the time that I was experimenting with shutter glasses (no
idea if there is a connection). I haven't had a problem with the newer
drivers but I have also ditched the shutter glasses. Again, one wouldn't
think there would be a connection, but...

I would try uninstalling your current drivers, reinstalling at least the
30.82 drivers and do not install the shutter glasses driver. Then turn AA
on and give things a try.


-Rick
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Variable size of widget_lists
Next Topic: Re: readcol procedure

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

Current Time: Sun Oct 12 19:46:14 PDT 2025

Total time taken to generate the page: 0.24188 seconds