Questions tagged [blender]

Blender is the free open source 3D content creation suite, available for all major operating systems under the GNU General Public License. Also see the https://blender.stackexchange.com Stack Exchange site for more Blender-related questions.

Blender is a free and open-source 3D computer graphics software product used for creating animated films, visual effects, interactive 3D applications or video games. Blender's features include 3D modeling, UV unwrapping, texturing, rigging and skinning, fluid and smoke simulation, particle simulation, animating, match moving, camera tracking, rendering, video editing and compositing, featuring also a built-in game engine.

It is mainly written in C. Python is used for scripting and part of the user interface.

Resources:

2757 questions
57
votes
2 answers

Blender: Walk around sphere

In order to understand blender python game scripting, I currently try to build a scene in which one can walk around a sphere, using the FPSController structure from this link. For gravity and FPSController orientation I tried to construct a python…
Anaphory
  • 5,456
  • 4
  • 33
  • 60
36
votes
5 answers

Running python script in Blender

I installed Blender 2.6 and I'm trying to run a script called drawcar.py (Which uses PyOpenGL) I looked around the documentation for importing a script and could only access Blender's python console. How do I run drawcar.py from the Linux terminal…
CyberShot
  • 2,095
  • 6
  • 22
  • 34
32
votes
1 answer

How can I open .obj files in blender?

Each time I try to open a wavefront obj file I get an unsupported file type error. Why is this? Isn't .obj a 3D standard?
andandandand
  • 20,448
  • 55
  • 163
  • 248
32
votes
3 answers

rendering and saving images through Blender python

I am trying to render and save multiple images through python script in blender. I know how to render and save the image through the Blender GUI but I want to do it all through my script since I am using a set of nested loops and need to save…
user2047506
  • 331
  • 1
  • 3
  • 4
27
votes
5 answers

Blender export to Three.js

I just created a random mesh using Blender and I want to export it to be used in HTML5 via the Three.js. I haven't seen any decent tutorials that shows how to do this. Can anyone help me out with this? I just want the 3D Mesh to display in the web,…
AJ Naidas
  • 1,360
  • 6
  • 22
  • 44
27
votes
3 answers

what is the framework using in Blender GUI?

What is the framework using in Blender GUI? QT? Or Tk, GTK+, FOX toolkit, wxWidgets? Because Blender is cross-platform application.
GLeBaTi
  • 1,210
  • 3
  • 18
  • 35
25
votes
0 answers

How to render depth-values based on the distance to the image plane in Blender

I want to render a depth map of a scene in Blender (v2.65a, using the Cycles engine) that uses the distance to the image plane (or any plane parallel to it, e.g. yz-plane) as the depth value. It is possible to use the composite nodes to render a…
Michael Mauderer
  • 3,361
  • 1
  • 21
  • 48
24
votes
6 answers

Blender fbx import from ascii format

I have a FBX model which I would like to open in Blender but when I try to import the model it says: ASCII FBX files are not supported. Is there a way to import the model to Blender somehow? I don't have access to any Autodesk software.
hamalaiv
  • 738
  • 1
  • 7
  • 18
22
votes
3 answers

Blender 2.6: Select object by name through Python

How do you select objects by name through Python in Blender 2.6? In 2.4-2.5, one could simply use: bpy.ops.object.select_name("OBJECT") ... but this has been discontinued in 2.6, to be replaced by what? In 2.6, one can get the currently selected…
Jollywatt
  • 1,282
  • 2
  • 11
  • 30
21
votes
1 answer

What are the specifications for a Wavefront .obj file?

I want to write a parser for Blender's .obj file. The file format seems self explanatory, but also it seems to be missing some data. For example, a simple cube (the default Blender cube) has 8 lines of vertexes, but I was expecting to see 36 lines…
James
  • 490
  • 1
  • 5
  • 22
18
votes
5 answers

Sample COLLADA files for development of an importer?

I'm preparing to write a COLLADA importer in Java. There aren't any pre-written importers, and even if there were I would probably be picky, so I believe this is best. I am going with COLLADA 1.4 because I do not need the 1.5 features, and many…
Ricket
  • 31,028
  • 28
  • 106
  • 137
17
votes
1 answer

The correct bone data to export from blender to view in ogl?

Edit (Original post below): So I have come up with the following code. I can export the mesh, bone structure and animations. I can animate a simple skeleton. But for some reason if I animate more than one bone, something goes wrong and the arm will…
ashleysmithgpu
  • 1,537
  • 14
  • 36
17
votes
7 answers

Python subprocess.call not waiting for process to finish blender

I have a python script in blender where it has subprocess.call(os.path.abspath('D:/Test/run-my-script.sh'),shell=True) followed by many other code which depends on this shell script to finish. What happens is that it doesn't wait for it to finish,…
Tak
  • 3,362
  • 10
  • 41
  • 80
17
votes
4 answers

How do I use Blender models in Java?

Just a general question really? Let's say I am making a game and have made a character model in Blender. How would I use this model in Java? Would I import it somehow? Thanks.
Garee
  • 433
  • 2
  • 4
  • 6
16
votes
2 answers

Blender vs. Unity

I want to make a 3D game, preferably that can be played in browser. Some people say blender, some say unity. What are the pros and cons of each? Which one do you prefer? Why? Also, do you have any suggestions for tutorials?
John
  • 13,752
  • 11
  • 42
  • 64
1
2 3
99 100