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

Home » Public Forums » archive » Re: NVidia Quadro4 980 XGL card + IDL
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: NVidia Quadro4 980 XGL card + IDL [message #47317 is a reply to message #47246] Thu, 02 February 2006 22:22 Go to previous messageGo to previous message
raval.chintan is currently offline  raval.chintan
Messages: 54
Registered: May 2005
Member
Karl Schultz wrote:
> On Thu, 02 Feb 2006 00:01:57 -0800, raval.chintan wrote:
>
>> Dear All,
>>
>> I am using NVidia Quadro 4 980 XGL. One can visualize stereo images
>> using Quad Buffer , available on this card. Proper interface
>> (functions) for rendering images using this buffer are given in
>> OpenGL.. Quad Buffer includes Left and Right Buffer ,which will be
>> rendered one by one.For Visulization of images one needs, shutter
>> glasses with infrared emitter to be connected with graphics card.
>>
>>
>> Will it be possible to render an image with use of this buffer on IDL
>> Draw widget? or in other way ,Will it be possible call this
>> interface(functions) of OpenGL through IDL?
>
> This is not supported in IDL 6.2, nor will it be in 6.3. We're getting
> enough requests for it that it may be in a release soon.
>
> Although it is not documented or supported, you can make OpenGL calls from
> C-language DLM's if you do things carefully. To do what you want, you'll
> probably have to subclass IDLgrView with IDL code where you would override
> the Draw method. You would also write a C DLM that calls glDrawBuffer
> with GL_BACK_RIGHT.
>
> By the time IDLgrView::Draw is called, the correct GL context is in
> place and IDL has already called glDrawBuffer with GL_BACK (implies
> GL_LEFT as well). Your new Draw method would call the C DLM code to call
> the superclass Draw method, call the C DLM code to set GL_BACK_RIGHT, and
> then call the superclass Draw method again.


If i am correct with my limited knowledge of IDL, IDLgrView class does
not have the draw
method. IDLgrWindow , IDLgrModel,IDLgrBuffer have draw method. Now the
question comes that which class's draw method i should override.
IDLgrWindow , IDLgrModel or IDLgrBuffer? Where will C dlm render the
Left and right image? Will it be on IDL's window or on C's window?

It would be helpful if you can provide sample code or detailed
explaination of your suggested technique.



>
> Presumably, you would jiggle the viewing transform matrix before each call
> to the superclass Draw to simulate the eye separation. Finally, there's
> probably some call that needs to be made to activate the stereo mode, but
> I don't know enough about that yet to do more than mention it here.
>
> I can't say for sure if this will work, but may be worth a try.
>
>> In IDL help i found that IDL uses two type of rendering 1) Hardware
>> (OpenGL) 2) Software.
>> I also found the difference between hardware and software rendering in
>> IDL.
>
> Sorry, I don't know what you are getting at.

What I meant here is that Quad Buffer rendering is also a type of
hardware rendering and IDL should automatically detect this.


>
> Karl

-Chintan
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Constructive Solid Geometry
Next Topic: Re: Constructive Solid Geometry

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

Current Time: Mon Dec 01 20:56:16 PST 2025

Total time taken to generate the page: 1.76160 seconds