From: Angus Dorbie (dorbie++at++sgi.com)
Date: 06/07/2000 20:04:09
I think you need to look at how Performer works so you understand the
Scene Graph concept and how it stores data in geosets and set's up
projection using a pfChannel and controles state using pfGeoState. Once
you get these basics understood vs the OpenGL immediate mode you will be
ready to begin the port.
I'm don't know what your internal data structures are like but I expect
the main thrust of the port will be mapping them to geoset attribute
arrays, or converting immediate mode procedural coordinate generation
(I'm speculating that's what your code might be doing) to cache the
results in geoset attributes before drawing them using Performer high
level structures.
Cheers,Angus.
Makis Simeonidis wrote:
>
> How can I import a MathEngine application that uses OpenGL renderer,
> into performer?
> Thank you
>
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
-- For Performer+OpenGL tutorials http://www.dorbie.com/"In the middle of difficulty lies opportunity." --Albert Einstein
This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 20:04:27 PDT