(I posted this in another place, but now think this is the place... I am sorry...)
I am new to this.
All I want to do is convert a blender scene and view it on a web page
I have been teaching myself blender... (and I can make a test scene)
And I have taught myself WebGL coding... (and have made some simple 3D interactive web pages (buttons, mouse interaction, etc)
Now I need to push the limit to really see if this is what I wish to use for the task I must undertake.
I installed python (as it appears I should).
And at this point I am totally lost.
I do not know what to install and where to install and how to activate it....
... in order to export my blender scene to JSON...
Could someone direct me please?
Reply with quote
If you are using new Blender (2.63), you do not need to install Python to use Blender. You may need it for the various libraries like JSON. In that case, you want Python 3.2.
Basically, you are writing an exporter:
Read the data using Blender's Python API (docs are on the Blender Wiki)
Write the data out in your preferred format.
Blender comes with a number of exporters you can use as a starting point. OBJ is fairly simple. There are also some template examples in the Text Editor.