Hello to you all. I'm posting this after leading the most relevant mails in
this subject and taking a look at the examples provided in the source. So
you know :)
I have two viewports, the second of them smaller, kind of a bird's eye view
map.
I already have them the way I want, except for the fact that I want the
smaller one to have a shape other than a rectangle (circle, in fact).
>From what I've figured, I need one of the rendered nodes in the second
viewport to have a core with the circle form and a material with a stencil
chuck.
I just don't know what parameters to pass to it, specially regarding
setClearBuffer(), which I've read should be passed 1 prior to drawing and 2
afterwards.
How do these stages take place? Should I pass the stencil chunk at a frame
with setClearBuffer(1) and at later frames with 2? If you would be so kind
to provide the values for the remaining parameters that would be great, but
not imperative.
P.S. The two viewports render mostly the same tree, so only the circular
node needs a setTravMask so it doesn't appear in the biggest viewport, that
part I've already figured out.
Thank you in advance. :)
--
José Pedro Dias, n.48296, LEIC Tagus Park
[EMAIL PROTECTED]
[EMAIL PROTECTED]
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users