1

I got an 3D-Scene loaded into Blender. Now I want to get some information like objects in scene, camera perspective and so on. Furthermore I want to get the opengl device context and render context. Something like a pointer on a structure.

Is it possible to get these information with an external console-application written in c/c++?

Jeyaram
  • 9,158
  • 7
  • 41
  • 63
Tobias
  • 427
  • 4
  • 19

1 Answers1

2

If you just want to read some data, you can write an exporter. I wrote GLrawd to export some basic scene data for my OpenGL apps, so you can take a look at that.

There is also a "readblend" library that you can use.

If you're looking to actually control a blender scene from some external application, I think you'll have to use sockets to communicate the desired commands. In blender, you can set up the receiving side as a simple python script.

  • Ok. Thank you for that advice. I'm looking forward to solve this problem. If I find a solution, I share it here. – Tobias Oct 15 '12 at 10:19