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

Home » Public Forums » archive » Re: antialias object graphics
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: antialias object graphics [message #48466] Mon, 24 April 2006 04:48
greg michael is currently offline  greg michael
Messages: 163
Registered: January 2006
Senior Member
Hi Karl - that looks like a possibility - the trick seems to be to
render the scene more than once, shifting each time by a fraction of a
pixel, and then averaging. I don't know how that works out for speed
(they use 8 renderings by default, but the routine appears to offer
more economical variants), but I'll give it a try.

Rick's hardware option would be faster, I'm sure, but as far as I know,
that can't be done through ION script - you're compelled to use the
idlgrbuffer.

many thanks,
Greg
Re: antialias object graphics [message #48473 is a reply to message #48466] Fri, 21 April 2006 12:34 Go to previous message
Karl Schultz is currently offline  Karl Schultz
Messages: 341
Registered: October 1999
Senior Member
On Fri, 21 Apr 2006 10:03:46 -0700, Rick Towler wrote:

>
>
> greg michael wrote:
>> Does anyone know if it's possible to get graphic objects rendered with
>> antialiasing? I'm producing some rather small 3-d surface views with
>> idlgrsurface - they look very nice except for the jagged edges. They're
>> for a web-application which needs to be fast, so I can't consider
>> reducing double-resolution versions.
>
> The only other way would be to use hardware based methods. This
> requires that you render to the screen as IDL doesn't support hardware
> render to buffer and you have hardware that provides anti-aliasing
> support. Most modern display adapters based on ATI and nVidia chipsets
> do this as well as almost all professional display adapters.
>

You might have a look at d_objworld2.pro, which has an anti-alias feature
in the Options menu. The source code ships with IDL. I don't know if it
will work for your situation, but may be worth a look.

Karl
Re: antialias object graphics [message #48479 is a reply to message #48473] Fri, 21 April 2006 10:03 Go to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
greg michael wrote:
> Does anyone know if it's possible to get graphic objects rendered with
> antialiasing? I'm producing some rather small 3-d surface views with
> idlgrsurface - they look very nice except for the jagged edges. They're
> for a web-application which needs to be fast, so I can't consider
> reducing double-resolution versions.

The only other way would be to use hardware based methods. This
requires that you render to the screen as IDL doesn't support hardware
render to buffer and you have hardware that provides anti-aliasing
support. Most modern display adapters based on ATI and nVidia chipsets
do this as well as almost all professional display adapters.

-Rick
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: can anybody tell me how use envi4.1 to get sigma nought?
Next Topic: Re: more SAVE problems

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

Current Time: Wed Oct 08 20:06:05 PDT 2025

Total time taken to generate the page: 0.41334 seconds