Re: [osg-users] CompositeViewer regression between OSG 3.1.4 and 3.2

2014-03-06 Thread Remo Eichenberger
Hi Robert, I also run into this issue. Does anyone has found a solution for it? Thanks Remo -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=58511#58511 ___ osg-users mailing list osg-users@lists.open

Re: [osg-users] [build] Error Building with minGW

2014-03-06 Thread Josh Manz
Hi, First of all, thank you for replying. I agree that the inflate/deflate functions cannot be located however I don't know why zlib would have them. I did nm on the zlib and here is the result: $ nm libz.a | grep deflate U _deflate U _deflateEnd U _deflateInit_

[osg-users] osg::ref_ptr thread safety

2014-03-06 Thread ttaw
From: Ulrich Hertlein To: osg-users Subject: [osg-users] osg::ref_ptr thread safety Message-ID: <53179051.8020...@sandbox.de> Content-Type: text/plain; charset=UTF-8 try m_resource.release(). -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi guys, during a recent discussion at the office t

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

2014-03-06 Thread ttaw
It doesn't matter. As Robert says, the node's hint is used only in optimizing. From: "Cary, Karl A." To: OpenSceneGraph Users Subject: Re: [osg-users] Must I call setDataVariance(DYNAMIC) to a group node? Message-ID: Content-Type: text/plain; charset="us-ascii" I think my final question abo

Re: [osg-users] Volumetric rendering team

2014-03-06 Thread Robert Osfield
Hi Brett, On 6 March 2014 16:43, Brett wrote: > I am between things lately and have been working with some of the > volumetric rendering stuff and some GUI design work related to the transfer > functions, ROI, etc. The work OSG is doing in this area looks really great > and I wondered if there

[osg-users] Volumetric rendering team

2014-03-06 Thread Brett
Hi, I am between things lately and have been working with some of the volumetric rendering stuff and some GUI design work related to the transfer functions, ROI, etc. The work OSG is doing in this area looks really great and I wondered if there are any projects or groups I can join or work w

[osg-users] how to zoom in and out a earth model with two fingers when using a Multi-touch screen

2014-03-06 Thread Lv Qing
Hi, It is actually a osgEarth problem.but I have lost track of it in osgEarth forum,and someone there said it is something about GraphicsWindowQT and osg 3.1.3,so I think I may get help here. By osg 3.2.0 ,osgEarth 2.5, qt 4 ,win 7,I can zoom in and out earth with two fingers when runn

Re: [osg-users] [3rdparty] Problem building osg application with osgAudio support

2014-03-06 Thread Chris Hanson
Are you actually including the osgAudio header file? On Fri, Jan 31, 2014 at 9:06 AM, Michael Nolde wrote: > Dear Forum-Members, > > I successfully built osgAudio (both on Linux and Windows), and I am able > to run the example files (at least, most of them). But I just can't manage > to build m

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

2014-03-06 Thread Robert Osfield
On 6 March 2014 13:30, Cary, Karl A. wrote: > I think my final question about then is, what about MatrixTransforms? If > I have a Matrix Transform with an updateCallback that sets it's matrix > every frame, would it matter if it was static or dynamic? > As I said in my previous explanation, Nod

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

2014-03-06 Thread Cary, Karl A.
I think my final question about then is, what about MatrixTransforms? If I have a Matrix Transform with an updateCallback that sets it's matrix every frame, would it matter if it was static or dynamic? From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegra

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

2014-03-06 Thread Robert Osfield
HI Karl, On 6 March 2014 12:00, Cary, Karl A. wrote: > This is actually something I have been curious about for exactly how it > is done as well. What about if you have a Geode who you are going to add or > remove drawables to. Do you make those drawables DYNAMIC? > It's only the contents of S

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

2014-03-06 Thread Cary, Karl A.
This is actually something I have been curious about for exactly how it is done as well. What about if you have a Geode who you are going to add or remove drawables to. Do you make those drawables DYNAMIC? From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscen

Re: [osg-users] osg::ref_ptr thread safety

2014-03-06 Thread Robert Osfield
Hi Ulrich, If you get a C pointer from a ref_ptr<> you are explicitly moving outside the scope of automatic reference counting. It's only safe to get and use a C pointer from a ref_ptr<> if you know the object being referenced will not get unreferenced during the lifetime of the C pointer. If yo

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

2014-03-06 Thread Robert Osfield
HI Wu, You only need to set the Node DataVariance as a hint to the osgUtil::Optimizer that is typically only used after loading a new model, the Node DataVariance is not used during the update, event, cull or draw traversals. However, when using DrawThreadPerContext or CullThreadPerCameraDrawThre

Re: [osg-users] Badly looking effect - GPU problem ?

2014-03-06 Thread Grzegorz Brzęczyszczykie
Thank you Sebastian. You are right - this was the problem with textures. I've assumed that "cessnafire.osg" had all textures within and all examples with particles did not needed textures (dynamically created). Thank you. -- Read this topic online here: http://forum.openscenegra

Re: [osg-users] [build] Error Building with minGW

2014-03-06 Thread michael kapelko
Hi. It means that zlib.dll (iirc, or zlib.a) doesn't have deflateInit2_, deflate functions. If you static linked zlib, you should do the opposite. 2014-03-05 22:39 GMT+07:00 Josh Manz : > Hi, > > I'm having problems building openScengraph on windows 7 using mingw32-make > 3.82.90 > > It is resul

Re: [osg-users] Badly looking effect - GPU problem ?

2014-03-06 Thread Sebastian Messerschmidt
Hi Konn, Could you please check the output of your console. Seems like the textures are missing. In order to make the default textures available you will have to set the OSG_FILE_PATH environment variable pointing to the OpenSceneGraph data package. Also check if the rgb plugin is compiled a

[osg-users] Badly looking effect - GPU problem ?

2014-03-06 Thread Grzegorz Brzęczyszczykie
Hi, All examples with particles included in OSG look this weird way. These are not particles these are squares. What can be the problem? Thank you! Cheers, Konn -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=58487#58487 Attachments: http://

Re: [osg-users] Mask projective texture

2014-03-06 Thread Mateo Gasparovic
Hi! Based on the Cookbook example of the RTT camera I've been able to show Depth map of one object (complete code: 01depthMapVizual.cpp and result: 01depthMapVizual.PNG). root->addChild( pass0_color.first ); root->addChild( pass0_depth.first ); root->addChild( hudCamera.get() ); ... viewer.setS

Re: [osg-users] Wireframe rendering on Android

2014-03-06 Thread Sebastian Messerschmidt
Hi David, did you check the link? It is all explained there. Basically with barycentric coordinates you can check how far the fragment is from the triangles edge, thus enabling you to draw there an nowhere else. In order to do so, you assign barycentric coordinates which form a base system to

Re: [osg-users] [3rdparty] Building osgBullet?

2014-03-06 Thread Ramon Talavera Suarez
Hi, Did you try to tell CMAKE where to find them by hand? point it towards the include and lib directories of the compiled OsgWorks. After doing so, press configure again and it should find the library. Thank you! Cheers, Ramon -- Read this topic online here: http://forum.ope

[osg-users] [3rdparty] 3ds max to osgArt export problem

2014-03-06 Thread Mohasin Sayyad
Hi, I am working with osgArt recently I've installed openscenegraph exporter for 3ds max 2012 I can export 3d model into osgrt format but I cant view it into osgart application. And if I want to export model with motion capture animation to osg how can I do this using 3dsmax? Thank you! Che

[osg-users] [3rdparty] Problems with libpng in x86 version

2014-03-06 Thread Sergio Azevedo
Hi, I recently had some problems running the examples that load .png files in OSG 3.2.0. The error was: "the procedure entry point inflatereset2 could not be located in the dynamic link library c.\...libpng16.dll" I had to recompile the libpng to x86 and then it worked. Perhaps you want to up

[osg-users] [3rdparty] osgmovie example crashes when playing flv with alpha channel

2014-03-06 Thread Mohasin Sayyad
Hi, I m trying to play flv file with alpha channel osgmovie -e ffmpeg "The_wolf.flv" it shows message "transparent movie, enabling movie" then it freezes the osgmovie application without showing anything Thank you! Cheers, mossin -- Read this topic online here: http://forum

Re: [osg-users] [3rdparty] Building osgBullet?

2014-03-06 Thread LaytonG123
Whoops, I meant to set OSGWORKS_ROOT to where ever you have osg works installed and not OSG. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=57758#57758 ___ osg-users mailing list osg-users@lists.open

[osg-users] [3rdparty] Problem building osg application with osgAudio support

2014-03-06 Thread Michael Nolde
Dear Forum-Members, I successfully built osgAudio (both on Linux and Windows), and I am able to run the example files (at least, most of them). But I just can't manage to build my osg application with osgAudio support. I am new to C++ and CMake, so this is supposedly a rather trivial question n

Re: [osg-users] [3rdparty] Building osgBullet?

2014-03-06 Thread LaytonG123
Sounds like you need to define your environment variables. Try right clicking on "MyComputer" then "properties", "Advanced system settings", "environment variables". Create a new environment variable with OSGWORKS_ROOT = C:\OpenSceneGraph-3.0.1 (or where ever your osg is installed)

[osg-users] [3rdparty] Probllem with rendering .obj model

2014-03-06 Thread dominik
Hi, I have simple model in .obj file. I am trying to render it in osgViewer::Viewer, however is is not rendering properly. If i use simple obj viewer: azarsoft .info/objstl/ everything is correct Here is the diference: imgur .com/a/JWcvk What is the reason? How to fix it? Thank you! Cheers,

[osg-users] [build] Error Building with minGW

2014-03-06 Thread Josh Manz
Hi, I'm having problems building openScengraph on windows 7 using mingw32-make 3.82.90 It is resulting in the following error: Linking CXX shared library ..\..\bin\libosgDB.dll CMakeFiles\osgDB.dir/objects.a(Compressors.obj):Compressors.cpp:(.text$_ZN14ZLib Compressor8compressERSoRKSs[__ZN14ZLi

Re: [osg-users] Wireframe rendering on Android

2014-03-06 Thread David
What is the relationship between wireframe rendering and the barycentric coordinates? Can you expand a little bit on this, as this is very confusing to me. Thanks. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=58458#58458 ___

Re: [osg-users] osg_Color

2014-03-06 Thread Sebastian Messerschmidt
Hi Conan, Are you sure your model has colors? Also please try to set fragData to a fixed value to see if the shader is working at all (I somehow miss the layout like layout (location=0) out vec4 fragData;) Secondly I'd rather set something like: fragData = vec4(color.rgb,1.0) to rule out any b