Questions tagged [mathematics]

Use of maths inside blender.

Filter by
Sorted by
Tagged with
1
vote
0answers
139 views

Using matplotlib in python script to enable plotting in add-on

i would like to create an add-on that can plot graphs using matplotlib inside the add on frame. Does anyone have any experience with using matplotlib or any other python lib in blender? Is it ...
6
votes
1answer
491 views

Clarifying Blender skeleton animation and OpenGL

I'm looking into implememting skeleton animations. I use Blender to create the armatures, export them using the IQM file format (Inter Quake Model). My first steps are to make sure that I'm getting ...
7
votes
2answers
476 views

Show banding on object

I'd like to emphasisze the '3d-ness' of my object, by applying a rectangular mesh to it, as if it were a white object in a black room illuminated only by a (far away) laser that scans horizontal and ...
2
votes
1answer
247 views

How calc value of translate with constraint_orientation=“VIEW”?

I want to translate some vertices in X axis with constraint_orientation="VIEW" but I dont' know how calc the values??... next code should work but I don´t know how calc the value in this parameters ...
2
votes
1answer
1k views

bisect plane normal (mesh and bmesh) how calc the 3th vector to mathutils.geometry?

UPDATE 1: how calc the 3th vector to mathutils.geometry.normal(vectors)?? After @Chebhou answer I tried my "bisector tool" again... with mesh and bmesh.. now the problem is the 3th vector to calc ...
1
vote
1answer
197 views

Diffuse color inheriting from background

No joke, I was in the middle of creating an example for another problem I was having when I stumbled onto some weird behavior. Can someone explain why this is doing this? It's in cycles by the way. ...
1
vote
0answers
720 views

How to move an object to a particular position using a python script?

When I import a stl object it arrived like this (front view): I have to manually rotate it until I have the two lower points of my object at the same level on the Z axis(that's what the black line ...
2
votes
1answer
258 views

Visualize radioactive gamma rays & their absorption in materials using cycles

there is a very nice tutorial showing the mathematics behind light absorption - the amount of light is getting less during it's move through colored material. - following the law of Lambert & Beer....
4
votes
1answer
303 views

How to mathematically define a torus in a volume

Using the node editor and Cycles, how can I define a material that looks like a torus? This is useful in order to render a really smooth torus, without needing to a bazillion vertices.
4
votes
2answers
232 views

Capsuling a tube shape in a volume

I have this node setup : I want to improve it a bit giving the cylinder light a capsule shape like that : This shape can be at any side, or both, you choose. The distance of the red circle to ...
5
votes
1answer
317 views

Need normalized distance between geometry bounds

I would like to get a value between 0 and 1 of the distance between the mesh bounds in an axis (Y), depending on the X value. not sure this is crystal clear but the screenshot says more than words :) ...
1
vote
1answer
235 views

A rectangular-parallelepiped of light in a volume shader

(related to this and this) Well, I'm not yet (but not so far) ready for cylinders but still trying to learn! Now let's play with rectangular-parallelepipeds and do the same thing : A shape of light ...
5
votes
2answers
605 views

A tube of light in a volume shader

As I had much fun with this (thx Chebhou) but gaussian functions are a bit too complex for me, i want my volume scatter cylinder to have simply a smaller cylinder emitting light inside it, from the ...
10
votes
1answer
2k views

Make “gaussian laser beam” (object with variable radial emission profile)

Laser beams are usually not cylinders of light, but instead they have a smooth beam profile, where they are brighter in the center of the beam and dimmer towards the sides. The cross section typically ...
6
votes
1answer
4k views

Blender for Mathematics Visualization

EDIT: For those believing that Blender is good for mathematics or want to prove it, this may be helpful: Blender + Mathifold. I hope it does indeed meet the aspects I need Blender for. I have ...
3
votes
3answers
3k views

How to calculate the direction and up vector of a camera?

I'm trying to implement a prototype for a custom render engine using blender as content creation tool. One remaining questions is: How can we calculate the direction and up vector of the camera by its ...
4
votes
1answer
618 views

Hyperbolic Solids in Blender?

How can I construct hyperbolic solids (hyperbolic cube, tetrahedron, etc.) in Blender? Below is a picture of a hyperbolic cube: Here is some more information on hyperbolic solids. Just to be ...
11
votes
1answer
6k views

What are the benefits of Quaternion rotation over Eulerian rotation?

What are some practical uses for the Quaternion? Why not just use the Euler X, Y, and Z axis rotation values? It's not intuitive how one should manipulate Quaternions. Can someone explain this?
1
vote
4answers
588 views

Is it possible to extrude along a curved path like those made by a spirograph?

I was looking at spirograph drawings and I was wondering if Blender has any way of extruding along such a path so that it could be turned into a mesh object. Here's a link to some spirograph pictures: ...
23
votes
7answers
18k views

Fractals in Blender?

Is it possible to define a true mathematical fractal in Blender? For example, would it be possible to use a script or a Blender addon to procedurally generate 3D fractal objects. This could be ...
61
votes
5answers
18k views

Is there a tool for scientific visualization using Blender?

Is there an interface or API that allows using Blender as a tool for mathematical and scientific visualization? It should allow Blender to read in data (a la gnuplot or matlab, perhaps using scipy) ...
36
votes
2answers
11k views

Generate curve from equation

I've been trying to design a dynamic sculpture which I can only define with exactitude through mathematical equations. Now, the equations yield only lines, like you can see in the animation below: I ...