Re: [info-performer] oglsl & GL_ARB_vertex_program?

Date view Thread view Subject view Author view

From: Goncalo Nuno Moutinho de Carvalho (c3099023++at++tees.ac.uk)
Date: 07/09/2004 04:26:10


It is possible to use Cg and Performer. Just set the Cg compiler
to generate ARB shaders. Load the assembler into Performer.

Cheers,

Goncalo

-------------------
> Hello Ben,
>
> I have some experience with using vertex and fragment programs with
> Performer. Currently there is no support for a higher level shading
> language (eg. OGLSL, CG) in performer. This means that you will have
to
> use the assembly like shading language to feed the vertex and
fragment
> programs. Also the support for different types of parameters is not
> complete yet (only float4's).
> OpenGL shader language support will come in the future as seen in
the
> quote from pfGProgramParms.h: "// future: (OpenGL shader object)"
> It is possible to do your shader development in a higher level
language
> and use the compiled output with the performer programmable
programs.
> I've had some succes with integrating Cg and Performer under Linux,
but
> this bypasses the use of performer program objects.
>
> regards,
>
> Roland Smeenk
>
> ben chang wrote:
> >
> > i'm interested in writing shaders to use with Performer, but it's
an area i'm
> > new to so i was wondering if anyone could give me some pointers to
get started.
> > basically, i'm still a little unclear about the relationship
between performer,
> > the GL_ARB_vertex_program extension, OpenGL Shading Language, Cg,
etc... i want
> > to make sure i'm using the right one before i put too much time
into it.
> >
> > 1. which shading languages will work with which cards (say,
geforce4 or quattro
> > fx on linux)? or, more importantly, how do i figure that out?
> >
> > 2. can oglsl be used with performer?
> >
> > thanks,
> >
> > --ben
> >
> >
----------------------------------------------------------------------
-
> > 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
> >
----------------------------------------------------------------------
-
>
> --
>
----------------------------------------------------------------------
--------
> The disclaimer that applies to e-mail from
> TNO Physics and Electronics Laboratory
> can be found on: http://www.tno.nl/disclaimer/email.html
>
----------------------------------------------------------------------
--------
>
>
----------------------------------------------------------------------
-
> 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
>
----------------------------------------------------------------------
-
>


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Fri Jul 09 2004 - 04:28:33 PDT