Questions tagged [openscenegraph]

Openscenegraph is an OpenGL renderer and scene management API/toolkit.

Openscenegraph, abbreviated OSG, is in their own words "an open source high performance 3D graphics toolkit". It is written in C++ and is highly object-oriented. The code is licensed under their own derivative of LGPL.

373 questions
39
votes
2 answers

How To Get File In Assets From Android NDK

I'm trying to access an image file in the assets folder from the native side. Now I can successfully search through the assets folder and its subdirectories locating the particular file that I am looking for: AAssetDir* assetDir =…
Robert
  • 600
  • 1
  • 5
  • 11
31
votes
11 answers

3D modeling for programmers

I'm studying Computer Graphics as part of my curriculum at my university. The course focuses on scene modeling, rather than rendering or other aspects of computer graphics. We're learning the math behind it and OpenSceneGraph to actually run…
Asaf R
  • 6,580
  • 8
  • 41
  • 64
31
votes
6 answers

Suggestion to which C++ 3D engine is better between Ogre, Irrlicht and OpenSceneGraph

I'm quite familiar with 3d graphics (I developed a little and simple 3d game engine for an academic project). But now I have to develop an audio/video tool in C++ that requires also some 3d features inside it, so I can't rely on my little program…
Heisenbug
  • 37,414
  • 27
  • 126
  • 181
17
votes
5 answers

In a multi-threaded C++ app, do I need a mutex to protect a simple boolean?

I have a multi-threaded C++ app which does 3D rendering with the OpenSceneGraph library. I'm planning to kick off OSG's render loop as a separate thread using boost::threads, passing a data structure containing shared state in to the thread. I'm…
Brian Stewart
  • 8,647
  • 11
  • 49
  • 65
16
votes
4 answers

Integrating OpenSceneGraph with Qt

I have fiddled around with OpenGL on Qt. But now I want to have complex scenes. (With multiple COLLADA/MD2 models loaded). For this I'm thinking of using OpenSceneGraph (OSG). Is it possible to integrate OSG with Qt? If so how to? Thanks.
coder9
  • 1,551
  • 1
  • 27
  • 51
15
votes
1 answer

VS2012 MSVCR120D.dll is missing

I am trying to set up my project in VS2012 to successfully compile and run an OSG code for debugging. I am also using OSG debug libraries. Compilation and linking end successfully but after I run the binary I get an error saying that MSVCR120D.dll…
Kalam
  • 152
  • 1
  • 1
  • 7
12
votes
3 answers

Creating a Sphere (using osg::Geometry) in OpenSceneGraph

I spent quite some time to get this working, but my Sphere just won't display. Used the following code to make my function: Creating a 3D sphere in Opengl using Visual C++ And the rest is simple OSG with osg::Geometry. (Note: Not ShapeDrawable, as…
Apache
  • 956
  • 5
  • 16
  • 38
12
votes
6 answers

Solving error MSB8011: Failed to register output

A strange error: error MSB8011: Failed to register output. Please try enabling Per-user Redirection or register the component from a command prompt with elevated permissions. C:\Program …
Nav
  • 16,995
  • 26
  • 78
  • 120
9
votes
1 answer

The type in a dynamic_cast must be a pointer or reference to a complete class type, or void *

I am hoping there is someone out there who understands why the code below fails. I am trying to get an instance of PositionAttitudeTransform (Openscenegraph class) from an osg::Node* node object. But there is the compiler error below in bold. void…
Kobojunkie
  • 5,739
  • 30
  • 99
  • 162
9
votes
1 answer

Getting Xcode to recognise C++ header files without the '.h' extension (OpenSceneGraph)

OpenSceneGraph uses header files without the '.h' extension. Is there a way of getting Xcode to recognise the syntax as C++ and therefore allow me to have highlighting and jumping to definitions etc? Eg: No highlighting:
bjz
  • 941
  • 1
  • 8
  • 26
8
votes
3 answers

OSG: Get transform matrix from a node

First af all i have to apologize for my english. I'm working on an application where we have to know at each moment the attributes of each node (position, rotation...), so I thought about taking from the scene graph the transformation matrix of each…
Lord_Herman
  • 97
  • 1
  • 10
7
votes
1 answer

Debugging into external libraries in QtCreator

I have been using Qt Creator to develop some Qt apps recently with no problems. This week I started to use Qt Creator to work on an Open Scene Graph application. I have all of the source (.cpp and .h) files for Open Scene Graph and used those to…
mdoran3844
  • 660
  • 6
  • 14
7
votes
2 answers

How can I hunt down these OpenGL calls that are distorting objects in my scene?

I'm mixing two libraries that use OpenGL: Qt and OpenSceneGraph. I'm targeting OpenGL ES 2, so everything is done with shaders and ES 2 compatible calls. I'm specifically using OSG with QtDeclarative by trying to paint OSG onto a QDeclarativeItem.…
Prismatic
  • 3,190
  • 3
  • 33
  • 55
6
votes
1 answer

Qt5.6: high DPI support and OpenGL (OpenSceneGraph)

I have a minimal application which uses QOpenGLWidget that integrates an OpenGL wrapper library (OpenSceneGraph). I am trying to figure out how to correctly use the Qt5.6 support for high DPI screens when dealing with OpenGL content like I use. My…
vicrucann
  • 1,515
  • 17
  • 30
6
votes
1 answer

How to get cmake's PKG_CHECK_MODULES to find my cairo library in Windows

I'm trying to build OpenSceneGraph's pdf plugin on a win32 box. The plugin is using cmake's PKG_CHECK_MODULES macro to find cairo and poppler libraries. I don't know how to install these in such a way as to help it find them though.
Michael Daum
  • 760
  • 5
  • 12
1
2 3
24 25