Re: [osg-users] osgPPU CUDA Example - slower than expected?

2011-01-03 Thread J.P. Delport
Hi, I don't have any other suggestions than to use a GL debugger to make sure nothing is going to CPU or to try the new CUDA functions in osgPPU or your own code. I remember something in the GL to CUDA stuff bugging me, but cannot remember the details. AFAIR something was converting from

Re: [osg-users] File Size Limit on OSG::Image?

2011-01-03 Thread J.P. Delport
Hi, On 23/12/10 04:19, Blake Mason wrote: If you just need to create a high resoultion rendering from of a single frame, you can modify the camera's projection matrix to capture many smaller segments, something like this: camera-setProjectionMatrix(projMat * osg::Matrix::scale(xSegments,

Re: [osg-users] [vpb] VPB vs osgEarth...

2011-01-03 Thread J.P. Delport
Hi, On 27/12/10 20:37, Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC wrote: Glenn and Robert, Thanks much for the input. I'll try out osgEarth to see how it works in a small app I have... I've found osgearth_cache useful to pre-build pyramids. rgds jp Thanks again, -Shayne

Re: [osg-users] [vpb] Terrain creation procedure in vpb

2011-01-03 Thread J.P. Delport
Hi, I suggest you manipulate your input data using gdal tools and then just stick the results into vpb. Trying to align and crop data in vpb is difficult. jp On 31/12/10 12:08, Vijeesh Theningaledathil wrote: Hi Martin, Thanks for your information, I'll try with better resolution imagery

Re: [osg-users] PagedLOD problem (setFileName vs addChild)

2011-01-03 Thread Tim Moore
On Sun, Jan 2, 2011 at 1:56 PM, Anders olofsson anders.olofs...@biologigrand.ac wrote: Hi, I have a set of terraintiles (wavefront obj meshes) with 2 lods wich I'm trying to use with the PagedLOD node like this: I know that you are trying to set up a simple test, but some aspects of your

[osg-users] OSG 2.9.11 and CEGUI 0.7.5

2011-01-03 Thread Aitor Ardanza
Hi, I'm updating my projects to this version of OSG, and now I have a problem ... If I define viewer.setThreadingModel (osgViewer:: Viewer:: singlethreaded), I get an error in ot12-OpenThreadsd.dll(Thread:: setProcessorAffinity ()). I use singlethreaded for CEGUI ... if you do not define

Re: [osg-users] PagedLOD problem (setFileName vs addChild)

2011-01-03 Thread Anders olofsson
Hi! Thanks for reply! Yes, its a first simple test to figure things out. I'll test to have the lowest lod first in list and do the bounding sphere calculation manually. How would I implement a quadtree for this?. I mean, I know the algorithm and so but not how to get it to work with osg and

[osg-users] runtime error

2011-01-03 Thread Michael Hall
Ok. I installed OSG using apt-get and it installed 2.8.1 on both my 32 and 64 bit machines. Both ran the osgversion command. However, I removed the package from the 32 bit machine and tried to compile the latest. The compile goes fine no errors, the make install works great. However, when

Re: [osg-users] FBX Plugin: animation speed not as expected...

2011-01-03 Thread Alessandro Terenzi
Hi everybody, I'm still testing the FBX plugin but I'm still experiencing problems with animations. The humanoid.fbx test model that comes with the FBX SDK 2011.3 is displayed incorrectly by osgviewer and by osganimationviewer too (OSG 2.9.10). In order to try to understand where the problem is,

[osg-users] NVIDIA OptiX cross-format

2011-01-03 Thread Holger Helmich
Hi, i am working on an OptiX integration into an OSG based application. I am wondering if there are other projects about this issue. Currently i study to set up an serialized OptiX format (e.g. binary or XML) including reader and writter, what could be something like done for OSG

[osg-users] draw a partial torus and a half sphere

2011-01-03 Thread lucie lemonnier
Hi, I want to draw a partial torus, I know the center, the starting angle, the angle of arrival, the minimum radius and maximum radius. I want to draw also a half sphere! Can you help me? Thank you! Cheers, lucie -- Read this topic online here:

[osg-users] Fwd: Optimizing performance of LineSegmentIntersector

2011-01-03 Thread Murray G. Gamble
Good Day, A very Happy New Year to All! Are there any thoughts regarding this inquiry that I'd posted a couple of weeks ago? To further clarify, I guess what I'm asking is: Is it possible to specify that only the highest LOD be paged in (ignoring all other LODs), or alternatively is it

Re: [osg-users] OSX .app bundle internal dir path rules?

2011-01-03 Thread Ted Morris
Hi Len, so is that the actual name of the folder @executable_path within the App bundle, or are you inferring that is to be substituted with the actual exec path where the binary is, e.g., @MacOS, is s etc.? Just want to make sure I understand-- Thanks a lot for your help! Cheers, Ted

Re: [osg-users] OSX .app bundle internal dir path rules?

2011-01-03 Thread Len White
Yes, that's literally the keyword that mac libraries understand that will be translated to the appropriate path. There are others, I believe, but that's the only one I use. -Len On Jan 3, 2011, at 11:11 AM, Ted Morris ted.mor...@gmail.com wrote: Hi Len, so is that the actual name of the

Re: [osg-users] OSX .app bundle internal dir path rules?

2011-01-03 Thread Stephan Maximilian Huber
Am 03.01.11 18:11, schrieb Ted Morris: so is that the actual name of the folder @executable_path within the App bundle, or are you inferring that is to be substituted with the actual exec path where the binary is, e.g., @MacOS, is s etc.? the @executable_path / @loader_path are special

Re: [osg-users] large VBOs for multiple Drawables

2011-01-03 Thread Terry Welsh
Hi Jason, Thank you for the suggestion. I feel like I'm missing something still. Is there an Optimizer feature or something that combines Arrays for you? Or did you write a bunch of custom code that processes your models after you load them? -- Terry Welsh mogumbo 'at' gmail.com

Re: [osg-users] large VBOs for multiple Drawables

2011-01-03 Thread Jason Beverage
Hi Terry, I was generating all my geometry in code so I wrote some custom code to pack them tightly into a single vertex array. Jason On Mon, Jan 3, 2011 at 1:05 PM, Terry Welsh mogu...@gmail.com wrote: Hi Jason, Thank you for the suggestion.  I feel like I'm missing something still.  Is

Re: [osg-users] how to do shadows in large scenes?

2011-01-03 Thread David Callu
I Peter, PSSM is probably the best choice for large scene. PSSM technique have been fixed in osg 2.9.9 or 2.9.10 for minor bug. If you didn't see shadow in your scene with this technique, this probably a bug in your code. Take a look to osgshadow example to know how use it. You have to run

Re: [osg-users] draw a partial torus and a half sphere

2011-01-03 Thread David Callu
Hi Lucie, You can fill an osg::Geometry by computing yourself the vertices position. take a look to osggeometry to know how to use and fill osg::Geometry. You can also use an osg::Shape combined with osg::ShapeDrawable to draw a half sphere. Take a look to osgshape to know how to use osg::Shape

Re: [osg-users] how to do shadows in large scenes?

2011-01-03 Thread Peter Amstutz
Thanks, I'll have to determine if upgrading to osg 2.9.10 is feasible for my project. Or perhaps osgShadow could be backported to osg 2.8.3? After writing that email, I also discovered osgShadow::StandardShadowMap and osgShadow::LightSpacePerspectiveShadowMap, both of which work quite a bit

Re: [osg-users] runtime error

2011-01-03 Thread David Callu
I Michael, This seem that you run 64bit osgversion executable and use 32bit libosg.so library, or vice versa. You have to choose one version to install on your computer, or put the directory containing the right version of osg library in first place of your PATH environment variable ex : if you

[osg-users] VS2010 Memcpy error with osgviewerMFC example

2011-01-03 Thread Garrett Cope
Hi, I recently moved from VS2005 to VS2010 and all of my MFC based projects now die with the same memory access error in memcpy_s() when setting up the manipulator. The osgviewerMFC example experiences the same issue. Has anyone gotten an osg-MFC example compiled through VS2010 yet? It seems

Re: [osg-users] VS2010 Memcpy error with osgviewerMFC example

2011-01-03 Thread Jean-Sébastien Guay
Hi Garrett, I recently moved from VS2005 to VS2010 and all of my MFC based projects now die with the same memory access error in memcpy_s() when setting up the manipulator. The osgviewerMFC example experiences the same issue. Has anyone gotten an osg-MFC example compiled through VS2010 yet?

Re: [osg-users] VS2010 Memcpy error with osgviewerMFC example

2011-01-03 Thread Garrett Cope
Hi J-S, Thanks for the reply. I also am using OSG with VS2010 on other projects with no problems. The only time I encounter this issue is when running an MFC based OSG app compiled with VS2010. As you suggested I double checked to be sure that I am compiling with the correct library versions

[osg-users] Problem with State::convertShaderSourceToOsgBuiltins

2011-01-03 Thread Glenn Waldron
Hi Robert, I'm seeing the following GLSL compile error. It looks like the code in State::convertShaderSourceToOsgBuiltins() is inserting declarations before the #version directive, which is apparently illegal. (Only on one of our machines does OSG even go down this code path ... I am still

Re: [osg-users] OSX .app bundle internal dir path rules?

2011-01-03 Thread Ted Morris
Ah! thanks Stephan (and Len) for the follow up explanation. Now I get it. Cheers, Ted snip + Resources - cow.osg + aSampleFolder - dumptruck.osg You can use the copy-files build-phase of xcode to copy the various files to their correct locations. So, to get the path to cow.osg,

Re: [osg-users] [build] cannot build osg on mac os x 10.6.5 with gcc version 4.2.1

2011-01-03 Thread Nikos Yiotis
Hi, while my earlier built was successful ([i]osgversion[/i] outputs [i]OpenSceneGraph Library 2.8.3 [/i]) the [i]osglogo[/i] fails. I get: [i]Warning: Could not find plugin to read objects from file Images/land_shallow_topo_2048.jpg. View::setUpViewAcrossAllScreens() : Error, no

Re: [osg-users] VS2010 Memcpy error with osgviewerMFC example

2011-01-03 Thread Jean-Sébastien Guay
Hi Garrett, As you suggested I double checked to be sure that I am compiling with the correct library versions and everything checks out. Perhaps it's an MFC related project setting that changed in 2010? Do you have an MFC-OSG app compiled with VS2010 that works? Err, no. Though I would

[osg-users] [forum] Line Of Sight and skyline tools

2011-01-03 Thread Darko Radiceski
Hi all, I had a question in regards to possible examples of lines of sight or skyline tool implementations in OSG. I did notice the OSGSim LineOfSight helper class in my research and was wondering if there are any examples of that class in use. Also any examples of skyline calculation from the