From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Luca Masera
Sent: 01 September 2004 16:08
Subject: [Flightgear-devel] Re: sky writing
I've the latest CVS version (downloaded this morning). There's the file puff.ac and puff.xml, even if the first it's different from the one used by David Culp (I used the last one). I've added the xml lines of code to the files but nothing appears on the screen.
Now, waiting for an answer, I've read the debate about the tracers and I've found that I've to uncomment the line that enables the "submodels subsystem".
Here I've found and error about a call to the createBallistic (line 91 in file submodel.cxx) made by the SubmodelSystem::release (submodel* sm, double dt). The compiler tells me that the function requires 10 argoments, while the call is made with 9. I've observed deeply into the code and I've found that the buoyancy value it's not used. I've added it to the call and changed, where needed, the code of in submodel.cxx and submodel.hxx.
After all this changes... the objects still not appear in the scene :-( Why?
I've a question about the placing of the xml lines of code. In the debate about the tracers it's particularized that the <submodels>...</submodels>
code go out of the <sim> ...</sim>tags. However, in the sky writing post, it goes inside. Where's the right place?
Inside the <sim></sim>
Inside the <sim></sim> tags
And I forgot to ask Eric to
upload the updated submodel.cxx and .hxx files to cvs. Sorry. I've now done
And I forgot to ask Eric to upload the updated submodel.cxx and .hxx files to cvs. Sorry. I've now done that.
Have you tried the Spitfire or F16 models? They both use the
submodel facility, and AFAIK, they both
Have you tried the Spitfire or F16 models? They both use the submodel facility, and AFAIK, they both work.
_______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d