Re: [osg-users] Advice for placing large number of objects on grocery shelves ?
Don't forget to make good use of level-of-detail. Your distant objects can be extremely simple in a case like this. Also, if you have transparency in any of your objects, make sure to remove it from the low-LOD versions so they don't get put in the transparent bin and sorted. -- Terry Welsh mogumbo 'at' gmail.com www.reallyslick.com > > Hi, > > We'd like to create several grocery shelves with very large number of > objects. I am looking for some advices on how to read and to place these > objects with OSG. I found osgEdit but is it still active ? > > After reading tutorials, I only found how to read few objets and place each > object in a node, but how about this kind of application ? What would be the > best way to do that ? > > I found some application developped with Delta3D but the shelves are almost > empty and not very attractive in this way. > > One solution would be to place everything in a modeler and export as a whole > but we need to interact (i.e. pick) with some objects on the shelves. > > Thank you! > > Cheers, > Maia > ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] OSG dotNet wrapper for osg 3.1.1 version
Hi Vishwa, I think OSGDotNet is not maintained anymore. But it is very straightforward to include a form for OSG rendering within a C# application. You'll need to create C++/CLI project for your 3D visualisation, an example of this can be found in the attachments at the bottom of this page http://www.openscenegraph.org/projects/osg/wiki/Community/LanguageWrappers (OSGCppCLIDemo.rar). Add a reference to this C++/CLI project in your C# GUI project, next you can create the C++/CLI windows form in C# code. Kind regards, Ruben From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of shekhar vishwa Sent: zaterdag 5 mei 2012 10:58 To: osg-users@lists.openscenegraph.org Subject: [osg-users] OSG dotNet wrapper for osg 3.1.1 version Hi, I am developing the 3D visualization application in C#.net. For 3D visualization part, I want to use the OSG as middleware in windows form. I require OsgDotNet latest version. Can anyone help share the download link for version 3.0.1. Thanks Vishwa This e-mail and its contents are subject to the DISCLAIMER at http://www.tno.nl/emaildisclaimer ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Advice for placing large number of objects on grocery shelves ?
Hi, Thank you very much for the advice, we will try this. Cheers, Maia -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=47570#47570 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Building JNI wrapper for OSGdem
thanks! On May 4, 2012 4:02 PM, "Rafa Gaitan" wrote: > Hi Sean, > > We have made lot of JNI stuff in osgVirtualPlanets. Is a the GIS > library for gvSIG3D that we developed. > > svn co https://devel.gvsig.org/svn/osgvp/trunk > > The wrappers are inside wrappers directory. Is not exactly what are > you looking for, but maybe you find inspiration in the code. > > Cheers, > Rafa. > > > 2012/5/5 Sean K : > > I am looking to build a Java wrapper with JNI around the code which > > basically exists inside of osgdem.cpp. > > > > The bulk of that code resides in vpb.dll and osgDB.dll. > > > > Anybody tried this? I am guessing others have already done this. > > > > I also want to send back the console output back to the java caller > > via a java callback > > > > basically, > > > > if I wrote a JNI class named OsgDem.java > > > > I would write code my OsgDemTest.java like this: > > > > class MyOsgHandler implements OsgHander { > > > > @Override > >void OnStatus (String output) { > > System.out.println(output); > >} > > > >@Override > >void OnEnd (boolean success, String resultMsg) { > > if (success) { > > System.out.println("good"); > > } else { > > System.out.println("bad"); > > } > >} > > } > > > >@Test > >public void testOsgdem() { > > > >Properties global = new Properties(); > > > >global.load("osgdem.properties"); > >OsgDem generator = new OsgDem(global); > >generator.start(handler, inputTerrainPath, > > inputTexturePath, outputFilePath); > > > >} > > > > > > Anybody have any JNI code that I can start with to build my OsdDem? > > ___ > > osg-users mailing list > > osg-users@lists.openscenegraph.org > > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > > -- > Rafael Gaitán Linares > CTO at Mirage Technologies S.L - http://www.mirage-tech.com > gvSIG3D Developer - http://gvsig3d.blogspot.com > ___ > 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] Advice for placing large number of objects on grocery shelves ?
Hello Maia, One solution would be to place everything in a modeler and export as a whole but we need to interact (i.e. pick) with some objects on the shelves. This is the best option I think. The simplest solution is to create the shelves and objects in a modeling program, name the objects appropriately, and then in your OSG program write a simple NodeVisitor that will give you pointers to each object you want by traversing the loaded scene and checking the object names. Then you can selectlvely make objects interactive, enabling you to move the objects your user will be picking for example. Hope this helps, J-S -- __ Jean-Sebastien Guay jean_...@videotron.ca http://whitestar02.dyndns-web.com/ ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Advice for placing large number of objects on grocery shelves ?
Hi, We'd like to create several grocery shelves with very large number of objects. I am looking for some advices on how to read and to place these objects with OSG. I found osgEdit but is it still active ? After reading tutorials, I only found how to read few objets and place each object in a node, but how about this kind of application ? What would be the best way to do that ? I found some application developped with Delta3D but the shelves are almost empty and not very attractive in this way. One solution would be to place everything in a modeler and export as a whole but we need to interact (i.e. pick) with some objects on the shelves. Thank you! Cheers, Maia -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=47565#47565 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] OSG dotNet wrapper for osg 3.1.1 version
Hi, I am developing the 3D visualization application in C#.net. For 3D visualization part, I want to use the OSG as middleware in windows form. I require OsgDotNet latest version. Can anyone help share the download link for version 3.0.1. Thanks Vishwa ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] OSG optimization
Hi dear forum. Wrote the program for visualization and optimization (by means of the standard OSG function). Help to improve it somehow please. I don't know that else it is possible to add. And soon already thesis defense. I will be very grateful. Thank you! Cheers, Alexey P.S. sorry for my english... -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=47563#47563 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [silly and closed....]Control the content of saved .osg file?
Made a silly mistake I should save the Geode instead of rootNode read into. and, I can't find a way to delete this post XD -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=47562#47562 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org