[osg-users] osgvolume 2D image stack

2009-09-15 Thread Johannes van Jaarsveld
Hi, I've been trying out the example application osgvolume. If I envoke the application via the following command ./osgvolume --images image1.jpg image2.jpg [up to including] image64.jpg --num-components 0 --r_maxTextureSize 512 --zMultiplier 1.0 -o volume.osg I get the following command line

Re: [osg-users] [osgPlugins] Error when loading DirectX .x files

2009-09-15 Thread Ulrich Hertlein
Hi Judy, On 11/09/09 4:28 PM, Judy Hartley wrote: As I said, this error happens no matter which of the many .x files I use. It's not just a warning because it does not draw the object or objects. It also happens no matter how many materials are listed. If there are 10 materials listed in

Re: [osg-users] osgvolume 2D image stack

2009-09-15 Thread Robert Osfield
Hi Johannes, osgvolume suggesting that it can't find file but not specifying the filename so perhaps it's a blank filename for some reason. Try upping the verbosity of the information logging via: export OSG_NOTIFY_LEVEL=INFO And then run the app, this should output more information about

Re: [osg-users] OSG viewer blocks Qt window

2009-09-15 Thread Maxim Gammer
QThread ? 2009/9/15 Philip Lowman phi...@yhbt.com Can you post a small example of the problem? I've been using Qt with OSG for about a month now and haven't run into anything like this. Have you considered using something like a QTimer to send your keep-alive messages instead? On Mon,

Re: [osg-users] FBO OpenGL Error with new nVidia Driver

2009-09-15 Thread Sebastien Nerig
Hi Robert Well, if I have asked something to this forum, this is because I have already investigated and I have found no solutions by myself. I just wanted to know if someone else has accountered this problem and if a solution has been found - I think a forum is for sharing problems and

Re: [osg-users] FBO OpenGL Error with new nVidia Driver

2009-09-15 Thread J.P. Delport
Hi, Sebastien Nerig wrote: Hi Robert Well, if I have asked something to this forum, this is because I have already investigated and I have found no solutions by myself. I just wanted to know if someone else has accountered this problem and if a solution has been found - I think a forum is for

Re: [osg-users] FBO OpenGL Error with new nVidia Driver

2009-09-15 Thread Kim Bale
Hi Sebastian, I've got this bloody error a number of times with a 8800 GTS 512, and every time it's been because I've upgraded my drivers. I'm not sure whether this is due to driver corruption or a bug in the drivers. But I think your best is to try some of the previous driver sets, (I'm pretty

Re: [osg-users] FBO OpenGL Error with new nVidia Driver

2009-09-15 Thread Sebastien Nerig
Hi JP, mm there is no reason, it is the version I have dowloaded when I started to work with OSG. I will try to get 2.8.8 and get back. Thank you! Sebastien -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=17367#17367

Re: [osg-users] 3D HUD Elements

2009-09-15 Thread Andrew Burnett-Thompson
Hi Jimmy, I just stumbled across this thread when searching for a similar solution, and found it very interesting. Would you be prepapred to share some of your code for a 3D Axis in the HUD? I'd understand if not. Otherwise - what is the basic principle? I have a HUD added to my scene as a

Re: [osg-users] FBO OpenGL Error with new nVidia Driver

2009-09-15 Thread J.P. Delport
Hi, Sebastien Nerig wrote: Hi JP, mm there is no reason, it is the version I have dowloaded when I started to work with OSG. I will try to get 2.8.8 and get back. The fix I remembered had to do with geometry shaders, so its unrelated to your problem. Like Kim also said, I think the error

Re: [osg-users] FBO OpenGL Error with new nVidia Driver

2009-09-15 Thread J.P. Delport
Hi, J.P. Delport wrote: Hi, Sebastien Nerig wrote: Hi JP, thanks for your answer. The application is osgPrerender example from OSG 2.8 RC3, you surely have already downloaded it. I didn't modify the application. I launch it without any arguments, so the default render implementation is FBO.

Re: [osg-users] shape, shape drawable and geode modification

2009-09-15 Thread Miguel Lokida
Thanks a lot. That works ! -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=17371#17371 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Transparency and osg::Cone (shape)

2009-09-15 Thread Miguel Lokida
The lonely thing I would like to know is if I should make a 2 passes rendering using a FBO or if I add the geometry twice in the scenegraph and for each of them, make a transparent for the front and then a transparent for the back. Thank you. -- Read this topic online here:

Re: [osg-users] FBO OpenGL Error with new nVidia Driver

2009-09-15 Thread Sebastien Nerig
Hi, Like Kim also said, I think the error is more likely in the driver than in OSG. Upgrading to OSG 2.8.2 won't hurt though :) I don't use Windows, but I've seen some utility to help you get rid of NVidia driver cruft on you machine before you install a new driver. I think experimenting

Re: [osg-users] osgvolume 2D image stack

2009-09-15 Thread Johannes van Jaarsveld
Hi Robert, I downloaded the source to look at the code. I commented out the block of code starting from line 1068 directly after the comment // assume remaining arguments are file names of textures. up to line in osgvolume.cpp, and rebuilt the application. After that I was able to build

Re: [osg-users] FBO OpenGL Error with new nVidia Driver

2009-09-15 Thread Robert Osfield
Hi Sebastien, On Tue, Sep 15, 2009 at 1:31 PM, Sebastien Nerig overse...@hotmail.comwrote: Yes I think it is due to GeForce 8 series drivers, but I would prefer not to to downgrade my drivers. Well I guess I have no solutions If you think like this then you'll never get on top of your

Re: [osg-users] osgvolume 2D image stack

2009-09-15 Thread Robert Osfield
Hi Johannes, Which version of the OSG are you using? Robert. On Tue, Sep 15, 2009 at 2:09 PM, Johannes van Jaarsveld jvjaarsv...@csir.co.za wrote: Hi Robert, I downloaded the source to look at the code. I commented out the block of code starting from line 1068 directly after the comment

Re: [osg-users] FBO OpenGL Error with new nVidia Driver

2009-09-15 Thread J.P. Delport
Hi, Sebastien Nerig wrote: Yes I think it is due to GeForce 8 series drivers, but I would prefer not to to downgrade my drivers. Well I guess I have no solutions Sometimes a downgrade can actually be an upgrade :) jp thanks anyway Sebastien -- Read this topic online

Re: [osg-users] osgvolume 2D image stack

2009-09-15 Thread Johannes van Jaarsveld
I'm using OpenSceneGraph-2.8.2 on 64 bit Fedora 11 -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=17378#17378 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] FBO OpenGL Error with new nVidia Driver

2009-09-15 Thread Jean-Sébastien Guay
Hi Sebastien, Also please remember that NVidia have systems for logging bugs, and fixing them, so go chase them about it. Yes Robert is right, if you've found a possible driver bug (even if it's only specific to one series of cards) then you can report it and they will probably fix it. In

Re: [osg-users] osgvolume 2D image stack

2009-09-15 Thread Robert Osfield
Hi Johannes, On Tue, Sep 15, 2009 at 2:21 PM, Johannes van Jaarsveld jvjaarsv...@csir.co.za wrote: I'm using OpenSceneGraph-2.8.2 on 64 bit Fedora 11 Could you try the svn/trunk version of the OpenSceneGraph as I've made a number of improvements and bug fixes to osgVolume over the last few

[osg-users] ReaderWriters : Does the writer use libcurl?

2009-09-15 Thread Sukender
Hi all, We're trying to write a scenegraph on a FTP. Reading is okay : it loads and tries the curl plugin once all other readers failed and reads successfully data on the FTP. But it seems the code doesn't try the curl plugin once alls *writers* failed. Am I wrong? Should it be implemented? I

Re: [osg-users] ReaderWriters : Does the writer use libcurl?

2009-09-15 Thread Chris Denham
Hi, I was wondering recently whether curl should always be tried FIRST for server addresses, for both read and write. The reason I picked up on this was that I noticed a slight oddity with the existing reader plugin selection, which can end up unneccessarily trying the curl plugin twice when

[osg-users] [vpb] Specifying a patch level lower than the maximum terrain level

2009-09-15 Thread Luc Claustres
Hi, I've tested the patching capabilities of VPB and it seems to work almost good. However I have a question related to min/max level specification. I have generated a world at 500m resolution, specifying a max level of 16 (option : -l 16). Then I patched a country at resolution 15m specifying

Re: [osg-users] ReaderWriters : Does the writer use libcurl?

2009-09-15 Thread Robert Osfield
Hi Sukender, The libcurl plugin doesn't yet support write, so this is the first thing you'd need to implement if you want to write files over http or ftp. Robert. On Tue, Sep 15, 2009 at 2:44 PM, Sukender suky0...@free.fr wrote: We're trying to write a scenegraph on a FTP. Reading is okay :

Re: [osg-users] OSG viewer blocks Qt window

2009-09-15 Thread Zoe Catz
Philip Lowman wrote: Can you post a small example of the problem?  The problem seems to be a threading problem. I'm new to osg so probably the solution is pretty easy?! Here's my sample programm which opens 1 qt and 1 osg window, but only one is active at the same time (in this case the osg

Re: [osg-users] OSG viewer blocks Qt window

2009-09-15 Thread Robert Osfield
Hi Zoe, viewer.run() runs an frame loop till the viewer has it's done flag set, very much in the same way that QApplication::exec() runs it's event loop till exit. It's not that Qt and OSG aren't compatible, it's just this two very high level convenience functions both assume control of the main

Re: [osg-users] ReaderWriters : Does the writer use libcurl?

2009-09-15 Thread Sukender
Hi Chris, Hi Robert, Okay, so if I sum up: - I need to code a call to the libcurl plugin - I need to code the write part of the libcurl plugin I don't know if the decision to code it soon will be taken. Let's bet it won't before a long time... Well anyway, as reading from a stream (FTP)

Re: [osg-users] ReaderWriters : Does the writer use libcurl?

2009-09-15 Thread Robert Osfield
Hi Sukender, On Tue, Sep 15, 2009 at 4:00 PM, Sukender suky0...@free.fr wrote: - I need to code a call to the libcurl plugin Possibly not. It should be possible to get the Registry to fallback to using the curl plugin in the same way as it works for reading. Or your just preload the curl

Re: [osg-users] [osgPlugins] Error when loading DirectX .x files

2009-09-15 Thread Judy Hartley
Thanks, Ulrich! That helps a lot. I had finally found a different method use, i.e. converting the .x files into .obj files (of course I had to write a conversion script first) but the load time was getting bad. Then I found the osgconv tool and converted all of my .obj files into .ive files

Re: [osg-users] [osgPlugins] Error when loading DirectX .x files

2009-09-15 Thread Jason Daly
Judy Hartley wrote: Thanks, Ulrich! That helps a lot. I had finally found a different method use, i.e. converting the .x files into .obj files (of course I had to write a conversion script first) but the load time was getting bad. Then I found the osgconv tool and converted all of my .obj

[osg-users] Precipitation without using shaders

2009-09-15 Thread Cristina Paponi
Hi, I need to implement precipitation on a system that doesn't support shaders. Is there anybody that has an example of precipitation in OSG without using shaders? Thank you! Cheers, Cristina -- Read this topic online here:

Re: [osg-users] Problems port OSG 1.0 - 2.8.2; Can't embed viewer in external app

2009-09-15 Thread Natasha Westland
The osgviewerGTK example does work but that embeds the viewer in its own application. I have tried modifying the OSGGTKDrawingArea class so that it would work given my scenario but to no avail (for example, I can't just open a gtk dialog when instantiating an OSGGTKDrawingArea object. I

Re: [osg-users] Problems port OSG 1.0 - 2.8.2; Can't embed viewer in external app

2009-09-15 Thread Jason Daly
Natasha Westland wrote: The osgviewerGTK example does work but that embeds the viewer in its own application. I have tried modifying the OSGGTKDrawingArea class so that it would work given my scenario but to no avail (for example, I can't just open a gtk dialog when instantiating an

[osg-users] LineSegmentIntersector, IntersectionVisitor and children

2009-09-15 Thread Julien-Charles Levesque
Hi, I am using LineSegmentIntersectors with IntersectionVisitor to do some ray casting in my architecture. Everything works fine to select and move objects. However I want to implement a drag-and-drop interaction, where I can move an object onto another and have something different happen. I

[osg-users] Huge triangle mesh / Geometry Clipmap

2009-09-15 Thread David Angelo
Hi folks, I am starting to work on a project, where I have to render and manipulate huge triangle meshes (~200 mio. vertices). The meshes are seismic horizons, which are quite similar to ordinary terrain meshes. However, theses meshes can and will have holes. I think both VPN and osgEarth (which

Re: [osg-users] Focus object/scene (clamping frustum)

2009-09-15 Thread Johannes Schüth
Hi, I see. Of course thats very simple. I had something much more complicated in my mind. (Checking if the frustum planes intersect with some bounding box lines or so..) Anyway.. Here is my solution: Code: osg::Vec3f eye, center, up; float n; viewA1-getCamera()-getViewMatrixAsLookAt(eye,

Re: [osg-users] Ann: osgBoostPython

2009-09-15 Thread Martin Mueller
Hi Jean-Sébastien, I like your approach. The python interface has a good pythonic feeling, subclassing NodeVisitor works fine and building up geometry does also work fine! I'm definitely going to contribute to this. I'm working on wrapping some methods of osg::Camera just now. I can also

Re: [osg-users] [build] OSX 10.6.1 Snow Leopard woes

2009-09-15 Thread E. Wing
I am not currently on the OSG track so I'm afraid I can't be much help at the moment. But be aware that in Snow Leopard, the default architecture is 64-bit (assuming you are on a 64-bit machine which almost all Intel Macs are now). All the Carbon stuff in osgViewerCarbon will likely not compile in

Re: [osg-users] osgvolume 2D image stack

2009-09-15 Thread Johannes van Jaarsveld
Thanks Robert, will do so -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=17402#17402 ___ osg-users mailing list osg-users@lists.openscenegraph.org