Re: Problems with OpenGL conversion of distortion correction program

New Message Reply Date view Thread view Subject view Author view

Angus Dorbie (dorbie++at++bitch.reading.sgi.com)
Tue, 9 Apr 1996 23:41:24 +0100


This isn't _too_ surprising. You don't say what machine you are trying this on.
I expect that it'd probably only work in OpenGL on an IMPACT (or IR). Angus
Henderson has now ported this demo to use Performer2.0 API & no IrisGL which
works on an RE2 with Performer 2.0 & an IrisGL compile. It does not work with
an OpenGL compile even with Patch 918 installed.

This could be OGL (likely) or Performer 2.0 (haven't tried the latest) but the
pure Performer code is probably where you want to be.

If you want a copy I can email it to you, I'll get around to putting this code
on sgigate sometime. It's value will greatly diminish with the official
distortion correction in Performer 2.1 which hemisphere.c isn't. It's important
to realise that you'd have to restructure the operation of hemisphere to obtain
reasonable performance on an Infinite Reality, and similar tweaks could also
buy some time on other platforms.

Rgds,
Angus.

On Apr 9, 3:33pm, parviz wrote:
> Subject: (Fwd) Problems with OpenGL conversion of distortion correction pr
> One of our Customer has the following problem with converting distortion
> correction program to OpenGl,
> any ideas??
>
>
> "I modified the distortion correction demo program "hemisphere.c" that
> I found on sgigate.sgi.com in the distribution file
> /pub/Performer/RealityCentre/distort.tar.Z. The modification works fine
> under IrisGL. I then attempted to convert the modified program to
> OpenGL without much success; none of the OpenGL commands seem to draw
> anything. Could you ask one of your Performer/OpenGL gurus to have a look
> at the program please? I've attached copies of both the IrisGL and OpenGL
> versions of the program. Running the programs requires the .flt-format
> models and textures found in the distributon file. Thanks
>
> PS - can I copy the frame buffer into a 1024x1280 texture map? I'm not
> sure what the restrictions on texture map size are.

>
>-- End of excerpt from parviz

-- 
Angus Dorbie,
The Reality Centre,
Silicon Graphics Ltd, UK
dorbie++at++reading.sgi.com

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:41 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.