Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
Jenny Agutter
Mar 18, 2009



thats right folks its that time of the year again its nodevember! What is nodevember well I'm glad you asked, it’s a challenge to create 3d computer graphics (or animations, or sounds) procedurally, most commonly using blender or substance designer. These programs havce wat is known as a "node" interface thus the name nodevember. Look at what you can do with this
https://youtu.be/JhLVzcCl1ug
(check out the description of that video for some free resources to get you started)

What are the rules?
Check it out here https://nodevember.io/ everything has to be procedural. No sculpting, no image textures, only use basic primitive shapes (sphere, cube, plane)
What is nodes?
Nodes is basically a term for a graphical programming language. You use inputs like texture coordinates and time and manipulate them with operators. Here is a shader node tree I made in blender

it makes this
https://i.imgur.com/XeBtHUl.mp4
That is applied to a basic sphere, no textures no modelling

How to do that?
Watch this https://youtu.be/8LD5UA_Zktg

Ok here are basic concepts

Shader: when you render something in a physical based renderer, the shader tells the renderer how light interacts with the object it is applied to. This can be how it is reflected, refracted, what color it is, whether it is emissive, metallic, has subsurface scattering, volumetric absorption, and much more

Displacement: you can displace the surface of a mesh just using shaders, i.e. make bumps and creases. This isnt a bump or normal map, this is actual physical displacement. Even crazier now there is vector displacement, which lets you displace a point on the mesh to anywhere, so you can create i.e. overhangs which wouldn't be possible with normal displacement

Texture coordinates: the point on a mesh surface that a shader gets mapped to. Its easy to envision on a plane, here are object coordinates


(this assumes some familiarity with blender interaction and navigation)
So say we want to make a hill that goes down the middle of the plane, you take your object coordinates, split them into x-y-z components, and apply a mathematical function that's high around y=0 and low at y=+-1. there's no right way to do this, you could use a cos(y) function, or take the absolute value of the y-coordinate then take the fraction component of that and then invert it. Both are valid techniques and produce differeent profiles depending on what youre after


Important to remember: white=higher number, black=lower number. Here the texture is clamped between 0-1 (the little clamp checkbox), so if you apply this as a displacement map you get… nothing. To actually view displacement (you only have to do these steps once) you need to switch the renderer to cycles

Then apply a surface subdivision modifier to your mesh

Then in the material settings set surface displacement to displacement or displacement and bump

And be sure to set your viewport shading to render preview

then you will get your displacement

Awesome! A nice smooth curve with no modeling!

Every math node applies a transformation to every point on the texture. If you wanted to make a hill in the middle of the plane, do the same thiung with the x coordinates, then multiply the outputs. The black is at zero so it will cancel out white parts, leaving just a hump in the middle


Where do I go from here?
The sky's the limit friend. Want to add some high frequency noise for texture? Just add in a noise or cloud texture. Want irregularly spaced spots of roughness? Use a voronoi texture, clamp it with a map-range node, and feed it into the roughness input in your BSDF shader. Just playing around with stuff is a great way to learn, and ask in this thread and I'll try to help out, also here is a free example file to get you started
https://mega.nz/folder/cANlGK7T#274JPM6rJ215srANK6F0gA

Adbot
ADBOT LOVES YOU

Jenny Agutter
Mar 18, 2009



Nodevember 2020
Prompts!


follow along at
https://twitter.com/NodevemberIO
https://www.instagram.com/NodevemberIO/

I'll be using this post to share cool things people make

I can't even begin to comprehend how this was done
https://twitter.com/erindale_xyz/st...1217680385?s=20

what on earth
https://twitter.com/LucaRood/status...5607829512?s=20

yes this is all one shader on one object
https://twitter.com/simonthommes/st...4257771520?s=20

this guy is the absolute king btw btw but how he does it i do not know
https://twitter.com/simonthommes/st...0149811201?s=20

can't wait for the actual particle node system that's in the pipeline for blender
https://twitter.com/chiu_hans/statu...5902146560?s=20

v. cute city!
https://twitter.com/Sanctus_Art/sta...5366873088?s=20

fuckin' how...
https://twitter.com/BettiniGabe/sta...1351104514?s=20

our own Fart Simpson doing incredible work
https://www.youtube.com/watch?v=TfBtcaYK4p0

beautiful glitchiness
https://twitter.com/chiu_hans/statu...8362237952?s=20

Jenny Agutter fucked around with this message at 23:44 on Nov 27, 2020

Jenny Agutter
Mar 18, 2009



Q: I'm a noob
First download blender https://www.blender.org/, then watch this video series https://www.youtube.com/watch?v=ILqOWe3zAbk

Q: Do I have to use blendeR?
No of course not, another free alternative is quixel mixer. I don’t really understand its paradigm of stacking nodes but it seems fast and fun. If you want to pay but get pro grade tools, substance designer is there for you. You can get the subscription from there website or a one-time paymend on steam. Its owned by adobe so buyer beware. Heck theres even node program for iOS, its called Shade and its free for 14 days or something and you can export your shaders to unity. Node on the go!

Q: are there other types of nodes
Yes there are, an up and coming node type is "animation nodes" which you can download and install as an blender addon here https://animation-nodes.com/ this is extremely powerful and I have only done some little projects with it so share your findings if you use it!

Q: visualizing this stuff is hard
Must have add-on: go to edit->preferences…->add-ons and search for and enable node wrangler. Now when you ctrl-shift-click on a node its output will be applied to the mesh so you can see what you're working on

Q: I made a nice thing but I want to copy it across my mesh
Look in the example file and find the coordinates of cells section. By scaling the UV coordinates and taking just the fractional part of them we get a grid of coordinate systems from 0 to 1. so then you simply subtract .5, multiply by two and blammo you got yourself a grid of coordinate systems from -1 to 1. If you plug this into the vector input for your thing its copied across the mesh!

Q: randomization?
Easy, again look in the example file at the cell randomizer. If you "snap" (math node) a coordinate system to a white noise texture it gives you a random value ! You can combine this with a grid of coordinates and get random inputs for every cell on the grid. Use multiple randomizers with different seeds for multiple parameters, just copy a 4D white noise texture and give it a new W (this is what they call the seed I don't know why)

akadajet
Sep 14, 2003



didn't read any of the OP, but I'm glad that node.js is finally getting the recognition it deserves in the pos

my bitter bi rival
Mar 21, 2011


I'm doing Nodvember and becoming addicted to oxycodone op

Jenny Agutter
Mar 18, 2009



echi got hisself a fatty probe but he wanted me to post this
https://twitter.com/rodtronics/stat...6406984705?s=20

Jenny Agutter
Mar 18, 2009



first prompt wip


actually using vector displacement to transform a sphere into a wafer shape, crazy stuff

The Management
Jan 2, 2010

sup, bitch?


I thought this was no dev November and was getting excited about not doing work

Displeased Moo Cow
Jun 15, 2009

The Journey BeginsTM


unban echi for his racist posting so that he may participate

CRIP EATIN BREAD
Jun 24, 2002

Hey stop worrying bout my acting bitch, and worry about your WACK ass music. In the mean time... Eat a hot bowl of Dicks! Ice T





Soiled Meat

free echi

mystes
May 31, 2006



The Management posted:

I thought this was no dev November and was getting excited about not doing work
It should definitely be this, or if that's not an option, no node November.

The Management
Jan 2, 2010

sup, bitch?


Jenny Agutter
Mar 18, 2009



second prompt wip


more vector displacement, although I still have no idea what I'm doing with it. pure trial and error

Farmer Crack-Ass
Jan 2, 2001

~this is me posting irl~


my bitter bi rival posted:

I'm doing Nodvember and becoming addicted to oxycodone op

I'm doing Nodvember in the name of Kane! (Kane lives in death!)

sigma 6
Nov 27, 2004

the mirror would do well to reflect further



This is cool. I take umbrage with Houdni and Touch designer not being mentioned by the OP but otherwise great idea!

Jenny Agutter
Mar 18, 2009



jesus christ https://twitter.com/chiu_hans/statu...2194320386?s=21

Jenny Agutter
Mar 18, 2009



sigma 6 posted:

This is cool. I take umbrage with Houdni and Touch designer not being mentioned by the OP but otherwise great idea!

please post about your favorite programs! I don’t do this professionally so the pro programs are out of reach cost wise but I’m very interested in what they can do. Houdini has a node system for the entire effects pipeline right?

r u ready to WALK
Sep 29, 2001



I'm glad you can still get the Quartz Composer experience somewhere, I still haven't forgiven Apple for killing off that framework instead of improving on it

https://www.youtube.com/watch?v=Rsxc0xtU_EU

Jenny Agutter
Mar 18, 2009



think i'm going to call it for day 1


https://mega.nz/folder/oI1QVBqJ#wAetVbnFLVOQZLM_PxPK8Q

i like the way the chocolate surface turned out, but the shape was pure luck from playing around with rgb curves

Jenny Agutter
Mar 18, 2009



decided to take a different tack with the second prompt

theadder
Dec 29, 2011




Displeased Moo Cow posted:

unban echi for his racist posting so that he may participate

lol

sigma 6
Nov 27, 2004

the mirror would do well to reflect further



Jenny Agutter posted:

please post about your favorite programs! I don’t do this professionally so the pro programs are out of reach cost wise but I’m very interested in what they can do. Houdini has a node system for the entire effects pipeline right?


Yes - they have "operators" / nodes for just about everthing and chaining them together is how VFX shots are created.

Touchdesigner is the same - just in real time. In both cases, they have free versions, so cost isn't an issue if you just want to learn.

Jenny Agutter
Mar 18, 2009



day 2 candy

https://i.imgur.com/thtJKEC.mp4

https://mega.nz/folder/gdFynbaR#6uo_BCK7MaCmEEykByUJeQ

Jenny Agutter
Mar 18, 2009



sigma 6 posted:

Yes - they have "operators" / nodes for just about everthing and chaining them together is how VFX shots are created.

Touchdesigner is the same - just in real time. In both cases, they have free versions, so cost isn't an issue if you just want to learn.

innnteresting. might pick up houdini once i get my new computer built. i thought this was sick
https://twitter.com/mumblinglewis/s...1085512706?s=20

Captain Foo
May 11, 2004

we vibin'
we slidin'
we breathin'
we dyin'


this is cool

Jenny Agutter
Mar 18, 2009



prompt 3 wip

Share Bear
Apr 27, 2004



i have the "Write a raytracer" challenge book but recent life developments have put that on the backburner, i look forward to all of your creative works

Jenny Agutter
Mar 18, 2009



vector displacement fun

Displeased Moo Cow
Jun 15, 2009

The Journey BeginsTM


Captain Foo posted:

this is cool

sigma 6
Nov 27, 2004

the mirror would do well to reflect further



Jenny Agutter posted:

innnteresting. might pick up houdini once i get my new computer built. i thought this was sick
https://twitter.com/mumblinglewis/s...1085512706?s=20

Yeah - Houdni is the one stop shop when it comes to procedual stuff and it does just about everything well except for something like high poly sculpting. Which of course zbrush does better. Definitely nothing like it for particles / fluids and pyro FX.

This is a friend of mine who does a lot of work with sound and Houdini.

Music In Houdini
https://www.youtube.com/watch?v=spuE1-CS1v0
https://vimeo.com/user36757003

Reel.
https://vimeo.com/259748295

sigma 6 fucked around with this message at 20:33 on Nov 2, 2020

Jenny Agutter
Mar 18, 2009



how to turn a sphere into a banana
https://i.imgur.com/kTzYGkK.mp4

Tanners
Dec 13, 2011

woof


this owns

Jenny Agutter
Mar 18, 2009



day 3 fruit


https://mega.nz/folder/VEUHyKZQ#jmS23Y22pTIghqvM51FmKg

Jenny Agutter
Mar 18, 2009



day 4 grain
https://i.imgur.com/I07xzSt.mp4

https://mega.nz/folder/VRMgDLKJ#F1WWffCnUBqMka0BQ2pYbQ

i do wonder if displacement vector shading is getting away from the spirit of nodevember, at some point you're practically modeling in a different form. all of this bread was made with math so i'm not going to lose too much sleep over it

Jenny Agutter
Mar 18, 2009



:thinking: redoing the tutorial donut but entirely in shaders

Carthag Tuek
Oct 15, 2005

Tider skal komme,
tider skal henrulle,
slægt skal følge slægters gang




this is cool stuff op

carry on then
Jul 10, 2010
Probation
Can't post for 13 days!


no shade for the shaders

Jenny Agutter
Mar 18, 2009



Jenny Agutter posted:

:thinking: redoing the tutorial donut but entirely in shaders

well I did it. this is a sphere mesh with vector displacement. you can tell where the seams are where a transparent shader is mixed in but I'm not sure how to get it cleaner



https://mega.nz/folder/dIcgUT7B#oNROAPTcvVrHZBBzqsmt8w

Jenny Agutter
Mar 18, 2009



day 6 done. really reaching the limits of my understanding of vector displacement here, the texture coordinates of this sphere got extremely hosed up and I could only do the little bumps on the eraser holder as a bump map

Adbot
ADBOT LOVES YOU

Jenny Agutter
Mar 18, 2009



Day 7 print, didn't have a lot of time for this one so this is using animation nodes to print random letters.

https://i.imgur.com/FO2PnPY.mp4

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply