From: Tomlinson, Gordon (GORDON.TOMLINSON++at++ca.com)
Date: 11/20/2001 07:36:38
The loader for Performer does not support environmental textures.
But you can install a loader call back to look for the nodes and apply
them. I use the Special 1 property on an object node or group node
to indicate what should be environmentally mapped.
You can find code to do this on the MPI Vega forum, do a search.
The code is Performer based
http://www.MultiGen-paradigm.com/cgi-bin/forumdisplay.cgi?action=topics <http://www.MultiGen-paradigm.com/cgi-bin/forumdisplay.cgi?action=topics&forum=Vega&number=2&DaysPrune=45&LastLogin> &forum=Vega&number=2&DaysPrune=45&LastLogin=
Regards
Gordon.
_________________________________________________________________
Gordon Tomlinson
Development Manager
Urban Simulation Products.
MultiGen-Paradigm
"a Computer Associates Company"
Suite 200, 16415 Addison Road, Addison, TX 75001 USA
Tel: 972 380 9798 ext 309 Fax: 972 380 9468
Email: gordon.tomlinson++at++ca.com
-----Original Message-----
From: Jeremy Eccles [mailto:Jeremy.Eccles++at++gmd.de]
Sent: Tuesday, November 20, 2001 4:53 AM
To: info-performer++at++sgi.com
Subject: Environmental texturing with MultiGen Creator
Hello-
I am trying to view OpenFlight models created with MultiGen Creator, and I am having trouble with environmental textures. I can apply environmental textures in Creator, but they do not appear correctly in Performer. Does anyone know if the MultiGen Performer loader supports this feature? If it does, what do I need to do to get it to work?
I have tested this with the MultiGen Performer loader version R15.4g and with models made in Creator version 2.3, 2.4, 2.4.1, and 2.5. It appears that the texture is applied to the surfaces, but it does not change as the view changes (as an environmental map should).
Any help that anyone can give me would be highly appreciated. Currently I am converting any reflective geometry to OpenInventor format, applying environmental textures "by hand" in the code, and loading the geometry separate from my OpenFlight model. There has to be a better way.
Many thanks in advance,
-Jeremy
Since I am not a subscriber to the Performer mailing list, please email me directly::
jeremy.eccles++at++imk.fraunhofer.de <mailto:jeremy.eccles++at++imk.fraunhofer.de>
This archive was generated by hypermail 2b29 : Tue Nov 20 2001 - 07:36:31 PST