Search found 8 matches
Search found 8 matches • Page 1 of 1
Hi there. I don't know wether we have acces to the boundbox in blender, but here are some functions I hope will help you, I just wrote them quickly so there might still be errors. Good luck with the script let me know if you make good progress. Ezual (Truenoeks) # BoundBox.py # 2003-09-28 import Ble...
- Wed May 28, 2003 8:24 pm
- Forum: Python
- Topic: How do I create a triangle in python?
- Replies: 0
- Views: 3923
Could someone please provide some code for creating a triangle with python --or-- Tell me why the following code -------------------------------------------------- import Blender from Blender import Mesh, Scene, Object from math import * def DrawCircle(): # Create Mesh CircMesh = Mesh.New() # Set Mi...
Problem breakdown: I'm writing a toon shader for Blender. It calculates UV coordinates for a texture which is relative to the position of the lamp, the position of the object and the position of each vertex relative to the objects. The problem is that when an object is rotated or sized the UV cordin...
1. How does the Blender co-ordinate system work? Is it spherical or cylidrical. I don't seem to be using it correctly. 2. How would one go about placing a object in the Blender 3d environment using sin cos and tan. For instance x = R * cos(Angle) in a polar co-ordinate sytem, how is x determined in ...
Hi all! I've written a script that edits the UV coordinates of a mesh to achieve toon shading using a texturemap. 1. The first problem is that material buttons of the objects that the script alter turn red and then dissapear when I exit and re-enter blender. What am I doing wrong? 2. And I repeat my...
- Wed Oct 16, 2002 8:52 pm
- Forum: Coding Blender
- Topic: Compiling Blender with Dev-C++
- Replies: 2
- Views: 7318
Has anyone tried compiling Blender with Dev-C++? If you have tried or you have any tips on how to achive this, please let me know. (A project file would be great as well!! )