October 25, 2017

Please reload

Recent Posts

I'm busy working on my blog posts. Watch this space!

Please reload

Featured Posts

VIST 470- Assignment 7 - Volume Shader

November 7, 2017

For this assignment we were tasked with creating a volume shader. 

*** Disclaimer Wix doesn't support txt file documents so I had to upload the files as pdf's ***

 

 My first angle of my scene

Second angle of my scene 

 

Scene

In the scene file I create cones, rings, and planes as my geometry. I created a box like geometry to shot off the smoke because if there was no geometry behind it because the shader detects that it doesn't need to display the smoke in that section. I also used the ring light shader that we had created in a previous assignment to help add interesting lighting to the scene. 

 

Shader

The shader file(smoke.sl) is the shader file provided to us on ecampus. It was originally written by Larry Gritz. This file served as my base file to create the smoke shader. Though I had tons of problems trying to get the smoke shader running. One major problem that I eventually solved was that we were missing the header files needed to correctly run the sl file. Someone in the class eventually found Larry's personal website (http://www.larrygritz.com/arman/materials.html) where he had his files for download. I ended up not being able to change anything within this smoke shader. Many of the values I tried changing didn't end up having an effect on the rendered image. I couldn't figure out a way to add turbulence or other types of noise to this smoke.

 

Below are the files I used during this assignment

 

Header Files

Noises.h

patterns.h

filterwidth.h

 

RIB FILE

SL FILE

 

 

 

Share on Facebook
Share on Twitter
Please reload

Follow Us

I'm busy working on my blog posts. Watch this space!

Please reload

Search By Tags
Please reload

Archive
  • Facebook Basic Square
  • Twitter Basic Square
  • Google+ Basic Square