Questions tagged [opensg]

OpenSG is a portable scenegraph system to create realtime graphics programs, e.g. for virtual reality applications. It runs on Windows, Linux, Solaris and MacOS X and is based on OpenGL.

OpenSG is, according to its website, a portable scenegraph system to create realtime graphics programs, e.g. for virtual reality applications. It is developed following Open Source principles ( LGPL) and can be used freely. It runs on Windows, Linux, Solaris and MacOS X and is based on OpenGL.

4 questions
3
votes
1 answer

Difference between OpenSG and OpenSceneGraph

First of all I read the offcial comparison OpenSG and OpenSceneGraph. My current goal is to create a small game engine for learning purpose. I started with pure OpenGL but then I found those scene graph libraries which are looking quite nice. I…
Maik Klein
  • 15,548
  • 27
  • 101
  • 197
1
vote
1 answer

C++ Vector Values not correct

Im in the middle of creating an application with openSG and C++. Can anyone tell me, why these lines(174ff): Vec3f snakeDirection = (1,2,3); std::cout << "direction"<< snakeDirection<<"\n"; prints direction 3,0,0 the complete code for my scene…
Manuel Graf
  • 462
  • 5
  • 20
0
votes
1 answer

OpenSG - Get each axis of each vertex

How would I go about getting each individual axis from each vertex in OpenSG? For example I want to get the x axis value "1.5" from "1.5, 3, 2".
0
votes
1 answer

C++ Comparator Not Working

I'm trying to sort a set of OpenSG points by their x coord within a set, but it doesn't seem to be working. My comparator: struct less_than_x { inline bool operator() (const OSG::Pnt3f& p1, const OSG::Pnt3f& p2) { return (p1.x() <…
jmahony
  • 166
  • 1
  • 3
  • 14