Le dimanche 2 janvier 2011 15:21:00, Jiba a écrit : > 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 >
Hello Jiba ! Thank for your reply ! Ok, for the camera, I tried with new gui system (use one view port and call set_camera several times), seems ok. (New gui seems really great :) ) By the way, you forgot to update online doc for some module (including ode and new gui system). For ode, just one question, do you see spheres falling from time to time (toggle to wired frame help to see that) in ode terrain tutorial ? Because as I rebuilt from source with libode 11.1, I don't know if this is coming from my system only (incompatibility), or if this a problem everybody has ? Best regards Jacques _______________________________________________ Soya-user mailing list [email protected] https://mail.gna.org/listinfo/soya-user
