[Papervision3D] Child to Parent or Null Object?

Randy Blain randy_blain at yahoo.co.uk
Sun Feb 25 15:22:26 EST 2007


Is there a way to parent one object to another. Say
for example i make the Camera child the Spacecraft, so
no matter which way it travels the camera is always
-6500 local z and 100 local y to the Spacecraft? A
Null iobject would be just a parent coordinater
position and rotation in 3D space. You could say put a
null at the solar system center and parent a sphere
any distance away from it and rotate the nul and the
sphere follow an orbit around the nul center. You
could also place entire sets of objects under a
NullObject and just write code to translate, transform
or rotate the NullObject, as well as make its entire
child hierarchy visible or not
visible..etc..etc..etc.. Would help us class clowns
out here who never paid attention in trig class and
havr a rough time keeping what a Matrix does straight
in their mind..like me fer instance:)

I also found that on my PaperCraft demo that downing
the starfield texture to 256x512 and 128x256 did not
pick up one FPS average so apparently the texture size
(1024x2048) is not the bottleneck but probably my
slack navigation system which employs about 20 lines
of code. There has got to be a fast and dirty hack for
navigating I can get my mind around. Any examples
anybody??

Best
Randy


		
___________________________________________________________ 
Inbox full of unwanted email? Get leading protection and 1GB storage with All New Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.html



More information about the Papervision3D mailing list