[osg-users] [OsgQT] How to use this

2014-03-05 Thread TORRALVO Mickaël
Hi guys, I'm currently trying to integrate OSG in a QT environnement. I'm working with QT 4.8 32bit and OSG 3.2.1 32 bit. When I create a project and configure it, all is ok. My problem is that i don't know how to use the osgQt package. I really need help to do this, how to use the package

Re: [osg-users] Openscenegraph iOS Development

2014-03-05 Thread Stephan Maximilian Huber
Hi Sebastian, Am 05.03.2014 um 08:42 schrieb Sebastian Messerschmidt sebastian.messerschm...@gmx.de: I've been requested to explore the options of OpenSceneGraph development under iOS. There are some starter tutorials, but I still have some questions (without having touched the toolchain

Re: [osg-users] OSG save scene to an image file

2014-03-05 Thread Robert Osfield
Hi Aviral, It could be, thanks to the default multi-threading of the viewer, you are detaching the callback before it's being called by the draw thread. The way I usually tackle tasks like this is to attach the callback at setup and leave it there, but have a flag on the callback to say whether

Re: [osg-users] perhaps a bug in osg::impostor

2014-03-05 Thread Robert Osfield
Hi? Could you sign with a name to make it easier for other to know how to address you :-) On 4 March 2014 12:17, ttaw wattha...@qq.com wrote: hello, everyone. I am an osg learner in China.Recently, when I read the source code of osg::Impostor class, something about multi-threading

Re: [osg-users] Openscenegraph iOS Development

2014-03-05 Thread Sebastian Messerschmidt
Hi Stephan, Thank you for you insights. If you don't mind I would message you if I have further questions. Simply tell me when I start to annoy you. Cheers Sebastian Hi Sebastian, Am 05.03.2014 um 08:42 schrieb Sebastian Messerschmidt sebastian.messerschm...@gmx.de: I've been requested

[osg-users] Wireframe rendering on Android

2014-03-05 Thread Dever
Hi guys, I am now working on a project using OSG in Android App development. Everything runs very well until now I need render 3D models in wireframe. Since the OSG is built from source for OpenGL ES 1.x, and it is known that OpenGL ES does NOT support wireframe rendering using glPolygonMode

Re: [osg-users] Wireframe rendering on Android

2014-03-05 Thread Sebastian Messerschmidt
Hi Dever, In theory you can use barycentric coordinates from you geometry: http://codeflow.org/entries/2012/aug/02/easy-wireframe-display-with-barycentric-coordinates/ In order to get them you will have to write a visitor which generates them from your geometry or use a geometry shader to do

Re: [osg-users] [OsgQT] How to use this

2014-03-05 Thread 马国财
Hi, I got a file maybe helpful to you. There's a .h file that defines an class of an osgView. In your project, there should be a ui, and add the code bottom. #include Viewer.h ... ViewerWidget *osgview; osgview = new ViewerWidget; ui.horizontalLayout-addWidget(osgview); The .h file: #ifndef

Re: [osg-users] OT: Windows GDI/GDI++ Alternative

2014-03-05 Thread Wang Rui
Hi Gordon, You may have a look at my latest submission to osgRecipes: https://github.com/xarray/osgRecipes/tree/master/integrations/osgagg I've jusst updated my work on integrating OSG and AGG (Anti-Grain Geometry) after several silent months working for clients and my first baby. It provides

Re: [osg-users] [osgPlugins] bug stl pugin?

2014-03-05 Thread Ulrich Hertlein
Hi Anneke, Quoting Anneke Sicherer-Roetman letter...@hotmail.com: I just installed version 3.2.0. Now, when reading an .stl file with the pretaining plugin, I get vector subscript out of range in the readNode function. I temporarily reverted to 3.0.1 to bve able to continue my work, but

[osg-users] osg::Sequence and reversing direction

2014-03-05 Thread Sebastian Messerschmidt
Hi, After searching the forum and mailing list someone advised to use the setDuration with negative speed to revert the animation. Unfortunately this doesn't work for me. Anyone that knows osg::Sequence a bit better than me, who could give me an advise how to play a sequence reverted.

Re: [osg-users] [build] ld: symbol(s) not found for architecture x86_64

2014-03-05 Thread Ulrich Hertlein
Hi Michael, Quoting Michael Zurek michael.zu...@gmail.com: I downloaded the stable release 3.2.0 which I am able to build (without libc++) but whenever I compile an application I'm getting ld: symbol(s) not found for architecture x86_64. I don't use xcode though. I'm using clang++ from

Re: [osg-users] osg::Sequence and reversing direction

2014-03-05 Thread Ulrich Hertlein
Hi Sebastian, did you try setBegin()/setEnd() with the last and the first child respectively? (But I'm not claiming to know Sequence any better.) /ulrich pgpdaG3yglw1Z.pgp Description: PGP Digital Signature ___ osg-users mailing list

Re: [osg-users] osg::Sequence and reversing direction

2014-03-05 Thread Sebastian Messerschmidt
Hello Ulrich, No I didn't try. But I guess than won't really fit my needs. I use the sequence to animate tracks of a tank and therefore need to change the animation direction and speed dynamically in every frame. I'll give it a try, but it doesn't seem very natural. Looking at the code it

Re: [osg-users] OT: Windows GDI/GDI++ Alternative

2014-03-05 Thread Chris Hanson
I would second the motion on Cairo, via osgCairo by Jeremy Moles. I've been using it in some apps recently with lovely results. On Wed, Mar 5, 2014 at 6:40 AM, Wang Rui wangra...@gmail.com wrote: Hi Gordon, You may have a look at my latest submission to osgRecipes:

Re: [osg-users] Openscenegraph iOS Development

2014-03-05 Thread Chris Hanson
We do quite a bit of iOS OSG (and osgEarth) development too, shout if you have problems. On Wed, Mar 5, 2014 at 3:52 AM, Sebastian Messerschmidt sebastian.messerschm...@gmx.de wrote: Hi Stephan, Thank you for you insights. If you don't mind I would message you if I have further questions.

Re: [osg-users] Does OSG support to export 3D models to 3D PDF format?

2014-03-05 Thread Chris Hanson
It is not F/OSS: http://www.pdf3d.com/why_pdf3d_sdk.php#Licenses The work I'm expecting to be doing in the next couple months will be F/OSS. On Tue, Mar 4, 2014 at 8:02 PM, Bruce graysky...@hotmail.com wrote: Hi , Is the PDF3D SDK free or open source? we would use it in education and

Re: [osg-users] Does OSG support to export 3D models to 3D PDF format?

2014-03-05 Thread Tomlinson, Gordon
HI No PDF3D SDK is a commercial product , but I can highly recommend it and I can highly recommend the company and the people they are highly responsive and receptive to improvements and want to help you succeed with their products While PDF3D SDK is commercial you might want to contact

[osg-users] osg::ref_ptr thread safety

2014-03-05 Thread Ulrich Hertlein
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi guys, during a recent discussion at the office the question was raised whether or not there's anything architectural that's stopping the owner of a ref-counted resource to return it via a raw pointer and dereference (and hence delete it)

[osg-users] osg_Color

2014-03-05 Thread Conan Doyle
Hi, I am trying to mod the shaders in osgsimplegl3 so that the color is passed through using osg_Color... My code is as follows: Code: // VERTEX SHADER #version 140 uniform mat4 osg_ModelViewProjectionMatrix; in vec4 osg_Color; in vec4 osg_Vertex; out vec4 color; void main() { color =

Re: [osg-users] osg-users Digest, Vol 81, Issue 5

2014-03-05 Thread ttaw
-- On 4 March 2014 12:17, ttaw wattha...@qq.com wrote: hello, everyone. I am an osg learner in China.Recently, when I read the source code of osg::Impostor class, something about multi-threading confused me a lot.That is, in the case of CULL_VISITOR of

[osg-users] Must I call setDataVariance(DYNAMIC) to a group node?

2014-03-05 Thread ttaw
There's a saying on internet that setDataVariance(DYNAMIC) must be called to a group node which is to be changed while updating. But in my opinion, it's unnecessary because the child drawable pointers and stateset pointers are saved in ReaderLeaf as a ref_ptr if