Kristen Eggleston
  • Demo Reel
  • Blog

Moss

6/25/2013

 
Necessary features for moss:
  • Variated user defined color
  • Softness in the displacement
  • Specular change
  • Uneven edges for patches
  • Put in grout
  • User can put where the moss will be with map or point color or use noise
Most of the above list has been accomplished, I'm still struggling with accomplishing a "softness" on the patches of moss that are not just decoration inside the grout. It might need just a high frequency noise added on top of all of it.

The first image is a close up of the worley noise. This made a really nice 2D shape and drives the colors but when turned into a displacement, it goes mountainous. I need to plateau the peaks or even better find a smoother version of it. I've already used a smooth SOP to balance out the edges of the displacement.
The second image is what I'm going for for the extra fine lumpities that moss has that give it the really soft looking texture. It seems that moss is a layer of fine lumps on top of larger lumps.
The third image is the second image added to a less frequent noise. However the large lumps do not match the color and are way to uniform. If I can combine this noise with the first worley noise, then add the fine noise on top, that should be a great combination.

Water Drips

6/18/2013

 
The next fun feature is going to be water stains. They are driven by gravity so they will be primarily based on a user input ramp whose position is from the Y axis. The interesting part will be getting the "seepage" part right, possibly only making that feature available when tiles are selected.
The color of the stains looks to be a derivation of the original wall color, with the edges being slightly different than the center of the stain. Fresh stains are darker towards the center whereas old stains have lifted the color from the center of the stain and the center is less saturated.

Picture
The water stain is based mainly on the Y-axis, the user can change the ramp to control where it goes, as well as paint an attribute on the wall to control where it actually goes.
The shape of the drips are controlled by a noise stretched in the Y direction. Roughness controls the amount and frequency of the smaller drips.
The color is based on the original diffuse of the wall, with changes in the hue, saturation, and value. The user also has the ability to make the center or edges of the stain a different HSV value. This is based on the original intensity of the noise because the center of a noise patch is generally higher in value than the edges.
Now I need to python script the ability to paint attributes so the user doesn't have to set/mess that up, also I need to implement the water stains within the cracks. I think the color attribute from the original water stain will be suitable to control that.


Picture
Tile stains have been added! This feature is only available when tiles and water stains are selected. There are two noise functions driving the variation on the tile stains, one large frequency to give broad patterns and a smaller one to break it up and look a bit mouldy.

Bricks!

6/17/2013

 
Picture
Next pattern: Bricks. This reference image showcases the displacement of individual bricks, the wearing of the color on the edges of bricks, the change of spec within the grout, and two different colors of brick rows.

To create the individual brick, the user inputs a color or texture map and a grout color. This is fed into a COPs network and rendered to the tmp drive. The file, with alpha to delineate where the "grout" is, is read into the shader, then repeated and offset on the object's UV set. The user also has the ability to change each tile's edge saturation and value, add noise to make little bumps to add air pockets to the bricks, and create wacky edges.

Next I want to be able to change the color of each tile based on a ramp to have the stripes as in the above picture so that the user does not have to apply multiple shaders to one object.

Now there is the ability for super creepy hallways! I will probably make a basic scene like the above hallway to demonstrate the versatility of the shader to go between a clean hallway and a dirty one. Below are renders of the start of a hallway, the user manipulates a ramp mask to tell where the hue, saturation and value shifts should be. With the way I am implementing the color for the tiles, it would be very difficult to make the shader use color mixes rather than a hue shift. This way, only one file is created and that files' aged look, if desired, is preserved. It's just a little more finicky for the user this way.

Rust 2.0

6/14/2013

 
Now it's time to start making patterns. I've decided to start with a rusted metal type pattern. It has rust and displacement that "corrodes" the metal and tries to layer it underneath the paint. My reference image also has cracks where the paint is trying to flake off and expose the rusty metal underneath, so that and a corresponding displacement is included as well. In order to make the base color look aged, a noisey color correction has been added where the user can alter the hue, saturation, and value of the image or color they input. I have been working solely on the diffuse and displacement changes however and need to make sure that I can transfer these changes over to the spec map.

Specular changes have been successfully added! I am curious if the UI is usable to others though. I've put a specular tab that holds the changes for multiplying the various patterns into the spec map, but I wonder if they should go with the master controls for the patterns.

Picture
I think I've finally figured a work around for the occlusion based rust. The color part works fine, it only gets dodgy when I try to implement displacement based off of anything to do with occlusion. Possibly because occlusion takes displacement into account and I'm not quite sure how to bypass that.
My workaround now is to render out a specific occlusion vex variable with a specific mantra. This particular mantra is then wired in to the main mantra node so that it renders before the main one renders so that the file is there. The outputted file is stored on the tmp drive.

Occlusion

6/11/2013

 
Occlusion has been scripted into the otl! It must be added after diffuse, has a catch to make sure diffuse has been created. The user has the option to color the occluded bit, control the spread (through the bias on the occlusion node) and the overall brightness (takes the luminance of the fit node and pipes it through a fit node where the user controls the destination maximum). These parameters are added into a folder inside the diffuse folder which is created after pressing the "Create Diffuse" button.

Addition of Rust

6/11/2013

 
PictureReference of a rusty car
The rust on a car seems to "grow" from the top down and in cracks where pieces join, then randomly all over the surface. These three types of rust are fairly simple to obtain, from Y point position, an occlusion pass and simple noise multiplied onto another noise of lower frequency for more random variety.

The first images is that of just randomly placed rust, the second is of occlusion based rust, the third of rust placed based on the Y position and then multiplied by noise and the last is all three together. I also added displacement according to where the noise fell, albeit way too much. The occlusion presented a huge problem for this. I  could not directly hook in the noise that was outputted by the occlusion multiplied by a turbulent noise because this resulted in a segmentation fault, aka Mantra Exit Command 11, aka Exit Command of Doom. I had reinstalled Houdini, deleted preferences, tried a new mantra node, and kicked all the stats down to the bare minimum to try and expedite the render. It must be something with the way the occlusion node is talking to the displacement. Eventually I just rendered an occlusion image and used that as a texture to multiply the noise by, thereby giving the above render. Frankly there is so little displacement on that particular type of rust in the reference photo that this may have all been futile.

The Beginning of the Uber Shader

6/6/2013

 
As I understand it, this is going to be a shader that can output diffuse, height, normal, ambient occlusion and hopefully a rust pass. There will be noise implemented to simulate dirt and scuff marks. The drips will probably have to be some sort of fluid sim that changes the point information on the model to output a kind of mask. This shader will be encompassed as an otl.

But wait. That would make an extremely heavy otl wouldn't it? So as I figure out what nodes and settings to use in the shader, I will be creating python script that will go with the otl to create the nodes when the user pushes a button. Do they want a displacement pass? Check a box and the script should create/modify the rop to output a file, as well as add some sort of displace along normals node, a texture map and a noise for the user to play with.

To start off with this first week, I will make a simple shader that has a color on it that is added to  a simple scene. From this scene I will output a color map, just the straight color meaning that the color needs to be emitted out, and a height map for displacement. After I figure that out, I will put that into an otl and make sure that transferring the shaders from one scene to another with the otl works, then I will implement the shaders in python. Hooray for python!!!
The left image is the original scene, the right is a grid with displacement and color mapped onto it. The displacement map was generated by a depth pass. Once this map was piped in, the ty from the original render cam that is gathering all the information was subtracted from the image and then the image was inverted.

I don't understand where the "wall" is coming from. There are errant pixels somewhere in the render.
Picture
I ended up scaling the uvs up 0.02 and translating them -0.01 to get rid of those pixels. I don't think that this is the ideal way to do things but it works and the triangle does not move.

Forward>>

    Author

    Compilations and contemplations of my time as a Side Effects intern.

    Archives

    November 2025
    August 2013
    July 2013
    June 2013

    Categories

    All
    Discoveries
    Fun Renders
    It Totally Works
    New Feature
    Personal
    Problems
    Uber Shader

Proudly powered by Weebly