Re: [osg-users] How to use shader and shadow together in one scene

2011-05-10 Thread Turgut Mehdiyev
Hi Chris, Thank you for your help. First i add all my nodes to group and after this group added to shadowed scene. And to one of the nodes or more i apply shaders. I understand that shadowmap shader program overrides the custom shader program. I try to override shadow custom settings but no eff

Re: [osg-users] [osgOcean] I am in a puzzle about the realization of osgOcean's 'Glare effect'

2011-05-10 Thread Tian Ma
benang wrote: > A noob trying to help a bit. Try looking at "OceanScene::preRenderCull()" > method. You'll see that it's being used there to render the scene. Thanks a lot for your help. And sorry for so late to answer. -- Read this topic online here: http://forum.openscenegrap

Re: [osg-users] OSG 2.9.10 on iOS

2011-05-10 Thread Ulrich Hertlein
Hi Büsra, On 11/05/11 0:26 , Büsra Gülten wrote: > thank you very much for your help. OpenThread build succeeded. > > But unfortunately other errors appear in osg-Target. And Xcode crashes > because there are too many errors. > Although in CMake-GUI the Variables are right, it seems like, that

Re: [osg-users] OSG 2.8.5 stable release discussion

2011-05-10 Thread Paul Martz
On 5/10/2011 7:11 PM, Paul Martz wrote: On 5/3/2011 3:02 PM, Ryan Pavlik wrote: I'd like to propose my fixes that I sent in on -submissions pre-2.8.4: all except the VC2010 build fix still apply. They are these two: Improvements to osgconv: https://github.com/rpavlik/osg/compare/OpenSceneGraph-

Re: [osg-users] OSG 2.8.5 stable release discussion

2011-05-10 Thread Paul Martz
On 5/3/2011 3:02 PM, Ryan Pavlik wrote: I'd like to propose my fixes that I sent in on -submissions pre-2.8.4: all except the VC2010 build fix still apply. They are these two: Improvements to osgconv: https://github.com/rpavlik/osg/compare/OpenSceneGraph-2.8...improve-osgconv (I've also forward

[osg-users] Problems embedding osgViewer::Viewer in Qt MainWindow (not CompositeViewer)

2011-05-10 Thread Sergey Kurdakov
Hi Sanat, >http://www.openscenegraph.org/projects/osg/browser/OpenSceneGraph/trunk/examples/osgviewerQt/osgviewerQtContext.cpp with this more simple example it would be easier to t

[osg-users] Problems embedding osgViewer::Viewer in Qt MainWindow (not CompositeViewer)

2011-05-10 Thread Sergey Kurdakov
Hi Sanat, sorry, I might be not very clear ( it is just that thread helped me a lot ). but why not to use this example http://www.openscenegraph.org/projects/osg/browser/OpenSceneGraph/trunk/examples/osgviewerQt/osgviewerQtContext.cpp as a starting point? Regards Sergey ___

[osg-users] Problems embedding osgViewer::Viewer in Qt MainWindow (not CompositeViewer)

2011-05-10 Thread Sergey Kurdakov
Hi Sanat, seems you might want to look at this thread http://forum.openscenegraph.org/viewtopic.php?t=2308 notice // Push matricies and osg::State *state = getCamera()->getGraphicsContext()->getState(); state->reset(); state->apply(m_lastStateSet.get()); Regards Sergey _

[osg-users] Problems embedding osgViewer::Viewer in Qt MainWindow (not CompositeViewer)

2011-05-10 Thread Sanat Talmaki
Hi, I have been trying to modify the osgViewerQtWidget example which has a composite viewer embedded as a widget in a Qt main window. I want to use a single Viewer instead and am thus far not successful. My Qt ui is a simple main window with the central widget upgraded to a ViewerQOSG widget.

Re: [osg-users] Is osg 2.9.9 recommended for Qt integration

2011-05-10 Thread Sanat Talmaki
That is true. I will upgrade to newest build. :) Thanks Sanat -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=39255#39255 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.o

Re: [osg-users] [build] Can't build osg 2.8.3 on 64-bit Linux - which files to change ?

2011-05-10 Thread Sid Boyce
Hi, On openSUSE "zypper in librsvg-devel" is what you need. # rpm -qf /usr/include/librsvg-2.0/librsvg/rsvg.h librsvg-devel-2.34.0-2.1.x86_64 ... Thank you! Cheers, Sid -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=39254#39254 __

Re: [osg-users] [osgPlugins] Error compiling fbx plugin

2011-05-10 Thread Michael Platings
Looks like you're using 2010.*0*.2, not 2010.2 On 9 May 2011 14:23, Andrea Martini wrote: > Hi Michael, > i have installed fbx sdk 2010.2 and i'm using openscenegraph 2.8.4 > But, unfortunally, i have the same error during compile time : > > ..\..\..\..\src\osgPlugins\fbx\ReaderWriterFBX.cpp(233

Re: [osg-users] How to use shader and shadow together in one scene

2011-05-10 Thread Chris 'Xenon' Hanson
On 5/6/2011 1:04 AM, Turgut Mehdiyev wrote: > Hi all, > I'm currently working on integrating RenderMonkey shaders into > OpenSceneGraph. There, i need to use shaders and shadows in one scene. But > when i use shader on some geometry shadowmap disables him. How to pass this > problem. Im using op

Re: [osg-users] [build] Can't build osg 2.8.3 on 64-bit Linux - which files to change ?

2011-05-10 Thread Alberto Luaces
"Andrew McLean" writes: > Yes I have installed it - that's what I meant when I said rsvg.h is installed. Then it is not under the requested directory -- librsvg-2. > > I am building on 64-bit, so I deduce that the README.txt does apply. But that README talks about the osgdb_qt plugin and the o

Re: [osg-users] OpenGL 3.0 support

2011-05-10 Thread Brad Colbert
Is there an example that works with GL 3? I keep getting errors due to reliance on FFP capabilities. -B -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Brad Colbert Sent: Monday, May 09, 2011 3:10 PM To

Re: [osg-users] [build] Can't build osg 2.8.3 on 64-bit Linux - which files to change ?

2011-05-10 Thread Andrew McLean
Yes I have installed it - that's what I meant when I said rsvg.h is installed. I am building on 64-bit, so I deduce that the README.txt does apply. I just can't interpret the instructions on what to do in this situation. AM -- Read this topic online here: http://forum.openscenegra

Re: [osg-users] [build] Can't build osg 2.8.3 on 64-bit Linux - which files to change ?

2011-05-10 Thread Alberto Luaces
"Andrew McLean" writes: > Hi, Build fails with this error: > OpenSceneGraph-2.8.3/src/osgPlugins/svg/ReaderWriterSVG.cpp:25:34: fatal > error: librsvg/rsvg.h: No such file or directory > even though rsvg.h is installed. I understand from the README that there is a > specific problem on 64-bit Li

Re: [osg-users] Passing argument as samplerCube to glsl

2011-05-10 Thread Turgut Mehdiyev
Hi, that was my fault. Solved ! Regards, Turgut -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=39247#39247 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.o

Re: [osg-users] RecordCameraPathHandler where is the saved_animation.path file?

2011-05-10 Thread Gianni Ambrosio
Hi Robert, robertosfield wrote: > I do plan to add support for this in the 2.9.x dev > series using the ffmpeg plugin to do the video encoding, but I don't > have any dates for the work. Is there anything new about this topic? Regards Gianni -- Read this topic online here: ht

Re: [osg-users] OSG 2.9.10 on iOS

2011-05-10 Thread Büsra Gülten
Hi Ulrich, thank you very much for your help. OpenThread build succeeded. But unfortunately other errors appear in osg-Target. And Xcode crashes because there are too many errors. Although in CMake-GUI the Variables are right, it seems like, that the project cannot find OpenGL-Framework. I

[osg-users] How to use shader and shadow together in one scene

2011-05-10 Thread Turgut Mehdiyev
Hi all, I'm currently working on integrating RenderMonkey shaders into OpenSceneGraph. There, i need to use shaders and shadows in one scene. But when i use shader on some geometry shadowmap disables him. How to pass this problem. Im using openscenegraph 2.8.3 and porting RenderMonkey Marble Sh

[osg-users] Passing argument as samplerCube to glsl

2011-05-10 Thread Turgut Mehdiyev
Hi all, I'm currently working on integrating RenderMonkey Glass shader into OpenSceneGraph. There, i need to pass cubemap as uniform. For creating cubemap i'm using osg::TextureCubeMap class. It seems like glsl doesn't process texture as it should. Code: osg::ref_ptr cubemap = new osg:

[osg-users] [build] Can't build osg 2.8.3 on 64-bit Linux - which files to change ?

2011-05-10 Thread Andrew McLean
Hi, Build fails with this error: OpenSceneGraph-2.8.3/src/osgPlugins/svg/ReaderWriterSVG.cpp:25:34: fatal error: librsvg/rsvg.h: No such file or directory even though rsvg.h is installed. I understand from the README that there is a specific problem on 64-bit Linux: "However, Two parts of the OSG

Re: [osg-users] Help! The influence of the light node.

2011-05-10 Thread Paul Martz
On 5/10/2011 2:59 AM, Duan Linghao wrote: Hi, How can the light node only affect the node which I specified? The structure of my scene is: root / \ child1_groupchild2_group / light I hope the light can only affect the child1_group,but the child2

Re: [osg-users] getting position and orientation of subobjects in Node Callback traversal

2011-05-10 Thread issam boughanmi
Hi Glenn Thanks for the tip -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=39240#39240 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-

[osg-users] [osgPlugins] 3ds repeating textures problem

2011-05-10 Thread Sami Moisio
Hi, I updated the OSG from 2.8.0 to 2.8.4 and ran into an interesting problem. The textures in my geometries (imported 3ds files) that have a repeating pattern are shown only once. So that when i have a ground with a repeating texture grid it looks like a cross with the texture once in the midd

[osg-users] Help! The influence of the light node.

2011-05-10 Thread Duan Linghao
Hi, How can the light node only affect the node which I specified? The structure of my scene is: root / \ child1_groupchild2_group / light I hope the light can only affect the child1_group,but the child2_group also be influence by the light

Re: [osg-users] OSG 2.9.10 on iOS

2011-05-10 Thread Ulrich Hertlein
On 10/05/11 15:34 , Büsra Gülten wrote: > I am new to OSG and I am trying to build OSG 2.9.13 on iPhoneSimulator. I > generate a > Xcode Project with Cmake. And when I want to build the "ALL BUILD"-Target in > Xcode, I > get several times this error: > >> -mmacosx-version-min not allowed with -m