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.

376 questions
0
votes
1 answer

create and export sphere using OpenSceneGraph

I've tried to create, and export a sphere using OpenSceneGraph. I've got no error message, but the exported .obj file is empty. I have no idea, what do I wrong. int main( int argc, char** argv ) { osg::ref_ptr root = new…
Iter Ator
  • 8,226
  • 20
  • 73
  • 164
0
votes
1 answer

Do Visual Studio project templates exist for Open Scene Graph?

I'm learning OSG and would like know if project templates exist. Without a template I'm forced to add the linkers and libraries every time that I want make a new project in Visual Studio. Is there a way I can create a template?
0
votes
1 answer

Using OpenSceneGraph to detect two mice?

There is osgGA::GUIEventAdapter in OpenSceneGraph that could detect mouse events. However, I want the program to detect two mice on the same computer and the program can only treat two mice as one. I know there is a Windows MultiPoint Mouse SDK, but…
lightrek
  • 951
  • 3
  • 14
  • 30
0
votes
2 answers

Adjust view matrix for axis indicator

I am trying to configure the osg::Camera behaviour for an axis indicator for another viewport's camera (in most CAD applications there is a little model representing each of the worldspace axes, in each of the 3D viewports). I do this by pulling the…
cmannett85
  • 21,725
  • 8
  • 76
  • 119
0
votes
2 answers

Compile OpenSceneGraph with Cmake under Windows

I am trying to set up Openscenegraph 3.0.1 with Cmake. I read different blog posts but it doesn't work. I set up the paths, click compile and selected VS11 (because I have VS 2012) and use native compiler. Then I directly get this error: CMake Error…
Bernhard
  • 444
  • 1
  • 4
  • 19
0
votes
1 answer

Osg Shadows are vibrating

I am using osgShadow::ShadowMap to create shadows: shadowedScene = new osgShadow::ShadowedScene; shadowedScene->setReceivesShadowTraversalMask(ReceivesShadowTraversalMask); …
mucisk
  • 247
  • 5
  • 13
0
votes
1 answer

Qt Child Frame passing KeyEvents to Parent Frame

I have implemented an OSGQt based model viewer. I am currently attempting to reposition submodels by changing their properties in a child QFrame to the main MainWindow based viewer frame. The child frame is non-modal and the key events are being…
whatnick
  • 5,400
  • 3
  • 19
  • 35
0
votes
1 answer

Callback method cannot access member variables or instance

I am writing for a simulation that uses an old 3D model file format (Carbon Graphics' GEO, if you're interested), and the way the OpenSceneGraph plugin for this model format updates its internal variables is by you registering a callback method for…
drearyworlds
  • 341
  • 2
  • 6
0
votes
1 answer

OSGViewer in Qt's TabWidget

I am using OpenSceneGraph 3.0.1 and having a problem with the Qt integration using the osgQt::GLWidget when adding it to a tab control during startup (inside the constructor of my main window. MainWindow::MainWindow(QWidget* parent) : …
Beachwalker
  • 7,685
  • 6
  • 52
  • 94
0
votes
2 answers

Designing a 3D room in openSceneGraph

I have just started learning OpenSceneGraph and I'm trying to simulate moving around in a 3d room (walk-through in a house). My idea is to draw closed rectangular cubes as walls and something similar for floors and ceiling and then position the…
mots_g
  • 637
  • 8
  • 27
0
votes
1 answer

open scence graph non-uniform terrain support

I would like to add terrain to my project, which uses OSG. I've read osgTerrain documentation. As I understand from it's interface, it treats data as uniform height field -- grid of heights. I want terrain to be non-uniform. It would be represented…
kassak
  • 3,974
  • 1
  • 25
  • 36
0
votes
1 answer

Is there a quick way to convert a .ive file to a .dae file?

I'm looking for a way to convert a .ive file to .dae. I already tried using the osgconv in 3.0.1 and failed.
Nirko
  • 1
  • 2
0
votes
0 answers

Binary operations and Simple Solver

I'm making a small demo to suggest Qt and OSG at my company to make some things easier to everyone working with me. But I need to do it rather quickly. I need a library for 2D and 3D binary operations on 2D and 3D geometry that will give a result…
Dmitry K.
  • 313
  • 3
  • 17
0
votes
1 answer

Does OpenSceneGraph use the core profile?

..as well as extending our support for desktop/workstation OpenGL with support for OpenGL 3.x and OpenGL 4.x and associated cutting edge extensions I was wondering if it is possible to use the core profile, or if they rely on the compatibility…
Maik Klein
  • 15,548
  • 27
  • 101
  • 197
0
votes
1 answer

OSG with QWidget shows extra border

I have modified the osgViewerQt example in order to load a point cloud and visualize it in a Qt application. As you can see in the attached image, the cloud point cloud is shown but there is an extra border in the window (see the arrows). I spent…
Adri C.S.
  • 2,909
  • 5
  • 36
  • 63