Halloween Costume ideas 2015

SVERCHOK / Parametric Snippet 9

PROCEDURAL BRICK TOWER

I am sure that at some point you will encounter situation like below. You would like to have objects placed and rotated in axis and angle that is going into the center of origin.

Thank you to Nikita for this snippet solution.

Now you can make your Babilon Tower or procedural well.

SEE ALSO: Umbrella example by Nikita and my previous Flower setup.


FORMULA: degrees(atan(n[0]/x))
If you are good with Math, or know the formula to get to things, you can use it, it is often the fastest solution.

PROCEDURAL SIMPLE CHAIR/TABLE




RANDOM RESAMPLING

Supposed we have a circle. And then we ask a drunk spider or silk worm to randomly thread inside the boundary of the circle.

Was inspired by this:
https://vimeo.com/67177328

How would you do that? Apparently the Vector Interpolation node can do this:

Then we can just "thread" it:

For circle made with many points, when we randomly "sampling" it we seem to have almost evenly random points along the original circle.

However, that's not really the case. If the original circle was more like triangle (made of 3 points only), we get something like below:


My trick is to "Resampling Boom" it, breaking each edges into separate parts. We can then reconnect and thread it.



What interesting is how each "separate edges" are randomly resampled along edges, that if we try to reconnect them, the original points become the gaps.


That might be something you want at some point, but I wish there is a clever trick to close the gap. So, I will leave that as an open question (?)

Meanwhile, if we just want the thread, such as created by silk worm, we can do that easily:


If we mix Blender's own Particles and Sverchok, and this kind of threading, we can end up yet with another tangled beautiful procedural 3DFont.




A simpler example will be yet another BARCODE PATTERN:



CIRCULAR BARCODE:

Sorted by Axis:

Blender Array Modifier + Sverchok

I realized that I might spend too much time doing this procedural stuff in Sverchok Add-On that I almost forgot that there are cool features of Blender that can be used together with this Add-On. This is certainly what makes the whole thing powerful.


ARRAY MODIFIER COMBO

Let's try this one.
A Cone + Array Modifier + A Curve.

Can you guess where I am going with this? Not yet? How about if I mentioned "Fit Curve".



A LIVE Fit Curve option for Array Modifier has something clever in it. Apart from being fast in calculation, it can also function as duplicator along curve. It knows the length of the curve and adjust the object so that it will fit when placed along the curve.


Combined with Curve Modifier, we got something that's doing the placement of object along curve. You know this already right? Even cooler thing about this is, is the ability to Tilt and Shrink Fatten.




The result is deforming and skewing the objects though. We may or may not want that, but anyhow, for now, we can simply ignore it.

Supposed now we replace the Cone data with a Plank.


Now, let's see what we can do to this setup, inside Sverchok:

Suddenly we have a setup where we could adjust the parameter inside and outside. A duet between Blender Modifier and Sverchok!

Save us a lot of complex node-tree network to achieve similar thing inside Sverchok alone.


NOTE: I think there is some kind of limitation here where we cannot just clones edges along the Curve Path. It does not make sense to fit a thin edge along edge. We need to use object with Face at least.

DUPLIFRAME COMBO
Now, you could also use the Dupli Frame thing, another special Blender thing. This will prevent the skewing thing to happen.



LIMITATION: 
Unfortunately, the Dupli objects are not something that Sverchok can bring in, so we may need to bake the Dupli before hand. However, I am adding a request of this feature.

UPDATE: Sverchok reading the Dupli Objects is not going to happen very soon. We need another way to get this working. Maybe using Particles Instancing.

WHAT CAN WE MAKE?

What can we do with this setup? Well, use your imagination and you can create things like:
- Roller Coaster
- Railway Track
- Telephone Poles

Hair kind of strand?

Ultra modern architecture or sculpture?



SV INSTANCER NODE (NEW!)


There is now "Instancer" node inside Sverchok. This is really, really cool, because now you can have some kind of ability to instances and clones many complex objects as a real objects. The actual objects if direct from 3D view, and what we can control is the placement of object clone matrix and their transforms (scale, move, rotate, and angle).

Previously, when we "clone" objects using Matrix, we really are dealing with Mesh object and that can be heavy to the system (of course). However, with Instances, you know we can really have many objects, with Millions of Tris and it will still performance fast. Blender is capable of that.

Warn you, this instance is still a Beta node, so you might find some glitches, but it can be used already. Sometimes it corrupts the Blend file (cannot be opened), but you can always re-append the node-tree or the instance clones resulted from this node.

We can already do some amazing things with Blender Particles and Particle Instancer, but having this extra control, is nice and we can control the instancer much more precisely. This is great for adding details or perhaps some set dressings.

It's good idea to start thinking of a 3D model as modular parts like Minecraft objects:

  • HOUSE = Roof, floor, walls, windows, chimney, door
  • DOOR = knob, wood plank, keyhole
  • WINDOWS = glass, divisor

LOLLIPOP TREE


I did this a while back ago. The node-tree is like below. However, don't get shocked, all this can be a lot simplified and more robust now.

Just think simple:
1. Trunk -> can have random length and divisions -> can use Noise
2. Sphere -> can be become many spheres -> many spheres can have different sizes and position to find boundary of original sphere.


MULTI-USAGE OF UV CONNECT NODE

This node UV Connect is probably one of my most favourite at the moment. The usage of this node is quite endless. You just need to know when to use it at the right time.





We could probably go on forever with this UV connect.



Post a Comment

MKRdezign

Contact Form

Name

Email *

Message *

Powered by Blogger.
Javascript DisablePlease Enable Javascript To See All Widget