Latest version of the project - I have added the impact of the metorite. Also a little bit more animation has been done - a lot more tweaking is needed. A render will follow in the next couple of weeks (hopefully)!
skip to main |
skip to sidebar
ICM Studios provides an Animation and Visual Effects Service as well as Web Design and Development based in Crowborough, East Sussex. We are just outside Tunbridge Wells and have good access to London and it surrounding areas. This blog mainly focuses on VFX and the evolution of the industry.
Wednesday, 18 July 2012
Thursday, 5 July 2012
Custom Renderman Shaders & Realflow
I been writing a custom Renderman shader - it still needs work but here is the current code and examples as to what it looks like!
Bob | Realfow Simulation | Custom Renderman Shader | Iskander Mellakh from iskander mellakh on Vimeo.
Custom Renderman Shader | Iskander Mellakh from iskander mellakh on Vimeo.
Video Examples:
Bob | Realfow Simulation | Custom Renderman Shader | Iskander Mellakh from iskander mellakh on Vimeo.
Custom Renderman Shader | Iskander Mellakh from iskander mellakh on Vimeo.
Here is the code:
- surface im_mottleNoise(
- uniform color myColor = color(0,1,0);
- uniform float myOc = 0.1;
- uniform float roughness = 0.1;
- float Km = 1.0;
- float face = 1.0;
- float mag = 0.0;
- uniform float freqency = 1.0;
- )
- {
- float size = 1.0,
- magnitude = 0.0,
- i;
- point P2;
- P2 = transform ("shader", P);
- for (i = 0; i <6.0; i+= 1.0){
- magnitude += abs (.5 - noise (P2 * size) * freqency) / size;
- }
- P2 = P - normalize (N) *(magnitude * magnitude * magnitude) *Km * mag;
- N = calculatenormal(P2);
- normal Nn = normalize (N);
- vector In = normalize(-I);
- normal Nf = faceforward(Nn,-I);
- normal Nb = faceforward(Nn,I);
- //Oi = myOc * diffuse(Nf * -face);
- //Oi = myOc * face + specular(Nf, In, roughness);
- Oi = myOc;
- Ci = myColor *Oi * diffuse(Nb) + specular(Nf, In, roughness);
- }
Subscribe to:
Posts (Atom)
ICM Studios Links
- VFX Repo
- Iskander Mellakh Portfolio
- ICM Studios @ YouTube
- ICM Studios @ Vimeo
- ICM Studios @ CG Talk
- ICM Studios @ Twittler
Great VFX Artists
VFX Studios
- Pickled. Post Production Cloud
- Creative Outpost - Independent Soho VFX Studio
- Superblimp - Animation Studio