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

OSG plugin not found?

OSG reports that it could not find a plugin like the text plugin or a jpeg plugin. I have already built OSG from source and built even the third party dependencies. Why am I getting this error?
Nav
  • 19,885
  • 27
  • 92
  • 135
0
votes
1 answer

linker on debian does not see symlined shared libs

I have got this error: /usr/bin/ld: cannot find -llibosg while GCC C++ Linker invoked with: g++ -i -L/home/user/osg/lib -o"WCC" [my files] -llibosg -llibOpenThreads -llibosgQt -llibosgViewer -llibosgText command locate libosg.so…
Wiciu
  • 125
  • 1
  • 7
0
votes
1 answer

Is there a GDAL driver for the OpenSceneGraph osg \ ive format(s)?

I'm trying to write an application that can take DEM data and spit out a format recognizable by OSG (OpenSceneGraph) in C++. I have been unable to find a driver that supports osg/ive format for GDAL, and I wouldn't know where to begin writing my…
jakev
  • 2,815
  • 3
  • 26
  • 39
0
votes
1 answer

RGB image from osg::viewer

I have code which is something like this: osgViewer::Viewer viewer; viewer.setSceneData(scene); viewer.setCameraManipulator( tracker.get() ); viewer.setUpViewInWindow(10,10,1024,768,0); viewer.realize(); Now, this viewer object gives me a view of…
Balaji Sridharan
  • 339
  • 1
  • 5
  • 7
-1
votes
1 answer

C++/CLI osg : Create Array element osg::ref_ptr

Now I make osg::Vec3 type Line: public osg::ref_ptr _pointArray; loadVec3(); CreateLine(_pointArray); void loadVec3() { //read cordinate from csv file par 1 line` while ((line = streamReader->ReadLine()) != nullptr) …
yossyno
  • 1
  • 1
-1
votes
1 answer

Step by step addDrawable and visualize current scene graph with OpenSceneGraph

I would like to run this pseudo-code with OpenSceneGraph: while (!done) { addNodeToSceneGraph(); displayCurrentSceneGraph(); waitForKeyPressed(); } How can I implement it, preferably using the standard OSG API? EDIT Here is a concrete…
Paul Jurczak
  • 7,008
  • 3
  • 47
  • 72
-1
votes
1 answer

OpenSceneGraph in Fedora

I install OpenSceneGraph in Fedora 22 by this commands: $ sudo dnf install OpenSceneGraph-devel $ sudo dnf install OpenSceneGraph but when use osgviewer or osgversion command, osg not run and this messages are shown: osgviewer: error while…
Ahmad Sarabian
  • 144
  • 3
  • 13
-1
votes
1 answer

converting STL model to osg format

I want to convert STL model to osg format using visual studio c++ and openSceneGraph can any one help me Thank you in advance
-1
votes
1 answer

OpenSceneGraph brighten the scene

I have an .obj textured mesh. I am using OpenSceneGraph for loading and display my mesh. osg::Node * cytBuilding = osgDB::readNodeFile( "model/level_2_0_0.obj"); osg::Group * root = new osg::Group(); root->addChild( cytBuilding ); …
mkuse
  • 2,250
  • 4
  • 32
  • 61
-1
votes
2 answers

Algorithm to correct wrong normal direction on 3D model

i am new to 3D math, but i am facing a problem that when i am importing a model to CAD program - (single sided light/ open scene graph) - there are a lot of faces from meshs, Black ! When i flip the normal manually for each of the faces i got the…
Saif_Qaher94
  • 72
  • 11
-1
votes
2 answers

Advice for library with GeoSpatial Mapping that allows users to place moving objects on a 2D map

I'm looking for a library/framework/toolkit that will allow me to render a 2D map from real GeoSpatial data and draw objects on the 2D map. Requirements: Map Tiling (when I zoom into the map, i want a more detailed image) Pan (ability to use the…
John-Luke Laue
  • 3,736
  • 3
  • 32
  • 60
-1
votes
1 answer

OpenSceneGraph text display

I'm trying to learn how OpenSceneGraph work, so I've follow some tutorial. So far, everything worked, but now, I got problem with text. I got no building error, but when i'm launching the program, i got the following messages : (1) "Unhandle…
-1
votes
1 answer

Getting error trying to match function parametr void*&

I am trying to get the EnvironmentMap using the function bool SILVERLINING_API GetEnvironmentMap(void *&texture, int facesToRender = 6); I am working with OpenSceneGraph which is a API over OpenGL. The function description says: \param texture A…
Stranger1399
  • 81
  • 2
  • 12
-1
votes
1 answer

How to use windows raw input in OpenSceneGraph?

I want to use windows raw input to enable two mice input on one computer. However, I failed to figure out how to get the WM_INPUT message. It seems to get the message, I need to do this: MainWndProc (HWND hwnd, UINT nMsg, WPARAM wParam, LPARAM…
lightrek
  • 951
  • 3
  • 14
  • 30
-1
votes
1 answer

Need plan of action to upgrade graphics toolkit in company's applications

My job is to upgrade all of our applications that use OpenSceneGraph (an openGl toolkit) version 0.9.9 to the latest and greatest 2.8. Well quite a few caveats come with this task: 1.) After version .9.9 there was a major overhaul the the core…
1 2 3
25
26