To experiment with lighting and rendering i have personally lit and rendered out all my runcycles and firecycles that i completed early in the year. Each has been lit in a colour that emphasises their allegiance in the Wunderland war (Grunts are green and robots yellow). I removed the textures as they were not created by myself and i wanted people who view my showreel to focus on the animation rather than the texture artwork.
Each cycle has its own lighting (and camera rig) which is a combination of directional lights and area lights with one ambient light per scene. The ambient lights are an extremely dark opposite colour to the model (so green= purple ambience, yellow = purple ambience) for shadows and the directional lights are brighter warmer lights like yellow, orange and peach.
In terms of camera i have used a basic 'camera and aim' and for the most part kept the camera passes to a minimum. For the firecycles the camera is static but for the runcycles i have the camera view the run for a full cycle from the front then swing to the side to view a full cycle there. This is so the cycle can be seen from the two main perspectives that are 1) easy to judge and 2) allow for a perspective sweep inbetween.
GruntZookaFirecycle2
RobotRun!
Each cycle has then been rendered out in 2 layers: a master colour layer and an occlusion layer. I am working on a shadow layer and will update if i can get this finished.
Wednesday, 4 June 2008
Technical: Combination Pass
Now to further work on the development of the technical skills i have investigated, i have combined the DOF and Sun+sky lighting system into a scene using models from my main film War in Wunderland to show how the two could be used together.
Scene lit solely by Sun&Sky System
Haze settings played with
Blue shift added and horizon tampered with. (looks like a orbiting platform!)
Final render shot (minus LD and Occlusion).
Sunlight Runcycles (minus DOF)
Sunlight Runcycles with DOF (Red is in focus- green is most out of focus).
I think this lighting system could be extremely useful for any film using an outside environment. In Wunderland alone there are several open street scenes with a climax on a San Fransisco bridge. This sequence, which i am working on currently, could also benefit from the use of DOF in long shots and tracking Bigbot through the ocean towards the bridge. Unfortunately Wunderland has already got a lighting system rigged and copied into every single shot to keep the films look consistent. The camera set ups and rendering are also done in a very specific way so unless they have already used the Luminance render pass or DOF cameras they are unlikely to at this stage, Other exterior set films have similar set ups and have been lit by technical specialists.
Despite the fact it won't be implimented in any of this years films i believe that these skills and experiments will be useful in the future in the creation of my own films. Having the knowledge is certainly far more useful than having no knowledge on the subject at all. Researching these methods has also built a foundation and understanding of the more techincal aspects of Maya and AE that i can now build upon and improve in future.
Scene lit solely by Sun&Sky System
Haze settings played with
Blue shift added and horizon tampered with. (looks like a orbiting platform!)
Final render shot (minus LD and Occlusion).Sunlight Runcycles (minus DOF)
Sunlight Runcycles with DOF (Red is in focus- green is most out of focus).
I think this lighting system could be extremely useful for any film using an outside environment. In Wunderland alone there are several open street scenes with a climax on a San Fransisco bridge. This sequence, which i am working on currently, could also benefit from the use of DOF in long shots and tracking Bigbot through the ocean towards the bridge. Unfortunately Wunderland has already got a lighting system rigged and copied into every single shot to keep the films look consistent. The camera set ups and rendering are also done in a very specific way so unless they have already used the Luminance render pass or DOF cameras they are unlikely to at this stage, Other exterior set films have similar set ups and have been lit by technical specialists.
Despite the fact it won't be implimented in any of this years films i believe that these skills and experiments will be useful in the future in the creation of my own films. Having the knowledge is certainly far more useful than having no knowledge on the subject at all. Researching these methods has also built a foundation and understanding of the more techincal aspects of Maya and AE that i can now build upon and improve in future.
Technical: Depth of Field
To help me in my understading of cameras, how to use them and how they work in Maya, i have experimented with Depth of Field. Depth of field is something that we take for granted every day as our eyes automatically adjust to light and distance. Duplicating this effect - where objects are blurred depending on where the cameras focus is - is something i thought would be very useful in any groups films. It would add a more realistic camera shot and, depending on the strength of the blur, prehaps even give the audience the impression they are looking through the eyes of a character or passer by in the films themselves.
Depth of field can be achieved numerous ways. I have experimented with two techniques with two programs i am familiar with: After Effects and maya.
After Effects
In after effects it is possible to create depth of field through the use of a Luminance depth (LD) render from Maya. This is an effect created from the preset menu of the render layers in Maya. LD appears similar to the occlusion render pass in that the whole scene becomes black. The only difference is that the LD layer will gradually fade from black to white. This colour change is key to the work done in after effects.
By importing the render layers into after effects and placing the LD sequence on top the scene should look very much like a test LD render shot. From this point figuring out where on the canvas you want to focus the 'camera' is raltively easy. By hovering the mouse cursor over any area of the canvas it is possible to check the top right hand menu for information on what colour values are present at the cursor location. These also act as a map for the blur. Adding the chosen value to the blur focal distance attribute of the Lens blur effect sets the pinpoint focus of the AE 'camera'. Anything outside the radius of this point will gradually blur. To remain in focus the cursor point must be keyed like any other effect. The three following examples show a character running into focus, out of focus and remain in focus using this method.
Character Focus Video
Near Focus Video
Far Focus Video
This technique provides an excellent, smooth blur over a great distance. This can easily be modified to change the blur radius.
Maya
it is possible to create depth of field (DOF) in Maya using a simple camera and aim. By using the distance measurement tool and constraining (point contrain) locators to both the camera and the aim a camera that can judge the distance between it and its focus has already been created. This takes less than 2 minutes and no rendering is required. Constraining the locators to the camera and aim can be done in the outliner menu by control clicking both the desired child and parent nodes and constraining through the constrain menu. The final phase of this process takes place in the connection editor where (once the distanceDimensionShape1 node has been selected) the left column 'distance' must be selected and in the right column 'Focal distance' (not length!!).
Focus
Out of focus
To turn on DOF selecting the camera1Shape node and entering the attribute editor will unlock the DOF menu. Simply tick the box and voila! The video below uses the same footage as the AE tests however it has all been created and rendered through maya - not composited in AE.
Character Focus Video
This technique works well but the further away from the focus the worse the blur. Aspects of this test resemble a cave painting or pastel artwork! There must be a way to reduce the amount of noise and blur within the attribute DOF settings but for the purpose of quick and easy DOF the AE method wins over for the moment. The Maya method also suffers from an incredibly long render time - especially when occlusion is used (150 frames = 4-6 hours).
Depth of field can be achieved numerous ways. I have experimented with two techniques with two programs i am familiar with: After Effects and maya.
After Effects
In after effects it is possible to create depth of field through the use of a Luminance depth (LD) render from Maya. This is an effect created from the preset menu of the render layers in Maya. LD appears similar to the occlusion render pass in that the whole scene becomes black. The only difference is that the LD layer will gradually fade from black to white. This colour change is key to the work done in after effects.
By importing the render layers into after effects and placing the LD sequence on top the scene should look very much like a test LD render shot. From this point figuring out where on the canvas you want to focus the 'camera' is raltively easy. By hovering the mouse cursor over any area of the canvas it is possible to check the top right hand menu for information on what colour values are present at the cursor location. These also act as a map for the blur. Adding the chosen value to the blur focal distance attribute of the Lens blur effect sets the pinpoint focus of the AE 'camera'. Anything outside the radius of this point will gradually blur. To remain in focus the cursor point must be keyed like any other effect. The three following examples show a character running into focus, out of focus and remain in focus using this method.
Character Focus Video
Near Focus Video
Far Focus Video
This technique provides an excellent, smooth blur over a great distance. This can easily be modified to change the blur radius.
Maya
it is possible to create depth of field (DOF) in Maya using a simple camera and aim. By using the distance measurement tool and constraining (point contrain) locators to both the camera and the aim a camera that can judge the distance between it and its focus has already been created. This takes less than 2 minutes and no rendering is required. Constraining the locators to the camera and aim can be done in the outliner menu by control clicking both the desired child and parent nodes and constraining through the constrain menu. The final phase of this process takes place in the connection editor where (once the distanceDimensionShape1 node has been selected) the left column 'distance' must be selected and in the right column 'Focal distance' (not length!!).
Focus
Out of focusTo turn on DOF selecting the camera1Shape node and entering the attribute editor will unlock the DOF menu. Simply tick the box and voila! The video below uses the same footage as the AE tests however it has all been created and rendered through maya - not composited in AE.
Character Focus Video
This technique works well but the further away from the focus the worse the blur. Aspects of this test resemble a cave painting or pastel artwork! There must be a way to reduce the amount of noise and blur within the attribute DOF settings but for the purpose of quick and easy DOF the AE method wins over for the moment. The Maya method also suffers from an incredibly long render time - especially when occlusion is used (150 frames = 4-6 hours).
technical: Sun and Sky test complete
I finally got the test to work and understand why it does!
I began with a few indistinct cubes to act as the 'buildings' or objects within the scene.

I then applied different coloured lamberts to the cubes, added a directional light source and set up the 'physical sun and sky' in Maya's mental ray globals. The file mia_physicalsky1 is added to the attribute editor. When renders are completed at this stage Maya has set up a horizon line and skyline automatically. The attribute Mia_physicalsun represents the sun and within that attribute, samples define the number of rays used for shadows. There is also options to play around with photons, colour and shadows amongst other things at this stage. The attribute mia_exposure_simple1 is automatically added to the camera to make the camera look the way the human eye sees.
By applying the shader mia_material to the cubes it is possible to experiment and create various combinations for render effects. This shader also has ambient occlusion built in (usually reserved for render layers to my knowledge). Ambient occlusion darkers corners and helps to exaggerate details in the geometry. These cubes do not have a lot of detail but they are quite close together so the shadows inbetween them would be quite dark if ambient occlusion is added. I decided to bump up the reflectivity of my cubes so they would mirror their surroundings slightly - making them look more plastic.

Here's a close up of the reflection of the red cube in the blue.

Mia_physicalsky has a built in haze attribute that when raised can achieve a foggy effect by diffusing the lighting of the scene.
By applying a high integer to the haze attribute there is a drastic red shift (above) in the light spectrum - making everything more yellow, red and orange.

By applying a high negative integer to the haze attribute there is a drastic blue shift (above) in the light spectrum - making everything more blue and purple.

Combining the effects of the sun and sky system in a render with a separate render of the scene's occlusion pass, a fantastic time effect can be created to show the passage of time passing either for sunrise or sunset depending on colours used in the background. This first video shows the first experiment and the second below it shows the same experiment with the sun and sky skyline in the background.
This system is definately worth using when animating scenes that have high quality environment or character models that have lots of detail in the geometry. Simple shapes like these cubes work for tests but the best results can be acheived using highly detailed models.
Using the sunlight on one of the Wunderland models, the following tests show how simply manipulating the main sun directional light can create easy to use shadows. The first test shows the light simply turning (erratically) and the second shows it turning up - obscuring the model from the light and simulating a sunset.
Shadow manipulation
'Sunset'
I began with a few indistinct cubes to act as the 'buildings' or objects within the scene.

I then applied different coloured lamberts to the cubes, added a directional light source and set up the 'physical sun and sky' in Maya's mental ray globals. The file mia_physicalsky1 is added to the attribute editor. When renders are completed at this stage Maya has set up a horizon line and skyline automatically. The attribute Mia_physicalsun represents the sun and within that attribute, samples define the number of rays used for shadows. There is also options to play around with photons, colour and shadows amongst other things at this stage. The attribute mia_exposure_simple1 is automatically added to the camera to make the camera look the way the human eye sees.
By applying the shader mia_material to the cubes it is possible to experiment and create various combinations for render effects. This shader also has ambient occlusion built in (usually reserved for render layers to my knowledge). Ambient occlusion darkers corners and helps to exaggerate details in the geometry. These cubes do not have a lot of detail but they are quite close together so the shadows inbetween them would be quite dark if ambient occlusion is added. I decided to bump up the reflectivity of my cubes so they would mirror their surroundings slightly - making them look more plastic.
Here's a close up of the reflection of the red cube in the blue.

Mia_physicalsky has a built in haze attribute that when raised can achieve a foggy effect by diffusing the lighting of the scene.
By applying a high integer to the haze attribute there is a drastic red shift (above) in the light spectrum - making everything more yellow, red and orange.
By applying a high negative integer to the haze attribute there is a drastic blue shift (above) in the light spectrum - making everything more blue and purple.

Combining the effects of the sun and sky system in a render with a separate render of the scene's occlusion pass, a fantastic time effect can be created to show the passage of time passing either for sunrise or sunset depending on colours used in the background. This first video shows the first experiment and the second below it shows the same experiment with the sun and sky skyline in the background.
This system is definately worth using when animating scenes that have high quality environment or character models that have lots of detail in the geometry. Simple shapes like these cubes work for tests but the best results can be acheived using highly detailed models.
Using the sunlight on one of the Wunderland models, the following tests show how simply manipulating the main sun directional light can create easy to use shadows. The first test shows the light simply turning (erratically) and the second shows it turning up - obscuring the model from the light and simulating a sunset.
Shadow manipulation
'Sunset'
Monday, 2 June 2008
The Muse Occlusion Renders
Here is an example of the render shots from the Muse. Dave has asked that i not put up all the blasts so that the film is not spoilt should anyone view the blog. I felt that there is no need to put all of them on the blog as they are all show the same process and effect. Here is an example from the first scene. All the elements in the blast have been added toa render layer set with the Occlusion pass preset. The settings have been edited to allow for a faster render time and then batch rendered in tiff sequence. These images are then ready to be added into an editing software.
Renders/Ice Cream/lighting update
The Muse
Here is the first shot of the 2D ice cream splat for the Muse film (done in 2D Flash over imported Maya render files). The second part will be added later on this week once i have added a shadow to the udnerside of the ice cream and completed the highlights.
Dave has asked me to set up and create several render passes for his characters for The Muse. This requires me to set up Maya to run an Occlusion render pass through Mental Ray. To do this i added all the character elements (body, props) and assign it to a new render layer set to the occlusion preset. Rather than run the render in basic format, scaling down the sample rate of the render but raising the sample rate of the character and props allows for faster renders with no loss of render quality.
I have been experimenting with the sun and sky system in Maya, a system that allows the user to simulate real sunlight that affects the Maya scene and geometry. This is a new feature of the 8.5 update of Maya and i thought i would be a useful addition to several films who have scenes set outside. My first test went well for the most part until somewhere, somehow i went wrong and ended up with an odd prism rather than a well lit textured cube (see below).


It's hard to notice exactly what is in the scene but there should be a rectangle and a plane - both textured in red and green respectively. Unfortunately something in the process of developing my understanding of the sun and sky system has led to the rectangle becoming a transluscent object and the ground texture disappearing altogether. The actual sky isn't even visible. Prior to this it had been a really vivid blue gradient. More tests are required!
Here is the first shot of the 2D ice cream splat for the Muse film (done in 2D Flash over imported Maya render files). The second part will be added later on this week once i have added a shadow to the udnerside of the ice cream and completed the highlights.
Dave has asked me to set up and create several render passes for his characters for The Muse. This requires me to set up Maya to run an Occlusion render pass through Mental Ray. To do this i added all the character elements (body, props) and assign it to a new render layer set to the occlusion preset. Rather than run the render in basic format, scaling down the sample rate of the render but raising the sample rate of the character and props allows for faster renders with no loss of render quality.
I have been experimenting with the sun and sky system in Maya, a system that allows the user to simulate real sunlight that affects the Maya scene and geometry. This is a new feature of the 8.5 update of Maya and i thought i would be a useful addition to several films who have scenes set outside. My first test went well for the most part until somewhere, somehow i went wrong and ended up with an odd prism rather than a well lit textured cube (see below).


It's hard to notice exactly what is in the scene but there should be a rectangle and a plane - both textured in red and green respectively. Unfortunately something in the process of developing my understanding of the sun and sky system has led to the rectangle becoming a transluscent object and the ground texture disappearing altogether. The actual sky isn't even visible. Prior to this it had been a really vivid blue gradient. More tests are required!
Wednesday, 28 May 2008
render tests+lighting1
These pictures and video show experimentation with mayas render settings and lighting. the first picture his simply been lit with a variety of lights (2 area, 2 directional) to give the grey character some colour and basic shadow.

The image below is an occlusion render pass. This effect stresses the proximity of shapes to one another. By using occlusion areas of deep shadow (such as under the hat and under the characters feet) become much darker. It also has the bonus of creating a specled effect over the geometry as the dark areas dissappear and fade to white.
This video shows the two passes and a third (a shadow layer) all merged.
I hope to play around some more with lighting and render tests in the coming week as i animate my final pieces for Dave and Adam.

The image below is an occlusion render pass. This effect stresses the proximity of shapes to one another. By using occlusion areas of deep shadow (such as under the hat and under the characters feet) become much darker. It also has the bonus of creating a specled effect over the geometry as the dark areas dissappear and fade to white.
This video shows the two passes and a third (a shadow layer) all merged.I hope to play around some more with lighting and render tests in the coming week as i animate my final pieces for Dave and Adam.
Subscribe to:
Posts (Atom)