Pierre P. Tremblay (ppt++at++cae.ca)
Mon, 01 Apr 1996 12:06:12 -0500
I am trying to find a quick way of creating a Performer 2.0 database
to demonstrate aircraft landing lights with projected textures, as
described in chapter 8 of the "IRIS Performer Programmer's Guide".
I have tried to use an Inventor ASCII database to do this, using the
Inventor SpotLight construct. Unfortunately, with the environment
variable PFNFYLEVEL=5, I get the following message from the Inventor
loader:
PF Debug/Resource:
PF Debug/Resource: pfLoad_iv() SoLight conversion not enabled. Call
PF Debug/Resource: pfLoad_ivMode(PFIV_CONVERT_LIGHTS, 1) to enable
PF Debug/Resource: SoLight conversion.
PF Debug/Resource: !!!WARNING: Converted lights will have GLOBAL sco
pe!!!
As could be expected, the result is that the spotlight is not loaded
and does not appear in the database tree structure that can be
displayed under perfly.
A grep of the Inventor loader source files for pfLoad_ivMode was
unsuccessful --- no definition of the function can be found.
I therefore have a few questions:
1) Is the ASCII Inventor format an appropriate way of testing out
landing lights? In particular, will it use projected textures? If
so, what does the texture it is going to project look like? Some
kind of circularly-symmetric lobe?
2) If an ASCII-format Inventor file is an appropriate route, where can
I find the source to the pfLoad_ivMode() function?
3) What is an easy way to tie a landing light to the own-ship?
I am prepared to augment an existing loader / roll my own if required.
Thanks for any help,
Pierre
-- Pierre P. Tremblay ppt++at++cae.ca
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:40 PDT