Freschrenders - Judgement Day (Part 4) - Work in Progress #3
More from Freschrenders
Freschrenders - Judgement Day (Part 4) - Work in Progress #2
About This Title
My place is FINALLY back to normal and I can once again work on my animations again! I was able to successfully render out a shot for Judgement Day while my place was drying as well. :3
Creating a Procedural City with Geometry NodesGeometry nodes is an exceptionally powerful tool that allows for the creation of some pretty neat stuff! This includes microscopic cities seen at a distance like what I have below.
Now the setup is actually relatively simple. The basic idea is that a bunch of a different building assets are scattered across a distribution of points that are selected via object OR UV space textures. The first part of the setup is distributing the points. The simulation zone is a proximity detected to delete points when Legacy's finger gets close to each building.
Next is creating the patterns to select where each point should be distributed. Voronoi patterns are generally very good for very artificial layouts and combining these patterns together can give a decently convincing result from afar.
Importantly, there needs to be a falloff to the edges of the city. Otherwise the pattern will extend infinitely to edges of the object like below.
So we need a solution for this. We can actually use the position of the original plane and add some noise to that positional vector for some distortion. It's important to note to subtract 0.5 from the noise texture's vector so that it can be centered. Otherwise it will shift the position of the gradient awkwardly.
That creates this look which can be used to mask out the edges of the city by multiplying it with the original noise pattern.
Hacking Dynamic PaintA technique that I've used before in other animations but haven't really gone over before is using dynamic paint in tandem with geometry nodes. Because dynamic paint can spit out a float attribute, we can avoid having to use the "geometry proximity" node and can instead rely on an old built-in simulation system in Blender.
Here's how it works: you will need a typical DP setup with a brush and canvas. Make sure the canvas is set to "paint" and you have the paintmap set to output as an attribute. In this case the attribute is named "dp_paintmap".
We can then import this attribute and blur it slightly in geometry nodes to create the first attribute for manipulation.
Then throw this into a map range node. DO NOT FORGET IT. The color ramp will not work without it. You'll want to clamp it down so that the edge is pretty sharp. Then a color ramp node can be used to create an outline that can THEN be blurred afterward to create the cratered shape. You may need to use a multiply node to increase the height of this effect.
Then take a "set position" node and plug this into the original geometry. We'll then, after using ONLY the z axis on a "combine xyz" node, that can be plugged into the offset of the "set position" node to raise up the geometry up and create the crater!
A limitation I haven't worked out yet is how to create an indentation in the center of the crater so that it's lower than the outside. That MIGHT not work with this method.
Light GroupsIt's not often that I'll use light groups in my renders but they're EXTREMELY powerful for editing the look of a scene in compositing. Light groups allow for the separation of specific light sources and effected regions as a render pass. This means you can extract, modify, and then add back in these light groups post-render.
The reason I'm using lightgroups here is that I want parts of the city to flicker and eventually shut off as Legacy drags his finger over the area. Below I'm giving an example of what the capabilities of light groups are. I'm simply using a mask to define a region where the light group will be subtracted from the combined image.
To set up light groups, all you need to do is first define what groups you'll need in the "view layer" part of the properties panel.
Then you can assign any object that emits light in a scene to this group. Usually these are actually lights but in my case I used an object (that being the city). Just assign the group and it will all export properly to the EXR files!
That'll all for this WIP! Thank you all so, SO much for your patience while I got my place fixed up after the flooding. I'll be continuing work on this animation as well as the super secret ssssh animation this week.My place is FINALLY back to normal and I can once again work on my animations again! I was able to successfully render out a shot for Judgement Day while my place was drying as well. :3
Creating a Procedural City with Geometry NodesGeometry nodes is an exceptionally powerful tool that allows for the creation of some pretty neat stuff! This includes microscopic cities seen at a distance like what I have below.
Now the setup is actually relatively simple. The basic idea is that a bunch of a different building assets are scattered across a distribution of points that are selected via object OR UV space textures. The first part of the setup is distributing the points. The simulation zone is a proximity detected to delete points when Legacy's finger gets close to each building.
Next is creating the patterns to select where each point should be distributed. Voronoi patterns are generally very good for very artificial layouts and combining these patterns together can give a decently convincing result from afar.
Importantly, there needs to be a falloff to the edges of the city. Otherwise the pattern will extend infinitely to edges of the object like below.
So we need a solution for this. We can actually use the position of the original plane and add some noise to that positional vector for some distortion. It's important to note to subtract 0.5 from the noise texture's vector so that it can be centered. Otherwise it will shift the position of the gradient awkwardly.
That creates this look which can be used to mask out the edges of the city by multiplying it with the original noise pattern.
Hacking Dynamic PaintA technique that I've used before in other animations but haven't really gone over before is using dynamic paint in tandem with geometry nodes. Because dynamic paint can spit out a float attribute, we can avoid having to use the "geometry proximity" node and can instead rely on an old built-in simulation system in Blender.
Here's how it works: you will need a typical DP setup with a brush and canvas. Make sure the canvas is set to "paint" and you have the paintmap set to output as an attribute. In this case the attribute is named "dp_paintmap".
We can then import this attribute and blur it slightly in geometry nodes to create the first attribute for manipulation.
Then throw this into a map range node. DO NOT FORGET IT. The color ramp will not work without it. You'll want to clamp it down so that the edge is pretty sharp. Then a color ramp node can be used to create an outline that can THEN be blurred afterward to create the cratered shape. You may need to use a multiply node to increase the height of this effect.
Then take a "set position" node and plug this into the original geometry. We'll then, after using ONLY the z axis on a "combine xyz" node, that can be plugged into the offset of the "set position" node to raise up the geometry up and create the crater!
A limitation I haven't worked out yet is how to create an indentation in the center of the crater so that it's lower than the outside. That MIGHT not work with this method.
Light GroupsIt's not often that I'll use light groups in my renders but they're EXTREMELY powerful for editing the look of a scene in compositing. Light groups allow for the separation of specific light sources and effected regions as a render pass. This means you can extract, modify, and then add back in these light groups post-render.
The reason I'm using lightgroups here is that I want parts of the city to flicker and eventually shut off as Legacy drags his finger over the area. Below I'm giving an example of what the capabilities of light groups are. I'm simply using a mask to define a region where the light group will be subtracted from the combined image.
To set up light groups, all you need to do is first define what groups you'll need in the "view layer" part of the properties panel.
Then you can assign any object that emits light in a scene to this group. Usually these are actually lights but in my case I used an object (that being the city). Just assign the group and it will all export properly to the EXR files!
That'll all for this WIP! Thank you all so, SO much for your patience while I got my place fixed up after the flooding. I'll be continuing work on this animation as well as the super secret ssssh animation this week.
Comments (0)