Re: [osg-users] java osgSwig = binding / wrapping not available easyly ?

2009-05-04 Thread Gerwin de Haan
Hi Nicolas,

keep us updated on your osg4j project, sounds nice. Osgswig can use
some of doxygen's code parsing XML metadata by converting it into
code comments. In terms of parsing headers automatically, I think
GCC-XML does a good job (see the cableSWIG project).

Gerwin

On Fri, May 1, 2009 at 7:35 PM, Soaring nicolas.george...@gmail.com wrote:
 Hi Gerwin,

 thank you for the time you've take to answer !

 i'm gonna go the osgGenerator project...the see in more details

 the project i want to develop will be free (a cad tool for design rc gliders 
 and maybe a simulator) and will be developed on my free time so i guess 
 it will take me a long time !

 as i said, my first option was to use the OGRE 3D engine but this goal is 
 left right now.

 neverless  they have  a great tool to generate java binding (but only 
 targetting java) : ogre4j.

 this project is itself based on the Xbig project (created for the need) wich 
 can extract metadata by parsing c++ code using oxygen...

 so, it was a big deal...waiting further month or explore this way

 finally i decided to start a first experiment porting ogre4j to ... osg4j 
 (name i will take for the project i guess). the project will be open source, 
 on sourceforge and will reference
 the ogre4j to congratulate by this way the great job made by the xbig project 
 team.

 at this time, i can generate automatically java binding from osg sourcecode 
 but i've got some bug with xbig parsing (some parameters in methods are not 
 translate in parsing) but i'm near the end work !!!

 when auto binding will be ok, il will make basic samples using swt  swing 
 (with the osg's cow sample lol) and officially create the osg4j project to 
 offer my work for the osg community

 actually my work is not yet mature to create a sourceforge project.

 i guess my job will be available soon, so let me now if some people are 
 interested by this approach and want to join !

 Nicolas.

 --
 Read this topic online here:
 http://forum.openscenegraph.org/viewtopic.php?p=11204#11204





 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] java osgSwig = binding / wrapping not available easyly ?

2009-04-30 Thread Gerwin de Haan
Hi Soaring,

you're right about osgSwig being targeted at Python mainly. We as
osgswig maintainers have already had some requests on how to make
things work in Java but no one has stepped up yet to do the
integration yet. I know of two new attempts to do the Java bindings,
one of which likes to remain under the radar, and the other was
mentioned by Rafa Gaitan on the list:

We have a collegue (Leo Muñoz) working on a solution using
osgIntrospection. The project
is called osgGenerator and the idea is create a (nodekit) to generate
wrappers for other
languages using osgIntrospection. It's his final degree project so I
hope he finish it in a
few months. He is working of course in the nodekit and in a java generator.
The project it's in his infancy but could be a usefull nodekit. the svn url is:
svn co http://corsario.codemaniacs.com/osggenerator/trunk

I've been in touch with Rafa on this, and maybe this might be
integrated in osgswig one day. In the not too distant future I plan to
do a code-sprint to make osgswig more robust and compatible with the
newer osg versions.

keep us updated on your findings,
Gerwin


On Sat, Apr 25, 2009 at 11:55 PM, Soaring nicolas.george...@gmail.com wrote:
 hi everyone,

 i recently move my scenegraph beginner's work from ogre engine to 
 openscenegraph wich i feel is more powerful.

 i read the quick start guide (about 100 page, very quick lol ) to learn basic 
 concepts of osg

 i would like to use java langugae and swing (for MIH), so osgintrospection is 
 a first point of start as osgSwig... but :

 osgSwig seems to be maintain only for python, wich is a good language i 
 guess, but not usefull for me. so i downloaded osgSwig source on my ubuntu 
 and try to compile for my personnal java use but documentation and samples 
 are not up to date (and not existing for java as i see).

 furthermore, i read on forum's post that dynamic language' are great 
 supported but bytecode language (like java  c#) are not supported very 
 well (it seems some hacks are needed for memory management cause osg use 
 internal pointer memory management as a local garbage collector (to sum up) 
 wich can be a problem with jni).

 another project, javaOsg, seems to be down, and as i understand, manual 
 binding must be made so project can't follow osg update as far as needed by 
 the communauty... so forget it !

 my goal is not to develop my software in c++ (too much time to spend with 
 memory and string management for me, except with boost etc.. but it's not my 
 cup of thea as we say in french !), not learn another langugage (like 
 python), and use java for the great support on multiplatform and Rich Client 
 Platform available with netbeans or eclipse.

 so i read lot of post, lot of documentation before posting my request, in 
 fact, to sum up,
 is there an automatic way to bind java with osg automatically in a easier way 
 to follow osg update in a minimal time lost ?

 if someone as successfully compile a java version of osgSwig for linux 64 (ie 
 ubuntu) it will be very nice to update that work on the osgSwig project for 
 the communauty..and me too ;-) 

 i hope that someone could help me in a technical way (and not just redirect 
 on osgSwig... from i come !)

 thanks by advance !

 --
 Read this topic online here:
 http://forum.openscenegraph.org/viewtopic.php?p=10866#10866





 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] java osgSwig = binding / wrapping not available easyly ?

2009-04-25 Thread Soaring
hi everyone,

i recently move my scenegraph beginner's work from ogre engine to 
openscenegraph wich i feel is more powerful.

i read the quick start guide (about 100 page, very quick lol ) to learn basic 
concepts of osg

i would like to use java langugae and swing (for MIH), so osgintrospection is a 
first point of start as osgSwig... but :

osgSwig seems to be maintain only for python, wich is a good language i guess, 
but not usefull for me. so i downloaded osgSwig source on my ubuntu and try to 
compile for my personnal java use but documentation and samples are not up to 
date (and not existing for java as i see).

furthermore, i read on forum's post that dynamic language' are great supported 
but bytecode language (like java  c#) are not supported very well (it seems 
some hacks are needed for memory management cause osg use internal pointer 
memory management as a local garbage collector (to sum up) wich can be a 
problem with jni).

another project, javaOsg, seems to be down, and as i understand, manual binding 
must be made so project can't follow osg update as far as needed by the 
communauty... so forget it !

my goal is not to develop my software in c++ (too much time to spend with 
memory and string management for me, except with boost etc.. but it's not my 
cup of thea as we say in french !), not learn another langugage (like python), 
and use java for the great support on multiplatform and Rich Client Platform 
available with netbeans or eclipse.

so i read lot of post, lot of documentation before posting my request, in fact, 
to sum up,
is there an automatic way to bind java with osg automatically in a easier way 
to follow osg update in a minimal time lost ?

if someone as successfully compile a java version of osgSwig for linux 64 (ie 
ubuntu) it will be very nice to update that work on the osgSwig project for the 
communauty..and me too ;-) 

i hope that someone could help me in a technical way (and not just redirect on 
osgSwig... from i come !)

thanks by advance !

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=10866#10866





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org