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

2011-01-04 Thread Stephan Huber
Hi, Am 04.01.11 01:06, schrieb Nikos Yiotis: [i]Warning: Could not find plugin to read objects from file Images/land_shallow_topo_2048.jpg. View::setUpViewAcrossAllScreens() : Error, no WindowSystemInterface available, cannot create windows. Viewer::realize() - failed to set up any

[osg-users] How to control the model in MFC program?

2011-01-04 Thread Duan Linghao
Hi, I designed a program based on MFC dialog.I want to rotate and move the model by some buttons.And I send a message using the function PostMessage(..) in the handeler of the buttons.In the handeler of the message I modify the viewmatrix and call frame() to render the model.The problem is

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

2011-01-04 Thread Nikos Yiotis
Hi, I thought OSG_NOTIFY_LEVEL was a cmake flag not an env. flag. So I built source from scratch, generating xcode.proj and not makefile this time. I set OSG_WINDOWING_SYSTEM to Cocoa (from Carbon) OSG_DEFAULT_IMAGE_PLUGIN_FOR_OSX to imageio (from quicktime) and it builds, although I get

[osg-users] imageio pluggin, MACOSX 10.6, x86_64bit build question

2011-01-04 Thread Ted Morris
Hi, I would like to know why the imageio pluggin .so wasn't invoked for jpg/png images with my cocoa/x64 bit build of osg on MACOSX 10.6. For example, running some of the osg examples indicates that it was unable to load the images (although they were correctly found). Could it be the .png or

[osg-users] LineSegmentIntersector::Intersection contains no indexList

2011-01-04 Thread Oliver Neumann
Hi, I am trying to get uv coordinates and color of a point I found using the LineSegmentIntersector. My problem is that the found intersection has no indexList so I cannot use the code used in osgmovie. This short code example should boil down to the point: Code: osg::Box* b = new osg::Box(

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

2011-01-04 Thread Garrett Cope
Hi J-S, I think you're original suspicion is probably right. It looks like the C runtime libraries from VS2005 are still being loaded, though I can't figure out where from... Hopefully once I resolve that the problem will go away. I will update after that. Thanks for advice! --Garrett

Re: [osg-users] NVIDIA OptiX cross-format

2011-01-04 Thread PC John
Hi Holger, I would prefer to have an export to OptiX native format. And if there is none, to have a class that would take OSG scene graph as a data source, setups OptiX node graph and does OptiX rendering, returning final image. That would be a very cool class for anyone interested in

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

2011-01-04 Thread Jean-Sébastien Guay
Hi Garrett, I think you're original suspicion is probably right. It looks like the C runtime libraries from VS2005 are still being loaded, though I can't figure out where from... Hopefully once I resolve that the problem will go away. I will update after that. Thanks for advice!

[osg-users] Getting window id for all platforms

2011-01-04 Thread Anders Backman
Hi all. I would like to get the window reference for all platforms using osgViewer::Viewer. I found the thread: http://www.mail-archive.com/osg-users@openscenegraph.net/msg12957.html Where I used this code for win32: http://www.mail-archive.com/osg-users@openscenegraph.net/msg12957.html

[osg-users] osgUtil::Optimizer MERGE_GEODES MERGE_GEOMETRY TEXTURE_ATLAS_BUILDER

2011-01-04 Thread Jean-Sébastien Guay
Hi all, I am trying to improve our scene graph layout for some of our data, and my first step is to improve our use of osgconv with various optimizer settings. We've been using it for a while but never really examined the results to see if it was doing what it was supposed to. Starting with

Re: [osg-users] Problem with Transparency when using osg::Cameras

2011-01-04 Thread George Bekos
Hello and happy new year! Sorry for the late response. What I am doing is explained in my last post there: http://forum.openscenegraph.org/viewtopic.php?t=7296 I use cameras because of their culling mask. This way I can control which geometry (under the camera node) should be drawn. Is there any

[osg-users] Using TerrainManipulator when the projection matrix is in Ortho mode

2011-01-04 Thread David Glenn
Greetings! I'm experimenting using the a scene graph projected in Ortho mode using the setProjectionMatrixAsOrtho function on the camera and while using the TerrainManipulator on the camera I noticed that the pan is working, but zoom is not! In fact, the only way that I could affect any kind

Re: [osg-users] Problem with Transparency when using osg::Cameras

2011-01-04 Thread George Bekos
Paul Martz wrote: Why do you need a camera in the scene graph for this? Why not use the top-level viewer camera? -Paul Hello Paul! Because I need multiple cameras. Each camera has a different culling mask for drawing different parts of the same graph. My diagram here has one

Re: [osg-users] Using TerrainManipulator when the projection matrix is in Ortho mode

2011-01-04 Thread Jean-Sébastien Guay
Hi David, I'm experimenting using the a scene graph projected in Ortho mode using the setProjectionMatrixAsOrtho function on the camera and while using the TerrainManipulator on the camera I noticed that the pan is working, but zoom is not! In fact, the only way that I could affect any kind

Re: [osg-users] Using TerrainManipulator when the projection matrix is in Ortho mode

2011-01-04 Thread David Glenn
Skylark wrote: Hi David, Well in fact yes... Zoom, in camera-speak, is making the FOV of the camera smaller/larger. What the normal manipulators do to zoom is to move the camera itself, i.e. dolly in/out in camera-speak. You may have seen the dolly in zoom out effect in movies, where

Re: [osg-users] Using TerrainManipulator when the projection matrix is in Ortho mode

2011-01-04 Thread Paul Martz
Here we go again... :-) On 1/4/2011 10:56 AM, David Glenn wrote: Greetings! I'm experimenting using the a scene graph projected in Ortho mode using the setProjectionMatrixAsOrtho function on the camera and while using the TerrainManipulator on the camera I noticed that the pan is working,

Re: [osg-users] Using TerrainManipulator when the projection matrix is in Ortho mode

2011-01-04 Thread Jean-Sébastien Guay
Hi David, I was just hoping (agenst hope) that someone had dealt with this before I - since there are some planview's out there that i heard of that was done in OSG! Well that doesn't mean no one has ever dealt with these issues, just that no one has ever contributed a camera manipulator

Re: [osg-users] Using TerrainManipulator when the projection matrix is in Ortho mode

2011-01-04 Thread Paul Martz
On 1/4/2011 1:14 PM, Jean-Sébastien Guay wrote: Hi David, I was just hoping (agenst hope) that someone had dealt with this before I - since there are some planview's out there that i heard of that was done in OSG! Well that doesn't mean no one has ever dealt with these issues, just that no

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

2011-01-04 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
Dan, Take a look at the osgintersection example. It uses osgSim::LineOfSight class... Regards, -Shayne -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Darko Radiceski Sent: Monday, January 03, 2011

Re: [osg-users] Using TerrainManipulator when the projection matrix is in Ortho mode

2011-01-04 Thread David Glenn
Greetings! Sorry all! I didn't mean to open old battle wounds Paul. I was just wondering if anybody else has written anything before I tacked it on my own! Frankly I've never had the chance to look into the logistics of it yet! I just got the command from Mt High that my project has to be

Re: [osg-users] imageio pluggin, MACOSX 10.6, x86_64bit build question

2011-01-04 Thread Ulrich Hertlein
Hi Ted, On 5/01/11 0:12 , Ted Morris wrote: I would like to know why the imageio pluggin .so wasn't invoked for jpg/png images with my cocoa/x64 bit build of osg on MACOSX 10.6. For example, running some of the osg examples indicates that it was unable to load the images (although they

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

2011-01-04 Thread Nikos Yiotis
I ran OSG_NOTIFY_LEVEL=debug through a script, but my echo $ENV_PATH still appears blank. How can I verify that it is set? Again, all set with PATH, DYLB_PATH, etc. Cheers, Nikos -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=35313#35313

Re: [osg-users] runtime error

2011-01-04 Thread Michael W. Hall
Thanks for the reply. Might have confused you. I have a 64 bit machine and a 32 bit machine. I have been building osg on both machines and installing the openscenegraph package on both from package manager. I just removed the osg package with package manager and then got the latest trunk on

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

2011-01-04 Thread Ulrich Hertlein
Hi Nikos, regarding osglogo not being found, it is built as part of the examples, so BUILD_OSG_EXAMPLES must be on in cmake. I'm building on 10.6.5 with Makefiles (using gcc 4.2.1) and set the following in cmake: BUILD_OSG_APPLICATIONS=ON BUILD_OSG_EXAMPLES=ON CMAKE_OS_ARCHITECTURES=x86_64

Re: [osg-users] Using TerrainManipulator when the projection matrix is in Ortho mode

2011-01-04 Thread Jean-Sébastien Guay
Hi Paul, I prefer to have control over both FOV and distance (yes, even in perspective mode), as they clearly produce different results, and sometimes I want one effect and sometimes I want the other. I see your point, but I would say that depends on the expected level of the users of your

Re: [osg-users] runtime error

2011-01-04 Thread J.P. Delport
Hi, remove the openthreads packages using package manager as well. If that doesn't work, please post the output of: ldd osgversion on both machines jp On 05/01/11 03:29, Michael W. Hall wrote: Thanks for the reply. Might have confused you. I have a 64 bit machine and a 32 bit machine. I

Re: [osg-users] How to control the model in MFC program?

2011-01-04 Thread Duan Linghao
Hi,sorry,problem solved.Something wrong with my projection matrix. ... Thank you! Cheers, Duan -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=35318#35318 ___ osg-users mailing list

Re: [osg-users] Using TerrainManipulator when the projection matrix is in Ortho mode

2011-01-04 Thread J.P. Delport
Hi, I've made an ortho texture manipulator before for panning and zooming an image. Basically you have to scale the ortho projection before doing any translation/rotation. osg::Matrixd OrthoTextureManipulator::getInverseMatrix() const { return osg::Matrixd::translate(-_center) *

Re: [osg-users] Limitation in current ImageLayer serializer

2011-01-04 Thread Christiansen, Brad
Hi, I have found a little more time to work on this issue but have become stuck. Using a user serializer I have managed to read and write the image sucsessfully in the case that the image is loaded, but cant get it to work in the case the image should not be loaded. I think the issue is that,