[osg-users] [how to]control the content of saved .osg file?

2012-05-04 Thread Cao Wenjie
Hi, I am working on a multi-texture issue, and confused about how to save the result: The Process is simple, I read a model from .osg or .ive file, then set a new texture unit 1 to it, so it bleng with the model's original texture. While test on the standard "cow.osg", saved new.osg contain a

Re: [osg-users] Building JNI wrapper for OSGdem

2012-05-04 Thread Rafa Gaitan
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

[osg-users] Building JNI wrapper for OSGdem

2012-05-04 Thread 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 calle

[osg-users] Away on a trip for week

2012-05-04 Thread Robert Osfield
Hi All, I'm heading away for a one week business trip in Montreal, Canada, I'll be back at base and catching up with community on Monday 14th May. Have fun! Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegrap

Re: [osg-users] osgvolume brightness and sample density

2012-05-04 Thread Robert Osfield
HI Clement, On 4 May 2012 19:30, wrote: >   Thanks again for your reply.  I am a bit confused on using color map.  I > would like my program to support at least 8 bit color, so how should I create > the color map?  Where can I find more information?  osgvolume.cpp does not > have much details

Re: [osg-users] osgvolume brightness and sample density

2012-05-04 Thread Clement.Chu
Hi Robert, Thanks again for your reply. I am a bit confused on using color map. I would like my program to support at least 8 bit color, so how should I create the color map? Where can I find more information? osgvolume.cpp does not have much details related to color map. All layer

Re: [osg-users] Loading OSG resources from Qt QResource system

2012-05-04 Thread Braden Edmunds
Hi zonk, Ah okay. That worked. Thanks a bunch. Cheers, Braden -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=47554#47554 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.op

[osg-users] How do I create a 2D HUD with loaded images?

2012-05-04 Thread Mark Green
Hi, I'm trying to create a HUD using images instead of solid color rectangles, unfortunately the examples did not show how this could be done and I can't find any information on this function which I assumed would be often used. I've tried adding a texture to the nodes that are used in the cre

Re: [osg-users] [build] [Tutorial] Building osgAndroidExampleGLES1/2 on Ubuntu 11.10

2012-05-04 Thread Jorge Izquierdo Ciges
The emulator, at least in Ubuntu, isn't reliable enough to execute OpenGL ES code. OSG doesn't work in emulated devices. I've not checked in windows. 2012/5/4 Akilan Thangamani > compiled osg3.0.1 for android for GLES1. I seleceted avd of Android2.2 > with API level of 8. There is no problem in

Re: [osg-users] Can OSG be used on qnx os?

2012-05-04 Thread Robert Osfield
Hi Xiaofeng, On 4 May 2012 09:42, Xiaofeng Yang wrote: > I don't know whether osg can be used on qnx or not? > Is there someone who have compiled the osg on qnx? Several years back the OSG with OpenGL ES had been compiled and used with QNX, the group doing this work used their own Makefile and h

Re: [osg-users] osgvolume brightness and sample density

2012-05-04 Thread Robert Osfield
Hi Clement, On 4 May 2012 08:46, wrote: > Hi Robert, > >    Sorry, I just saw your reply.  Is TransferFunctionProperty used for > defined colour map? > >        osg::ref_ptr transferFunction = new > osg::TransferFunction1D; >        transferFunction->setColor(0.0, osg::Vec4(1.0,0.0,0.0,0.0));

[osg-users] Can OSG be used on qnx os?

2012-05-04 Thread Xiaofeng Yang
Hi everyone here, I don't know whether osg can be used on qnx or not? Is there someone who have compiled the osg on qnx? Thank you! Cheers, Xiaofeng -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=47549#47549 __

Re: [osg-users] [build] [Tutorial] Building osgAndroidExampleGLES1/2 on Ubuntu 11.10

2012-05-04 Thread Akilan Thangamani
Hi I compiled osg3.0.1 for android for GLES1. I seleceted avd of Android2.2 with API level of 8. There is no problem in starting the emulator.fine. I also compiled osgAndroidExampleGLES1 without any issue on eclipse. Running the application throws the following error, 05-04 05:38:01.375: D/libE

Re: [osg-users] osgvolume brightness and sample density

2012-05-04 Thread Clement.Chu
Hi Robert, Sorry, I just saw your reply. Is TransferFunctionProperty used for defined colour map? osg::ref_ptr transferFunction = new osg::TransferFunction1D; transferFunction->setColor(0.0, osg::Vec4(1.0,0.0,0.0,0.0)); transferFunction->setColor(0.5, osg::Vec4(1.0,

[osg-users] IllegalArgumentException?

2012-05-04 Thread Akilan Thangamani
Hi I compiled osg3.0.1 for android for GLES1. I seleceted avd of Android2.2 with API level of 8. There is no problem in starting the emulator.fine. I also compiled osgAndroidExampleGLES1 without any issue on eclipse. Running the application throws the following error, 05-04 05:38:01.375: D/lib