Hi, > I want the same World to be seen by different camera, alternately. In fact, > this is a a turn game with several player, and each player should see the > world by its third person Camera. > > Another last camera should be a fixed top view of the World, where menu is > displayed. > > My question is how react soya when several camera are in the world (or in > several world)? Is soya calling every camera to render there own view > (possibly not disaplyed in a viewport)? Is there a perfromance penalty to do > so ? Or is soya able to elect one at a time, and in this case, how soya > decide > which is the active camera (first found, last called) ? > > Actually, I don't know if I should use only one camera and move it around, or > if I should place and move several ones, and switch display from one to > another depending of gameplay event (prefer this approach but don't know how > to switch and perfromance impact).
You can use more than one camera. If you want to display several view at the same time, you need several camera. If you want to display only one view at a time, you can do as you want : either several camera, or a single camera that you move. There is no performance impact as long as only one camera is performing the rendering. To select the camera used for rendering, you need to use the soya widget system (either soya.widget or the newer soya.gui ; see soya.gui.CameraViewport). For your ODE-related questions, I'm sorry but I cannot help :-( Jiba _______________________________________________ Soya-user mailing list [email protected] https://mail.gna.org/listinfo/soya-user
