Creating a camera that views a Papervision3D scene

When setting up for the first time and then experimenting with the Papervison3D scene, I often lose myself because I somehow make the camera not look at the scene geometry. If I don't understand what the problem is, then I start trying to figure out why my scene isn't showing - d'oh!

Is there a best practice for setting up a camera that looks at the entire scene so you can see where everyone is? I'm thinking of something like a top-down isometric view of the entire scene - like you saw in a 3D package.

+1


source to share


1 answer


This is one of the many tricky things to do in Papervision. I usually start by setting the camera to org.papervision3d.cameras.DebugCamera3D

. It's basically the same as Camera3D

but shows all rotation, zoom, focus - whatever is good - in the debug window on top of your scene. The keyboard is also activated by a shortcut combination (look in the .as file for these) where you can manually navigate and see the effect on your scene (just make sure you select "Control"> "Disable Keyboard Shortcuts" when debugging your movie I found its extremely useful for those "Oh, my stage is there!"



+1


source







All Articles