Re: [osg-users] [osgCompute] FBO RTT - CUDA Kernel - FBO RTT Setup

2011-10-10 Thread J.P. Delport
Hi, On 07/10/2011 17:32, Conan Doyle wrote: I went to the link for the cuda_auto_contrast example... looks like it is part of flitr(?)... do I have to build all of flitr to build this cuda example? you only have to build it if you want a running example. Alternatively you can just study the

Re: [osg-users] [osgCompute] Experiences with osgCompute

2011-10-10 Thread Jens Orthmann
Hi Bart, We renamed modules and computation nodes. We also get rid of the META_object macros for user defined computations. Check out the current SVN version and see it done. Check out the example as well: http://www.cg.informatik.uni-siegen.de/data/Downloads/svt/osgCUDAEverywhere.zip

Re: [osg-users] [osgOcean] Above Water Fog artifacts.

2011-10-10 Thread Kim Bale
Hi Bawenang, At a quick glance, I can see the problem mix problem. Thanks for reporting it. With regard to the sky dome, you'll have to add the fogging code into the skydome shader, it can be found in the resources. The skydome was only really there for the example program and they've all be

Re: [osg-users] Off-axis projection on multiple screens

2011-10-10 Thread Robert Osfield
Hi Chris, I've just scanned your email quickly as I have tone of emails to get through this morning. Here's a couple of high level suggestion to get your on your way: 1) You conceptually have a single View, with multiple Cameras - the osgViewer library is designed to fit this concept

Re: [osg-users] [OpenGL ES] Bug in loading textures

2011-10-10 Thread Robert Osfield
Hi Hartwig, Once you are happy with your solution could please post the full source code files that you've changed to osg-submissions. Thanks, Robert. On Sat, Oct 8, 2011 at 11:50 AM, Hartwig Wiesmann hartwig.wiesm...@wanadoo.nl wrote: Hi, this is my patch for

Re: [osg-users] [vpb] Large VPB Database build fails without

2011-10-10 Thread Robert Osfield
Hi Torben, You'll need to track down which tasks have failed and then look at the associated log output for that task to see what might have gone wrong. Robert. On Sun, Oct 9, 2011 at 12:12 PM, Torben Dannhauer tor...@dannhauer.info wrote: Hi, I try to build a database with DEM but without

Re: [osg-users] BUG report: Collada orthographic support

2011-10-10 Thread Robert Osfield
Hi Rodrigo, I've been offline for 5 days due to our telecoms provider screwing up our connection, so haven't been able to chip in. I'll through in a couple of thoughts. First thing, a missing feature ain't a bug. A bug is something that has been written to provide a particular feature that

Re: [osg-users] [vpb] Large VPB Database build fails without obvious reason

2011-10-10 Thread Torben Dannhauer
Hi Robert, I already did this and posted the output. Here is die log file again: [code] 0.129: Adding terrainTile 5.253: getTaskName(5,33,0) no nest, 6 12 5.253: DataSet::_run() 6 12 17.588 : started DataSet::createDestination(13) 17.637 : Time for

[osg-users] Using osgViewer::Viewer with independant slave cameras

2011-10-10 Thread Carsten Scharfe
Hi! I've search the archives, but could not find any posts on this topic. I want to setup a osgViewer::Viewer with 4 cameras, which can be controlled independently from the master camera, if the user click-drags in the corresponding viewport. Creating the viewer and 4 slaves is not a problem,

Re: [osg-users] Using osgViewer::Viewer with independant slave cameras

2011-10-10 Thread Robert Osfield
Hi Casten, If you have 4 independent views then you should use the CompositeViewer class. osgViewer::Viewer is for a single View. See the osgcomposite viewer example. Robert. On Mon, Oct 10, 2011 at 2:37 PM, Carsten Scharfe cscha...@dspace.de wrote: Hi! I’ve search the archives, but could

Re: [osg-users] [osgCompute] FBO RTT - CUDA Kernel - FBO RTT Setup

2011-10-10 Thread Conan Doyle
I finally got everything built and running... one more question... What type of video format does the cuda_auto_contrast example takes as input. I had an avi (not sure of any specfics) on my machine and the example read it and display it (as far as I could tell) but it was scrolling in a funky

Re: [osg-users] Using osgViewer::Viewer with independant slave cameras

2011-10-10 Thread Carsten Scharfe
Hi Robert, Yes, that's what I did first. But unfortunately my 4 views have to be embededded in windows (derived from CDocuemntView on Windows). Creating a view for each window also creates a new graphics context, since each view has its own window handle. Therefore much memory is consumed,

Re: [osg-users] Using osgViewer::Viewer with independant slave cameras

2011-10-10 Thread Robert Osfield
Hi Carsten, On Mon, Oct 10, 2011 at 3:32 PM, Carsten Scharfe cscha...@dspace.de wrote: Any idea on how I could convince each view of a composite viewer to share the graphics context? CompositeViewer works just fine with a sharing a context between all views. The osgcompositeviewer does

Re: [osg-users] [osgCompute] FBO RTT - CUDA Kernel - FBO RTT Setup

2011-10-10 Thread J.P. Delport
Hi Conan, be sure to update to the latest revision of flitr and osgCuda. There has been some fixes (very recent) for the proper handling of cudaMallocPitch allocated arrays. The example should be able to read any movie file that FFmpeg can consume. It would even consume single .jpg/.png

[osg-users] Simulation Loop in osgWidget

2011-10-10 Thread dan marshal
Hi, I am using osgWidget to run osg inside a window frame. It works fine when I use viewer.home(); No problem. However, if I use: while(!viewer.done()) { viewer.frame(); } to get access to the simulation loop, the widget window is lost and osg is

Re: [osg-users] Changing vertex color without calling setColorArray

2011-10-10 Thread Dan West
Thanks, that makes sense. I'll give those a shot. I'm also having another issue that's proving to be more annoying now. It seems to be the same as the problems in this thread: http://forum.openscenegraph.org/viewtopic.php?t=401 Thanks for the help. I'm going to make a new post as this is a

[osg-users] Colors bleeding between ShapeDrawables and Geometries

2011-10-10 Thread Dan West
Hi Guys, I've come across this issue a few times now, and its gotten to the point where I really need a resolution. The details seem similar to what's documented here: http://forum.openscenegraph.org/viewtopic.php?t=401 Essentially, I'm setting two geometries to different colors, but they

Re: [osg-users] Simulation Loop in osgWidget

2011-10-10 Thread Jeremy Moles
On Mon, 2011-10-10 at 17:25 +0200, dan marshal wrote: Hi, I am using osgWidget to run osg inside a window frame. Can you clarify what you mean by this? osgWidget is an OSG nodekit, I'm not entirely sure what to derive from this statement (which makes the rest of the e-mail impossible to

Re: [osg-users] Colors bleeding between ShapeDrawables and Geometries

2011-10-10 Thread Paul Martz
This type of problem is usually caused by missing data: colors, normals (if lighting), or texture coordinates (if rendering with texture enabled). You might also see behavior that *looks* like the missing data problem if you change the normal, color, or tex coordinate data dynamically and

Re: [osg-users] Colors bleeding between ShapeDrawables and Geometries

2011-10-10 Thread Dan West
I've exported my subgraph to the .osg format, but it wouldn't load in osgviewer (possibly since it's a camera?). I've looked at the exported file in a text editor, but it looks to me like everything has vertices, colors, and normals as they should. Could someone with more experience take a

Re: [osg-users] Colors bleeding between ShapeDrawables and Geometries

2011-10-10 Thread Paul Martz
On 10/10/2011 4:55 PM, Dan West wrote: I've exported my subgraph to the .osg format, but it wouldn't load in osgviewer (possibly since it's a camera?). I've looked at the exported file in a text editor, but it looks to me like everything has vertices, colors, and normals as they should. Could

Re: [osg-users] Simulation Loop in osgWidget

2011-10-10 Thread dan marshal
Very sorry! If I create a window using: osgViewer::Viewer viewer; osgWidget::WindowManager* wm = new osgWidget::WindowManager( viewer, WINDOW_WIDTH, WINDOW_HEIGHT, MASK_2D ); .. .viewer.home(); I get a viewer object inside a window. ===