jujut

Hi all,

I present a new project that i am working on. So any critic or comment are welcome.
This project is in my head since a lot of time so i finally decided to do it :)
Ok it's possible to do this with this kind of stuff with the sOup node but it's a good way for me to test and learn stuff.

This is a little suite of nodes for making procedural onto mesh ( work also with cached fluid ).
My goal is to produce a suite of node that allow the user to mix and create different kind of noise.

The workflow is simple:
1-init mesh point position
2-doing procedural stuff via mixing noise, modify, modulate etc
3-inject result into a deformer (position and/or color)

exempleWorkflow.PNG  exempleWorkflow3.PNG 

Currently the plugin is composed of the following nodes:

init:
This node init the input mesh or the voxel size and return position and normal.


worley:
This node is an implementation of the worley voronoi noise (euclidian, euclidian squared, manhattan, chebychev, minkowski exp 0.5, minkowski exp 4 )
See screen below:
worley.PNG 


turbulence:
This one is an implementation of various perlin derivative noise (turbulence, fbm, billowy, ridged, inigo quilez, mountain, flow noise )
See screen below:
turbulence.png

util:
This node allow different kind of operation onto the procedural flow. See screen below:
util.PNG  

displace:
This node can be use to displace the position of the mesh before being plug into a noise node.

color:
This node remap the procedural noise onto a color ramp.

deformer:
This node is the final which get the procedural and color flow.

Below few quick exemple done on a sphere (subdiv 500x500) with only one noiseNode (turbulence or worley) :
1.PNG  2.png  3.png 
4.png  5.png  6.png 
7.PNG  8.PNG  9.PNG 

quick other exemple on fluid:
fluid1.png     fluid4.png 
fluid2.png  fluid3.PNG 

Reply 1 0
pshipkov
Wow, Christmas is here !

Thanks for sharing.
Do you plan to release public build ?
Reply 2 0
jujut
Thanks :)
Yes i plan to do free public release but first i have to finish few things first. Or if someone is intereted to test the current version, just ask :)
1- New node which allow to modulate the noise with mesh,curve and position (closest to be done)
2- A way to inject the flow into particle

I am not very proud on how i inject the procedural into fluid. Currently i used a fluid cache and modulate it with the node before reinject into the fluidShape:
Capture.PNG 

Few other picture of the workflow on a mesh:
exempleWorkflow2.PNG 
turbulenceB.PNG 
turbulenceD.PNG 

Rock procedural experiment (with a polysmooth as input, in a way to increase the noise quality when procedural noise are set) :
rock.PNG 



Reply 0 0
jujut
Just finished the modulate node.
node.PNG 

This node can drive position, curve or mesh. The computed distance can be smooth or expand.

Below few exemple:
curve:
curve.PNG 

locator:
trnslate.PNG 

mesh:
mesh.PNG 

All node are multihread. Except the modulateNode when curved is used as input, i need to disable the multithreading. I don't know why, my maya crash when i use an MFnNurbsCurve Class. Anybody have an idea? I have no crash with MFnMesh class.
Reply 0 0
pshipkov
Don't do the cache thing for the fluids. I went through this with the upresFluid node and opted for new emitter instead.

It sounds like you are pushing MFnNurbsCurve directly through threaded loop - there is no guarantee that it will work since most MFn* classes rely on lazy evaluation and are not thread safe.
What i do is pre-fetch everything before the multithreaded part.

I think you can go ahead and post a version here.
Pretty sure most people will be interested in trying it.
Reply 0 0
jujut
Ok for the fluid i will look onto a custom fluid emitter.  New things to learn and to test :) But first i will focus on finish the mesh part.

Ok for the multithread, the problem is that the anly thing that i do with th MFn class is the distanceTo and closestPoint and i can do this outside of the multithread part.

I will share the tools on this post directly soon, need to fix few things before
Reply 0 0
jujut

viki164 give me the idea to mix this plug with the openvdb suite from besha1.
Here some test:
mixing worley and a turbulence:
ovdb.PNG 

modulate worley by curve:
ovdb2.PNG 
simple turbulence:
ovdb3.PNG 

Reply 1 0
QDRemix
Oh yeah very good job !
It's very interesting node.
You push on web the dll are the cpp project ?
Reply 0 0
jujut
thanks.
Yes i will put the bin on the web. Need to finish, test and improve few things first
Reply 0 0
David l
Wow this looks really nice and quite powerfull!
Cant wait to give it a spin :)
Reply 0 0
SGIFreak

very interesting, it's looks useful for many things

Reply 0 0
pechart
Looks great! Would love to use the modulate stuff for some background terrain generation!
Reply 0 0
JeremyR
how hard is it to stick a inTime input in it? Looks great BTW :)
Reply 0 0
Reply