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:

3246 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
  • 6,045
  • 4
  • 37
  • 68
45
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
  • 461
  • 1
  • 4
  • 4
42
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,265
  • 6
  • 28
  • 36
36
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.
Glebka
  • 1,420
  • 3
  • 20
  • 37
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
  • 21,946
  • 60
  • 170
  • 271
30
votes
7 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
  • 828
  • 2
  • 9
  • 18
29
votes
6 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,424
  • 7
  • 25
  • 47
28
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,867
  • 20
  • 39
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,777
  • 1
  • 22
  • 49
24
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
  • 538
  • 1
  • 6
  • 23
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,382
  • 2
  • 12
  • 31
20
votes
2 answers

Blender vs. Unity

I want to make a 3D game, preferably one that can be played in a browser. Some people say blender, some say unity. What are the pros and cons of each?
John
  • 15,418
  • 12
  • 44
  • 65
19
votes
2 answers

Is there a 3D format which is a 3D extension to SVG?

SVG is the W3C's standard for 2D vector graphics. Something quite solid. Is there a 3D version of SVG? A kind of extension of it, so converting from .svg to .ext and reverse is quite straight forward programatically.
Hugolpz
  • 17,296
  • 26
  • 100
  • 187
18
votes
7 answers

How to make an object invisible at a particular keyframe without moving it in Blender (2.59)?

I'm quite new to blender, and I'm doing some experiments with it. I've been searching for a way to make an object disappear from sight at a particular key-frame, without moving it out of the camera view. E.g. at frame 1, cube is there, at (0, 0, 0)…
Vaillancourt
  • 1,380
  • 1
  • 11
  • 42
18
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,536
  • 11
  • 51
  • 93
1
2 3
99 100