Re: [info-performer] oglsl & GL_ARB_vertex_program?

Date view Thread view Subject view Author view

From: RJM Smeenk (r.j.m.smeenk++at++fel.tno.nl)
Date: 07/08/2004 23:42:13


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
------------------------------------------------------------------------------


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu Jul 08 2004 - 23:44:06 PDT