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

Home » Public Forums » archive » Re: pixmap drawables in 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: pixmap drawables in Object Graphics? [message #28521] Wed, 19 December 2001 14:43 Go to previous message
Martin Downing is currently offline  Martin Downing
Messages: 136
Registered: September 1998
Senior Member
"Karl Schultz" <karl_schultz@yahoo.com> wrote in message
news:e415b359.0112180805.6069b9ce@posting.google.com...
> "Martin Downing" <martin.downing@ntlworld.com> wrote in message
news:<82wT7.22741$4e3.3004657@news6-win.server.ntlworld.com>...
>> Hi all,
>>
> It sounds like you want to do off-screen rendering and then perform
> image analysis on the result. Use IDLgrBuffer as the destination
> graphics object (instead of an IDLgrWindow). Fish the pixels back out
> with the IDLgrBuffer::Read method, which puts the pixels in an
> IDLgrImage object. You can then get the pixels out of the IDLgrImage
> object for analysis. All this can happen without drawing anything to
> the screen.
>
> Something like:
>
> oBuffer = obj_new('IDLgrBuffer')
> oBuffer->Draw, oView
> oImage = oBuffer->Read()
> oImage->GetProperty, DATA=imageData
>
> What happens under the covers is that IDL renders your scene into a
> completely device-independent off-screen frame buffer, using a
> software renderer.
>
> Karl

Thanks, however although it sounds logical I tried comparisons of readinng
back from windows and buffer drawables today, and the window method was
faster!

Martin
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: AVI,MPEG readind and writing
Next Topic: Re: Object Graphics: multiple Views of same model

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

Current Time: Wed Oct 08 11:30:18 PDT 2025

Total time taken to generate the page: 0.00372 seconds