Hi All,

Marcus Lindblom wrote:
> Sure! What you need to do is basically:
> 
> 1. format your code to look like other OpenSG-code. (comments etc would 
> be nice)
> 2. write a small test/tutorial showing how it works.
> 3. compile the lib as a part of OSGSystem.lib (i.e. put it in some dir 
> and do scons)
> 4. submit everything as a patch ticket on Trac
> 5. wait/pray/poke for someone in the core dev team to apply your patch.

I can see two ways to get this into the core:

a) As a tutorial example. Copy 11picking.cpp and change it to use the ID buffer 
method. That one will just fly into the CVS. ;)
b) As an option for the SSM. That's a little more work, but that's the only 
place I can think of that would make sense. Because the method uses extra 
Viewports internally, I'd rather not have it do that behind the back of the 
app, 
so it should be inside a wrapper that does these things anyway (i.e. SSM).


>> How it is possible since I draw over the framebuffer before swapping ?
> doesn't window->render() do a swap? How does your render_it() function look?

Depends on the Window. A PassiveWindow will not, all others will.

Yours

        Dirk

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to