JacquesLucke / animation_nodes

Node based visual scripting system designed for motion graphics in Blender.
Other
2.29k stars 342 forks source link

Grid Mesh: Support Z Division #245

Closed LeonCheung closed 9 years ago

LeonCheung commented 9 years ago

It would be even cooler to support Z. :)

JacquesLucke commented 9 years ago

This doesn't work with Polygons. I can make another node that just calculates the points using X, Y and Z divisions in a cube. (Maybe also edges but I think that is not thaat important) I don't know how to call this node yet..

LeonCheung commented 9 years ago

3D Grid?

og76 commented 9 years ago

u can always have line mesh with Z > grid arrange on xy >>> 3d grid ... ;)

JacquesLucke commented 9 years ago

Coool idea haha. I'm currently working on all the Euler socket stuff but maybe after that. There are still quite a few other issues and pull requests -.-

og76 commented 9 years ago

BTW, I was thinking that maybe poly /edge indices should fall into separate node than vectors.

That is, for ex. I made these extrusions with several variants, matrix (product..), vector list, spline etc, but in the end they all had same meshing algo. So I'm thinkin that algorithm may just go into a separate node so that it can be used for meshing other cases, made with a tree. The circle @kmeirlaen was doing could benefit of such extrusion, but you can also generate random circles and then, the poly indices would use same algo

ok, I'll have to show what I mean ...

LeonCheung commented 9 years ago

@og76 I tried, failed with an error. What is wrong with that?

subprogram

og76 commented 9 years ago

just that. instancer node cannot be in a loop or group. (object instancer 001 = second instancer node..)

og76 commented 9 years ago

also same for text separate..

LeonCheung commented 9 years ago

Then I was puzzled by that idea... I wonder how to make your 3d grid solution happen. 0.0

og76 commented 9 years ago

u create the new list (blue), then use that for the normal instances (pink)

3d grid

JacquesLucke commented 9 years ago

3d grid

JacquesLucke commented 9 years ago

oh within 6 seconds haha

LeonCheung commented 9 years ago

Thumb up to both! :100:

Leroy-X commented 9 years ago

the same function in Cinema 4D called "Cloner", similar to "object instancer" node, just you can set distribution in 3D space by xyz division, hope add this function by a node, maybe can set the grid shape, eg.cube and sphere, thanks to JacquesLucke & LeonCheung : )

Leroy-X commented 9 years ago

Hi , how about distribute instance object by the mesh volume, it's will cool, maybe called it "Volume sampling", but not for the cycles, the grid of volume, can make pixel style, like the "Pixel" film. god ,and used with rigid body, it's great idea,ha-ha

LeonCheung commented 9 years ago

@JacquesLucke I think it can be simply put into the Templates list? @Leroy-X I think volume sampling is not very likely to happen currently. As Jacques said AN is more on animation than simultion. For grid volume, you can always turn to the pure particle system. ;)

JacquesLucke commented 9 years ago

Yes I can make a template from that.

Leroy-X commented 9 years ago

I'm sure the template is good for the beginner, like me :P