> Hi,
> 
> I will try to be clear while exposing my question.
> How Soya does render a scene?
> I mean, i tried to create a class extending Widget which manages a new
> camera included in an existing world(where a camera is already existing
> too). The code works well,execpting the rendering.
> I know i have to override the render() void, thing that I have done, but how
> to render the new "camera view" (in a box) in the existing scene with its
> own camera...?

Does what you want to do is multiple camera and render each camera into a different 
box on the screen?
To do this you must:
- set the partial attr of camera to 1 (this means soya will clear only the surface of 
the camera widget, not all the screen)
- change the camera left/top/width/height (widget attrs) as you want

(PS: I haven't tested it yet. try it on your own, I will write a tutorial about it 
ASAP)

hope I have answered to your question (don(t hesitate to tell me if not)

-blam


-- 
Pour vous desabonner envoyez un mail a [EMAIL PROTECTED]

Reply via email to