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
10
votes
2 answers

How to create logic bricks programmatically in Blender?

I would like to let my initializing script to create additional sensors/controller/actuators necessary for an interactive Blender application (not necessarily a game). This is preferable for two reasons: I can use this script in multiple…
muhuk
  • 15,777
  • 9
  • 59
  • 98
10
votes
2 answers

Exporting blender file with textures

Can any one give me an idea how i can export/share a .blend file in blenders with the textures? Baking textures is one way but i want to export the file without baking and all the textures. thanx
user3303274
  • 729
  • 2
  • 8
  • 21
10
votes
2 answers

Is it possible to create Blender file (.blend) programmatically with Python?

I know Python is the standard scripting language for use inside Blender, but I didn't find a way to create a .blend file with python. What I want to do is not to use python inside blender, but rather "use blender (libs?) inside python". My planned…
heltonbiker
  • 26,657
  • 28
  • 137
  • 252
10
votes
1 answer

How do i read out Custom Properties in Blender with Python?

I want to read out Custom Properties of a Blender Object using the scripting mode in Blender itself. So far I found only possibilities to read out Custom Properties you created yourself in the scripting mode. But I want to read out Custom Properties…
Daniel Töws
  • 347
  • 1
  • 5
  • 21
10
votes
3 answers

Blender scripting: Indices of selected vertices

Q: In Blender 2.64, I have a mesh in edit mode with some vertices selected. How can I get or generate a list of indices of the selected vertices in a Python script? I find the Blender Python API reference utterly confusing to navigate, and Google…
DCS
  • 3,354
  • 1
  • 24
  • 40
10
votes
2 answers

Blender Python scripting, trying to prevent UI lock up while doing large calculations

I am working in blender doing a script for N number of objects. When running my script, it locks up the user interface while it is doing its work. I want to write something that prevents this from happening so i can see what is happening on the…
JaredTS486
  • 436
  • 5
  • 16
9
votes
1 answer

Convert 3D model to SceneJS JSON, including texture

Motive I'm trying to create a small demo application using WebGL. I chose to use SceneJS, because it seemed an easy framework and would more than suffice for this purpose. I have downloaded a couple of .blend models (Amy Rose, amongst others) and…
GolezTrol
  • 114,394
  • 18
  • 182
  • 210
9
votes
1 answer

In Blender, How do you split/extract multiple shapes from inside one object into multiple objects?

Ok while watching a tutorial I stupidly missed the part that you have to add a shape in object mode to create a new object. Well I now have 5 shapes in one object and can't color them differently. If I wasn't as far in I would just recreate them,…
Jo Albright
  • 560
  • 1
  • 5
  • 14
9
votes
1 answer

shininess, emissive and specular are not a property of this material in React VR

I'm developing an application with React VR and I've created an 3D pokeball with blender. I've export this as Wavefront .obj file and use it in my React VR application. In the console I see this warnings: THREE.MeshBasicMaterial: shininess,…
H. Pauwelyn
  • 13,575
  • 26
  • 81
  • 144
9
votes
1 answer

Blender doesn't like FBX 6100 files

Blender seems to not want to import a FBX 6100 file. Is there any way I can convert the file, or even better, open it directly from Blender?
notanonymous
  • 93
  • 1
  • 1
  • 4
9
votes
3 answers

Model with bones animation (blender export) animating incorrectly in three.js

I am currently working on skeletal animation tests in three.js. I have a simple model which animates just fine in blender. Basically it consists of three stacked, bending cubes. When I export the blender file to the three.js using the blender export…
Patrick
  • 1,235
  • 1
  • 12
  • 15
8
votes
2 answers

Change viewport angle in blender using Python

I'm trying to find out if there is a way to change the viewport angle in blender using Python. I would like a result like you would get from pressing 1, 3, or 7 on the num. pad. Thank you for any help
user764323
  • 309
  • 4
  • 11
8
votes
1 answer

how to show a message from a blender script?

Is there a way to show a simple message box with a text from a blender script? For example if i'm having an error during execution.
Andrew
  • 24,218
  • 13
  • 61
  • 90
8
votes
2 answers

Using Blender for physics simulations

I've been looking at different ways of creating a certain physics simulation. What I am trying to do is to 3D model the motion of a body under the effects of various forces over time. I was originally looking at coding something in c++ using a…
Anon
  • 5,103
  • 11
  • 45
  • 58
8
votes
1 answer

Solve z-Up exported collada file from blender in OpenGL

I export models from Blender to Collada with animation. As it is known, Blender is a right-handed system so its up axis is z and OpenGL ES2 is Y-Up. For static meshes I can rotate the object around x axis for 90° degrees but when I apply the…
Mohamed
  • 337
  • 3
  • 18