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
1
vote
1 answer

How to upload an OSG-model to Google Earth?

I am programming with OpenSceneGraph (OSG) and I want to put my created OSG-model into Google Earth. I did research, but I could only find that Sketchup can directly upload its model to Google Earth, but couldn't find anything about uploading an…
yyLiao
  • 41
  • 4
1
vote
0 answers

Unable to compile OpenSceneGraph for iPhone

I want to integrate OSG to my existing project. I have no previous experience in OSG, and I am following https://github.com/openscenegraph/OpenSceneGraph as reference. However, though I update the paths and architectures for iOS 9.2, cmake fails at…
tuttu47
  • 521
  • 1
  • 4
  • 19
1
vote
1 answer

OpenSceneGraph Linker error on Mac with Macports

I am having a problem getting an OpenSceneGraph project to link properly on my Mac. I installed it via macports and I have gotten osgviewer and other osg programs to work, meaning it was compiled and linked somehow. The code is part of a larger…
msmith81886
  • 2,286
  • 2
  • 20
  • 27
1
vote
1 answer

What is the limit of the GPU range in this screenshot?

I'm currently inspecting an execution of our software through the Nsight profiler with visual studio. I'm wondering what is the trigger for the "start" and "stop" of the ranges for the CPU and GPU GPU 0 - G... as highlighted in the following image,…
Vaillancourt
  • 1,380
  • 1
  • 11
  • 42
1
vote
1 answer

Controling OpenSceneGraph camera with Cartesian coordinates and Euler angles

I am attempting to control an osg::Camera with Cartesian coordinates (X, Y, Z) and Euler angles (Yaw, Pitch, Roll) that I read in from file. Part 1 For some reason setting my roll will cause the camera to rotate around the z-axis and not the y-axis…
ASxa86
  • 123
  • 10
1
vote
1 answer

build OpenSceneGraph 3.4.0 in XCode 6.4 for iOS using CMake

I am new to OSG & CMake, and am trying to build the OpenSceneGraph for iOS as specified in the README file. Here are the platform and tools specifications. MAC OSX 10.10.4 XCode 6.4 iOS 8.4 iOS Simulator 8.4 OpenSceneGraph 3.4.0-rc9 CMake…
1
vote
1 answer

Sequential off-screen rendering / screen capture without windowing system using OpenSceneGraph

I am working currently on an off-screen renderer so that I can do Mutual Information Registration for real-world scenes. I use OpenSceneGraph to cope with the large data and automatic loading. I am having trouble getting a framebuffer capture within…
CKBergen
  • 108
  • 8
1
vote
3 answers

Import FBX to ARToolKit

I have problem about importing the FBX model. I have done it with Unity so I know the model exported well but I should do with the native code as well. I am getting error: 2015-06-02 15:20:21.721 ARAppNFTOSG[746:481003] Error: unsupported model…
jazz
  • 232
  • 1
  • 2
  • 10
1
vote
1 answer

OpenSceneGraph render a lot of nodes

Why preformance is droping down when I load for example a 4900 of nodes to scene? If there a 125 it's ok, 200 still ok, but if there are more of them rendering framerate is droping dramaticaly? Root node contains childs that contains (model (in…
Azraith Sherkhan
  • 131
  • 2
  • 11
1
vote
1 answer

How to convert osg::Node to osg::Matrix Transformation?

I am trying to move a loaded object dynamically, but to do so I need to get the 4x4 matrix for that specific object. In the code below I loaded the cessna and cow models into the scene and I want to rotate only the cow model. I am trying this…
user3138495
1
vote
1 answer

OpenSceneGraph memory management

I've recently started using OpenSceneGraph. I'm wondering how it deals with memory management( if at all ). For example, we have the geometry class. The geometry class accepts arrays of vertices, colours, texture coordinates as you'd expect. Except,…
Ben
  • 1,816
  • 1
  • 20
  • 29
1
vote
1 answer

Cannnot open include file: `osg/Node`: No such file or directory

I don't know how I should ask this question. If I make any mistakes, I would appreciate it if someone could correct them. I wrote a program in Openscenegraph from OpenSceneGraph Tutorial on Microsoft Visual Studio but when I press on Debugged, it…
Irfan Ghaffar7
  • 1,143
  • 4
  • 11
  • 30
1
vote
1 answer

installation of openscenegraph windows

I don't know how I should ask this question. If I make any mistakes, I would appreciate it if someone could correct them. I just start learning openscenegraph and try to install it in my Windows7. I open this website but puzzled with the files that…
Irfan Ghaffar7
  • 1,143
  • 4
  • 11
  • 30
1
vote
1 answer

Get actual node path of OpenSceneGraph custom osg::Drawable

I am writing a custom osg::Drawable class which needs to calculate its current distance from the camera's eye when its drawImplementation method is called. It needs to do this in order to determine the optimal number of facets for rendering. The…
1
vote
1 answer

Object coordinates

I'm working at QT application that have a OSGWidget. How could i get coordinates of picked object in osg viewer and transfer it to QT textEdit in Dialog window. Could you give advice how to extract osg::Vec3d of selected object from viewer convert…
Azraith Sherkhan
  • 131
  • 2
  • 11