Re: [osg-users] OSG 3.0.1 on iOS 5

2012-02-22 Thread Büsra Gülten
Hi Stephan, thank you for your reply. After I compared my project with the iPhone-Example on github, I found out that the file PerlinNoise.cpp is missed in OpenSceneGraph-3.0.1-zip (which I downloaded from OSG-Website). This was the reason for the osgUtil-error mentioned above. Another

Re: [osg-users] osg, macosx-x86_64 imageio plugin color byte swap problem

2012-02-22 Thread Stephan Maximilian Huber
Hi Chris, I tested the imageio-plugin on os x 10.7 with an older 32bit build (from Nov 2011) and it works for me. I tested only png and jpg files. HTH, Stephan Am 21.02.12 19:51, schrieb Chris Hanson: I had a user contact me for some assistance on this issue. I'm not an OSX/imageio guy,

Re: [osg-users] OSG 3.0.1 on iOS 5

2012-02-22 Thread Stephan Maximilian Huber
Hi, Am 22.02.12 09:51, schrieb Büsra Gülten: Another point I want to indicate is when main-method look like this: @autoreleasepool { return UIApplicationMain(argc, argv, nil, NSStringFromClass([osgAppDelegate class])); } Looks like your main-file gets compiled as

Re: [osg-users] osg, macosx-x86_64 imageio plugin color byte swap problem

2012-02-22 Thread Ulrich Hertlein
Hi Chris, On 22/02/12 20:29 , Stephan Maximilian Huber wrote: I tested the imageio-plugin on os x 10.7 with an older 32bit build (from Nov 2011) and it works for me. I tested only png and jpg files. I've also tested imageio on 10.7 with a current 64-bit build (trunk) and it works okay (png,

[osg-users] [osgCompute] Computation on a rendered texture quad

2012-02-22 Thread Jaco Cronje
Hi, What does the applyAsRenderTarget function do, and when should I call it ? I have a TextureQuad with a osgCuda::TextureRect on it. The textureRect is updated every frame with a frame from a video. I want to render the quad on the screen and use the same osgCuda::TextureRect in my

Re: [osg-users] Disable all antialiasing

2012-02-22 Thread Aurelien Albert
Hi, I'm facing a problem when creating my FBO : Code: Warning: detected OpenGL error 'invalid operation' at After Renderer::compile RenderStage::runCameraSetUp(), FBO setup failed, FBO status= 0x8cd6 Warning: FrameBufferObject: could not create the FBO RenderStage::runCameraSetUp(), FBO setup

Re: [osg-users] Disable all antialiasing

2012-02-22 Thread Aurelien Albert
Hum... I think I'm swapped two parameters. The following seems to work : Code: p_renderTexture-setInternalFormat(GL_RGBA32I_EXT); p_renderTexture-setSourceFormat(GL_RGBA_INTEGER_EXT); p_renderTexture-setSourceType(GL_BYTE); Could you explain me the difference between these 3 parameters ?

[osg-users] Controlling osgViewer through QScriptEngine

2012-02-22 Thread Philipp Moeller
Hello, has anybody tried to integrate osgViewer with a QScriptEngine? I'm currently adding scripting support to a Qt based application and wanted to see if anybody else has experience with it. Currently I see only one option: write a class derived from QObject that has the necessary slots to

Re: [osg-users] Getting animations initial frame bones matrix

2012-02-22 Thread Aitor Ardanza
Hi, I managed to see the information I need debugint the proyect in visual studio, but I don't know how to reach it .. Code: for(int i=0;i\_AnimationManager-getOSGManager()-getAnimationList().size();i++){ osg::ref_ptrosgAnimation::Animation anim =

Re: [osg-users] Is a render to texture master camera critical?

2012-02-22 Thread Martin Großer
Hi, I try the RTT master camera and for one view it works fine, but when I want to use multiple views in a composite viewer my trackball manipulators don't work. Only the first view get a new viewmatrix. There are any experiance about rtt cameras and camera manipulators? Thank you! Cheers,

[osg-users] Missing ot12-OpenThreadsd.dll when building staticlly

2012-02-22 Thread Renato Oliveira
Hi, I am having an issue when building my code staticlly. when the applicaiton runs, i get the error that the ot12-OpenThreadsd.dll is missing. I am using openscenegraph staticlly and also osgNV and osgNVPhysx staticlly. using only openscenegraph static libs does not give me any problem in my

Re: [osg-users] Is a render to texture master camera critical?

2012-02-22 Thread Martin Großer
Hi, Additionally, the manipulator for the first view only works if I move the window at the beginning. It seems to me it only works after the first window redraw event. I am not sure. My RTT camera has a viewport with x = 0, y = 0, width = textureWidth and height = textureHeight. Is that the

Re: [osg-users] Strange results from osgviewer

2012-02-22 Thread Chris Blizniak
Hi, The version of OSG I'm currently using is 3.0.1. I tried both source code and binaries, the same problems in both cases. Apart from the issue with displaying some of the 3D models I have noticed that I cannot see any textures I use them in my program. Even the examples provided with OSG do

Re: [osg-users] Strange results from osgviewer

2012-02-22 Thread Robert Osfield
Hi Chris, On 22 February 2012 14:57, Chris Blizniak bliznia...@hotmail.com wrote: The version of OSG I'm currently using is 3.0.1. I tried both source code and binaries, the same problems in both cases. Could you try svn/trunk. There have been a few updates to the

Re: [osg-users] Disable all antialiasing

2012-02-22 Thread Sergey Polischuk
Internal format is storage format, it specifies channels number, optionally: data type, number of bits per channel etc Source format is specification of components number, meaning and order Source type is storage data type in image used to load texture from image 22.02.2012, 17:14, Aurelien

Re: [osg-users] Is a render to texture master camera critical?

2012-02-22 Thread Martin Großer
Hello all, I note only my post sent per mail. I tried the forum and this was the first time. Sorry about the confusing mails. However I hope someone understand my problem. I would like to state my question even more clearly. When I define a viewport like setViewport(0,0,800,600) to change the

Re: [osg-users] osg, macosx-x86_64 imageio plugin color byte swap problem

2012-02-22 Thread Chris Hanson
On Wed, Feb 22, 2012 at 2:55 AM, Ulrich Hertlein u.hertl...@sandbox.dewrote: Hi Chris, On 22/02/12 20:29 , Stephan Maximilian Huber wrote: I tested the imageio-plugin on os x 10.7 with an older 32bit build (from Nov 2011) and it works for me. I tested only png and jpg files. I've also

[osg-users] KeySwitchMatrixManipulator

2012-02-22 Thread Gianni Ambrosio
Hi, I set my own KeySwitchMatrixManipulator in an osg viewer as follows: osgViewer::View::setCameraManipulator(keyswitchManipulator.get()); Now, is there a way to set one of the manipulators programmatically? I mean, the default manipulator is a TrackballManipulator, but in a particular case I

Re: [osg-users] KeySwitchMatrixManipulator

2012-02-22 Thread Robert Osfield
HI Gianni, On 22 February 2012 16:17, Gianni Ambrosio ga...@vi-grade.com wrote: Hi, I set my own KeySwitchMatrixManipulator in an osg viewer as follows: osgViewer::View::setCameraManipulator(keyswitchManipulator.get()); Now, is there a way to set one of the manipulators programmatically? I

Re: [osg-users] Rendering an OpenSceneGraph scene in Qt QuickRendering an OpenSceneGraph scene in QML Rendering an OpenSceneGraph scene in QML

2012-02-22 Thread jamie robertson
Hi, Have you seen the qml ogre demo? I assume you could do the same thing for osg. Regards, Jamie -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=45692#45692 ___ osg-users mailing list

[osg-users] Counting OpenGL Draw calls in Stats

2012-02-22 Thread Jason Daly
Hi, all, I'm interested in determining how many OpenGL draw calls are made during the rendering of a frame (counting and storing them as a Stats variable). I'm sure this is possible, but I wonder if it would be feasible to do without significantly affecting performance. Anyone have any

Re: [osg-users] Counting OpenGL Draw calls in Stats

2012-02-22 Thread Buckley, Bob CTR MDA/DES
gDEBugger has the ability to view OpenGL Call history. Can't speak on the performance hit. But, sounds like you need it in the app itself. I don't know of an internal mechanism. However, should be able to easily CASE a thin inlined OpenGL layer with metrics embedded. -Original Message-

Re: [osg-users] Counting OpenGL Draw calls in Stats

2012-02-22 Thread Jason Daly
Thanks, Bob. I've used gDEBugger for this before, but for this case, I need to get it into the OSG Stats proper. The capability isn't there yet, so I'm looking into adding it. I'm trying to gauge how feasible it would be to add this feature without adversely affecting performance. The

Re: [osg-users] Counting OpenGL Draw calls in Stats

2012-02-22 Thread Buckley, Bob CTR MDA/DES
OpenGL video driver comes to mind. Anything in the spec that facilitates this across platforms? -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Jason Daly Sent: Wednesday, February 22, 2012 1:34 PM To:

[osg-users] Help: problems of intersectorVisitor with Qtmutex

2012-02-22 Thread wang shuiying
Hello, My program has an osg::viewer as a view widget of a Qt window. An intersectorVisitor object is initialised at the start of the program. The osg::viewer updates its children nodes as a normal viewer does, and updates the transform matrix of intersectorVisitor at the same time. I

Re: [osg-users] Counting OpenGL Draw calls in Stats

2012-02-22 Thread Buckley, Bob CTR MDA/DES
A co-worker sent me this: http://www.opengl.org/sdk/tools/GLIntercept/ It wraps opengl32.dll so that it can log all calls to OpenGL Unfortunately, it appears to be Windows only. -Original Message- From: osg-users-boun...@lists.openscenegraph.org

Re: [osg-users] setViewMatrixAsLookAt in Qt

2012-02-22 Thread Tom Pearce
Hi Chris, Can you give a bit more info about what you've tried and why it isn't working? I haven't worked with osgViewerQt before, but it looks like it inherits from osgViewer::Viewer, runs in single threaded mode, and frame() is called by the paintGL method, which is presumably triggered by

Re: [osg-users] [osgPlugins] Problem in loading Shape file

2012-02-22 Thread Ulrich Hertlein
Hi Lalit, On 24/12/11 0:32 , Lalit Manchwari wrote: I followed your instruction and now program is not crashing. But in some file it does not load the complete shape file. I have attached here a shape file and its snapshot (with complete view). Please could you help. When opening the

Re: [osg-users] Counting OpenGL Draw calls in Stats

2012-02-22 Thread Jason Daly
On 02/22/2012 05:53 PM, Buckley, Bob CTR MDA/DES wrote: A co-worker sent me this: http://www.opengl.org/sdk/tools/GLIntercept/ It wraps opengl32.dll so that it can log all calls to OpenGL Unfortunately, it appears to be Windows only. Hi, Bob, I'm not really interested in any other solutions

Re: [osg-users] Testing of OpenSceneGraph svn/trunk in prep for 3.1 dev release

2012-02-22 Thread Torben Dannhauer
Hi Robert, OSG compiles and runs as expected on Kubuntu 10.04 I'll compile it on windows 7 with VS2008 Sp1 today evening. Cheers, Torben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=45704#45704