Re: [osg-users] ShadowMapping in a multipass deferred setup

2011-12-01 Thread Sebastian Messerschmidt
Hello Wojciech, first of all, thank you for taking a reasonable amount of time to dig in to my problems. Hi Sebastian, Unfortuantely I do not have enough time to get as deep as neccessary into this complex problem you are considering. There could be many approaches to integration of

[osg-users] [osgOcean] SkyDome with a repeating Texture2D

2011-12-01 Thread Bawenang Rukmoko
Hi, First of all, I would like to ask a permission to use and modify the SkyDome used in the oceanExample and make it into a separate library. I know that it is not really a part of osgOcean library, but I reckon that the devs should be the same. So I asked the question here. Like the title

Re: [osg-users] NVIDIA Driver Problem?

2011-12-01 Thread Robert Osfield
Hi J.P. On 29 November 2011 09:52, J.P. Delport jpdelp...@csir.co.za wrote: can it have something to do with: static RegisterWindowingSystemInterfaceProxy createWindowingSystemInterfaceProxy; in GraphicsWindowX11? The proxy registers a X11WindowingSystemInterface object that is used to

Re: [osg-users] [osgPlugins] png plugin - problem loading images

2011-12-01 Thread Laurens Voerman
Hi Andrey, Just assuming the libpng15.dll is the one you build from source, and not something you happened to have in your path.. renaming the way you did is not very likely to work, an executable should now the name of the dll it wants to use, and will fail to start if you renamed it.

[osg-users] Invitation to connect on LinkedIn

2011-12-01 Thread Carlos Sanches via LinkedIn
LinkedIn Carlos Sanches requested to add you as a connection on LinkedIn: -- mingyue, I'd like to add you to my professional network on LinkedIn. - Carlos Accept invitation from Carlos Sanches

Re: [osg-users] osgexport for blender?

2011-12-01 Thread Cedric Pinson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Can you share your model or at least report the full log of the error ? It will help a lot to fix it. Cedric On 11/29/2011 04:45 PM, Maia Randria wrote: Hi, Yes, I installed this one. After reading some posts, I understand that there are

Re: [osg-users] starting with stencil buffer to achieve ray tracing

2011-12-01 Thread Filip Arlet
Hi, Use osg::Stencil on root node and set 1 where you draw (stencil func GL_ALWAYS). Use post draw callback on your camera. In callback save content of stencil buffer in osg::Image with readPixels() ... format GL_STENCIL_INDEX Inspect image. Cheers, Filip -- Read this topic

Re: [osg-users] [osgPlugins] png plugin - problem loading images

2011-12-01 Thread Andrey Ibe
hi laurence! i have got zlib1.dll in my path env.. it is the one i used for building the libpng15.dll dynamic library. both libs i used to build the OSG. i kept every single dynamic library i built during the process of compiling the osg in my compiler's bin folder, which is in my system PATH

Re: [osg-users] osgexport for blender?

2011-12-01 Thread Maia Randria
Hi, I downloaded this model here: http://e2-productions.com/repository/modules/PDdownloads/singlefile.php?cid=1lid=12 (Low Poly Female Model by TiZeta). Thanks, Maia -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=44164#44164

[osg-users] Color in ShapeDrawable

2011-12-01 Thread Anders Backman
Hi. What is the idea behind having a color in ShapeDrawable? What this means, is that if you create a ShapeDrawable, and stitch a material in a node above it, you cannot control the color through a material when lighting is disabled. So if I would like to do: material = new osg::Material;

Re: [osg-users] Custom osg::NotifyHandler problems and multi-threading

2011-12-01 Thread George Bekos
Hello again! Thanks for your reply Robert. I want to apologise because I was wrong when I said that the problem goes away when you remove the _logmessage line. Even if I have an empty osg::NotifyHandler::notify() function, it will still crush (although it might take some time)! This is what I

Re: [osg-users] Custom osg::NotifyHandler problems and multi-threading

2011-12-01 Thread Robert Osfield
Hi George, I'm afraid I really can't help you it hunting down what the issue is as I haven't used Windows for development for over a decade. I have read that are problems with MS's stream implementation which may well be what is the root cause of the problems you are seeing. Try another

Re: [osg-users] Opaque black shadows since moving to OSG V3.0.1

2011-12-01 Thread Michael Guerrero
Hi Wojtek, It certainly did seem as though I completely missed the addition with gl_FrontLightProduct[0].ambient. Unfortunately what happened was that after I copy/pasted it in the message I removed the quotes around it and more importantly the comment characters //. Here is a link to the

Re: [osg-users] Opaque black shadows since moving to OSG V3.0.1

2011-12-01 Thread Wojciech Lewandowski
Hi, Michael, Well, then I guess addition of gl_FrontLightProduct[0] should be uncomented. And thats a missing piece of the puzzle... SVN Blame shows that Robert commented it in 12737 rev on 29th of July. I guess its time to ask Robert what to do with this. Cheers, WL 2011/12/1 Michael Guerrero

[osg-users] Problem with draggers and HUD

2011-12-01 Thread Janosch Machowinski
Hi, I got some problem with a dragger and a HUD. To explain my problem, I attached a sample program. What this program tries to archive is to draw a 2D windows, with 3d object in front of it. If the header bar of the window is dragged, the 3d object should move accordingly. Sadly, nothing

Re: [osg-users] ON_DEMAND and other windows in Qt

2011-12-01 Thread Thomas Lerman
I have seen different results between Windows and Linux. What I described in the previous posting in this thread was when I was using my own update time and pretty much copied the code used when setting the viewer through osgQt::setViewer(). If I use setViewer(), Windows still works as

[osg-users] ffmpeg memory leak

2011-12-01 Thread Sean Sullivan
Hey guys, I've just started trying to load videos. I have videos playing on a quad fine, but the following code causes Visual Studio 2010 to tell me that some objects were leaked. Code: osg::ref_ptrosg::Image image = osgDB::readImageFile (../../Content/trailer.mp4.ffmpeg); Am I missing

Re: [osg-users] osgexport for blender?

2011-12-01 Thread Cedric Pinson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thank you, I fixed the problem, btw it's not exported correctly because of skeleton. Anyway now it save it without error. Need to update the animation part to export skeleton correctly. If you have other models that produces error, I will be happy

[osg-users] One display and many (many) cameras - can I hot swap cameras?

2011-12-01 Thread bart gallet
Howdy folks I got a question about viewing different cameras, one at a time, from one and the same display: I am running a virtual environment for multiple AI agents. Each of them have a camera sensor. So each agent has an osg::Camera and continuously produce offscreen image sequences that

[osg-users] VPB help with inset into tiff file

2011-12-01 Thread Paul
Hi, I need some help with grabbing some data inside a srtm tif file. I want 51° 7'19.22N 11°32'33.81E into the data, i.e for a top left (I assume for osgdem -ge option) start point and 10k x 10k area . I have converted to degrees for osgdem. My commandline arguments look like this: