Re: [info-performer] Intergration of Cg and OpenGl code in Performer

Date view Thread view Subject view Author view

From: Goncalo N M de Carvalho (glslang++at++yahoo.com)
Date: 10/07/2004 06:46:13


Hey,

Unless this has changed for Performer 3.2 there is no
native way of integrating Cg and Performer.

The two ways of doing are:

Compile your Cg code to ARB and use Performer shader
interfaces.

Use the Cg runtime and draw callbacks.

I prefer the first one. You have examples of using
callbacks and shaders in the Performer distro.

In Performer 3.2 you will be able to use GLSL. That
may provide a better alternative if you can wait.

Cheers,

Goncalo

> HI
>
> I'm working on a project where I have to insert some
> pieces of Cg and OpenGl code in an existing
> application that's working on Performer and I'm
> pretty unfamiliar with performer ... beginner. Then
> I searched in documentation and in the web and I
> can't find a comprehensible sample code or doc which
> cold explain me what objects do I have to use and in
> which way.
>
> So the question is someone could help finding
> commented sample or comprehensible and complete
> documentation about how do I have to proceed.
>
>
>
> Thanks in advance.
>
> Alexandre Gaillard
>
>
>
-----------------------------------------------------------------------
> List Archives, Info, FAQ:
> http://www.sgi.com/software/performer/
> Open Development Project:
> http://oss.sgi.com/projects/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests:
> info-performer-request++at++sgi.com
>
-----------------------------------------------------------------------
>
>

                
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu Oct 07 2004 - 06:46:16 PDT