Questions tagged [openinventor]

An object oriented 3D graphics toolkit implemented on top of OpenGL.

21 questions
5
votes
1 answer

SoRayPickAction in Open Inventor?

Sorry if this is a repeat, but I'm trying to figure out the implementation of SoRayPickAction in Open Inventor. I'm trying to implement it so that it will, when the mouse is clicked, select a particular node so then I can translate, rotate, etc. I…
m00nbeam360
  • 1,357
  • 2
  • 21
  • 36
3
votes
3 answers

Tiled rendering of viewports bigger than GL_MAX_VIEWPORT_DIMS

I'm creating a class that takes an OpenGL scenegraph and uses QGLFrameBufferObject to render the result. To support (virtually) infinite sizes I'm using tiling to extract many small images that can be combined into a big image after rendering all…
larsmoa
  • 12,604
  • 8
  • 62
  • 85
3
votes
3 answers

Convert Coin3D SoOffscreenRenderer to QImage and render with OpenGL

I'm trying to display a Coin3D/Open Inventor scene with QT in a QGLWidget, by using the SoOffscreenRenderer and I need help converting it to a QImage What I tried so far, is render the scene into SoOffscreenRenderer and get the buffer like…
Dreiven
  • 687
  • 3
  • 9
  • 22
3
votes
1 answer

How to identify a separator and how to use it with a path Open Inventor

I have a few separators such as desk, lamp, and frame in my scene graph. When I add them to a separator called, "root," are they then made into nodes? Like if I wanted to use them with a path, is there an equivalent to path->containsNode for…
m00nbeam360
  • 1,357
  • 2
  • 21
  • 36
2
votes
2 answers

GLSL texture returns zero after OpenInventor upgrade from 9.8 to 10.4.2

While upgrading our source code from OpenInventor 9.8 to 10.4.2 I encountered that some color computed in the fragment-shader is always black in 10.4.2 while in 9.8 everything works fine. Normally we use our own computed texture, but for debugging…
Dragoner
  • 123
  • 1
  • 12
2
votes
3 answers

How can I draw a line in Open Inventor 3D Graphics API?

I'm new to Open Inventor 3D Graphics API and I just want to draw a line between given to 3-D coordinates. Let's say the first point is 0,0,0 and the second is 1,1,1. The documentation and examples of this API are really awful and can't get it out…
mkocabas
  • 703
  • 6
  • 19
2
votes
1 answer

Setting a 3D environment reference

I'm setting a Frustum camera to create a Virtual Reality environment that looks like a window when you look at the screen. I've checked all the documentation of the SoCamera, SoFrustumCamera, SoPerspectiveCamera and SoOrtographicCamera, but culdn't…
Joao Vitor
  • 23
  • 3
2
votes
2 answers

OpenInventor to PCD: cannot convert RGB to decimal

I am writing a small program to convert an OpenInventor file to a PCD one. To do so I have two files in input, namely the OpenInventor file and a JPEG image. The texture coordinates are float values between 0.0 and 1.0. I use OpenCV to extract the…
sciarp
  • 314
  • 3
  • 14
2
votes
2 answers

Which Open Inventor is in Petrel & Ocean 2012.1?

I know Petrel & Ocean 2012.1 release is right around the corner. Hence I am wondering which version of Open Inventor will be used, and where I can find more information about it.
Gaute Gamst
  • 118
  • 6
1
vote
0 answers

What can cause an MFC OpenInventor program to freeze inside nvwgf2umx.dll

I am currently facing the hardest bug chase of my young developer career. The software we provide is used only in the company internally having several hundred users / computers, but only on one the software does not work. The problematic program is…
Dragoner
  • 123
  • 1
  • 12
1
vote
2 answers

How does open inventor / coin3d enable two-sided rendering like OpenGL?

Coin3D uses single-sided rendering by default like the image below: (source: gitee.com) How does open inventor / coin3d enable two-sided rendering like OpenGL?
风何之
  • 43
  • 3
1
vote
1 answer

Texture getting stretched across faces of a cuboid in Open Inventor

I am trying to write a little script to apply texture to rectangular cuboids. To accomplish this, I run through the scenegraph, and wherever I find the SoIndexedFaceSet Nodes, I insert a SoTexture2 Node before that. I put my image file in the…
Mancunia89
  • 295
  • 1
  • 6
  • 16
1
vote
1 answer

Find out, if hardware supports specific OpenGL feature

How do I find out, if a specific OpenGL feature is supported by hardware or not? In my case I want to know, if two-sided lighting is available in hardware. An approach using OpenInventor would be just as well.
Martin
  • 1,261
  • 7
  • 11
0
votes
1 answer

Object/Material is infront of Camera

I have start working with openinventor. I have a socube in viewer. I would like to check if socube is infront of camera or not. So when I move cube somewhere away from camera view value should be false. SoSeparator root = new SoSeparator();…
1Aisha
  • 1
0
votes
0 answers

Scene Graph with VTK

It seems like there isn't anything about creating a scene graph with VTK. I have to replace Coin3d (and SoQt) with VTK in a software. Since Coin3d is focusing on scene graphs i don't know how i could replace some classes provided by Coin3d (for…
Awastaken
  • 29
  • 2
  • 7
1
2