Re: CallBack and PfClone
Angus Dorbie (dorbie++at++sgi.com)
Mon, 17 Aug 1998 11:23:41 -0700
vectec.epe wrote:
>
> Hello.
>
> I'm working with a flight tower simulator. All my models are made with
> Multigen in flt format. At the begining of the simulation, I load the
> airport and then all the type of aircrafts with the callback mechanism,
> because I need to switch the undercarriage, and some lights. During the
> exercice I must add or remove some aircrafts. To add an aircraft (a given
> type can be used more than once), I use the function pfClone. My question
> is: how can I do the callback, and is it then possible to switch for each
> clone separately the undercarriage and the lights ?
> Remark: If instead of pfClone, I load the aircraft with pfLoadFile it works
> fine, but this takes too long.
You don't use a callback, you clone in your application loop in the
application process, then you add to the returned node to the scene
graph.
Cheers,Angus.
--
"Only the mediocre are always at their best." -- Jean Giraudoux
For advanced 3D graphics Performer + OpenGL based examples and tutors:
http://www.dorbie.com/
This archive was generated by hypermail 2.0b2
on Mon Aug 17 1998 - 11:23:46 PDT