Professional Documents
Culture Documents
3D
ART68.3dsk
March 2002
7/2/02
11:58 am
Page 64
ART68.3dsk 7/2/02 11:58 am Page 65
3D
3D Skills
Photorealism in
3ds max
Photorealism is an important skill in 3D design.
We show you the key techniques…
s there some way to make wood look real relies on an understanding
March 2002 65
ART68.3dsk 7/2/02 11:58 am Page 66
3D
Symmetry
Though simple symmetrical
objects are the easiest to model,
they are often the most tricky
when working towards
photorealistic results. Take a tea
cup from your kitchen and
examine how many variations
there are in terms of its glaze,
shape and colour. Noise is a
useful tool, giving perfectly
symmetrical objects that little bit
of variation that adds another Open Pt1.max from the folder named maxfiles
3 To distort the object a little, add a Noise
modifier and check the Fractal box, changing
layer of realism to the illusion. 1
(in Tutorial\3dskills). Using the Line tool, draw 2 After altering these handles to produce a good the X and Z Strength to 0.01m. Using the
smooth line, add a Lathe modifier, checking the
out the profile of a saucer in the Front viewport, Weld Core box and specifying 36 segments. Hit the techniques in the previous steps, model an egg cup
using the plate for comparisons, making sure to add Y Direction button, then in the Align section press like the one pictured and position it on your plate.
enough detail around the curved edges. In Vertex the Max button and you have your basic saucer. Now Clone a copy of this and scale it up by 150 per
Sub-Object mode, work around the curve’s vertices Add a MeshSmooth modifier, changing the Render cent, placing it slightly off centre on the saucer and
individually, changing those that need to be curved Values settings in the Subdivision Amount roll-out to renaming it Cup. Change the Noise modifier’s Seed
to Bézier by right-clicking them. 1 and 1.0. value so it looks different to the egg cup.
Three-point
lighting
The convention of three-point
lighting is one that is firmly
established in cinematography,
and has become the main
foundation for lighting in CG,
too. One of the principal reasons
for this is that the technique
helps emphasise the 3D nature
of your subject, using light as a
modelling tool.
1 Open Pt2.max from the cover CD. Place a 3 This should be given a slight red tint and a
Target Spot acting as a key light, slightly to the Place another Target Spot to the camera’s left, Multiplier of 0.1. Right-click a viewport label
2 acting as a Fill. Give this the same values, and choose your backlight from the Views list.
right of the camera, pointing along the table at the
breakfast objects. Give the light a Multiplier value of though with no shadows and a Multiplier of 0.1. Now bring down the Hotspot and Fall-off values
0.75 and a slight yellow tint, setting its Hotspot and Turn off the light’s Specular component and give it a to tightly enclose the table. When rendering, you
Fall-off to 45 and 60. Make sure its shadows are light blue tint. This should just open up the shadows should see a marked difference between this
turned on, up the Shadow Map value to 1024 and slightly, while keeping some contrast. Another lighting set-up and max’s default lighting. Good
change the Sample Range to 8.0. Target Spot should be placed, acting as a back light. lighting is vital for material design.
66 March 2002
ART68.3dsk 7/2/02 11:58 am Page 67
3D
Part 3: Material world
The key to photorealism lies in the detailed textures, and the ceramic glazes
are typically challenging…
SuperSampling
Within 3ds max, SuperSampling
is one of several anti-aliasing
techniques that the software
performs. Textures, shadows,
highlights, raytraced reflections
and refractions all have their
own preliminary anti-aliasing
strategies. SuperSampling is an
optional additional step that
provides a best guess colour for
each rendered pixel, performing
an additional anti-aliasing pass on
the material. The SuperSampler’s
output is then passed on to the
renderer, which performs a final Open Pt3.max from the cover CD. For our
anti-aliasing pass.
1 2 Within a new layer, apply the Render>Clouds 3 In 3ds max, in a new material slot, change the
diffuse egg cup texture, start with a 1024x512- filter with the Foreground and Background Diffuse colour to the previous cream colour
pixel file in Photoshop and fill the background with colours reset to black and white. Give this layer an and alter the Specular Level, Glossiness and Soften
Raytracing a very light cream, around R:243, G:239, B:221. Opacity value of 25 per cent and set the layer’s values to 30, 50 and 0.6 respectively. Place the base
Create some light blue stripes in a new layer, then blending mode to Overlay. In another new layer, texture in the Diffuse channel and at the top of the
When you’re first designing
using the Randomise button, apply different Wave paint some dark discolouration along the bottom material, then in the Bump channel choose a Noise
materials that have raytraced
filters to each of these lines to give them a hand- edge and some white wear along the top before map, with Fractal noise of Size 0.2 and a Low value
components, turn off any anti-
painted feel. saving a JPEG copy. of 0.675.
aliasing options in the
renderer’s global options, which
will make the initial design
decisions quicker. Also, max’s
global setting for its raytrace
depth defaults to a maximum of
9, which is overkill for most
scenes. Calculate how much
depth is actually needed in
your scene and reduce this
value appropriately (2 or 3 will
usually suffice).
Now drag an Instance of this to a blank slot in Set the Specular Level, Glossiness and
4 Now click the button labelled Noise and 5 the Material editor. Back at the top level of 6 Anisotropy to 40, 55 and 0 and change the
change the map type to Gradient, electing to
keep the old map when prompted. This will make your egg cup material, hit the button marked Ambient, Diffuse and Specular colour swatches to
the bumpiness fade off towards the bottom of the Standard and change the map type to Shellac, three shades of grey – R:35, G:35, B:35, R:138,
egg cup. Keep the values as they appear by default, keeping the old material. Specify a Colour Blend of G:138, B:138, and R: 229, G: 229, B:229
but change the Colour 2 Position to 0.2, then go 35, rename this material Eggcup and within the respectively. Now drag an Instance of the Bump
back to the top of the material and give the Bump a Shellac material choose an Anisotropic shader, material you copied to another slot into this
value of 10. turning on SuperSampling. material’s Bump channel.
March 2002 67
ART68.3dsk 7/2/02 11:59 am Page 68
3D
Lighting
Most people find that starting
with the dominant key light is the
best approach when building up
complex lighting scenarios.
However, once this has been
established, it’s often a good
idea to turn this off and work
through the lighting from the
subtlest towards those with the
most influence. This way, the
influence of even the smallest
lights is not lost among the more Open Pt4.max from the cover CD. First, you
1 Set the Multiplier to 1.0, ensure Cast Shadows
3 Set the two colour swatches to a light grey of
powerful sources. need to create a Target Spotlight. Don’t worry 2 is turned off and uncheck the Specular
about its position, just place it and use the Align tool about R:225, G:225, B:225 and a very dark
to move it into the middle of your cup, with its component. Now, down in the bottom roll-out of blue-grey (around R:35, G:50, B:55), then check the
target object straight above. Set the Hotspot to 0.5 this light (the one labelled Atmosphere & Effects) hit Use Attenuation Colour box. Change the Density to
and the Fall-off to fit inside your cup (about 25 the Add button. Select Volume Light from the 10.0 and the Attenuation Multiplier to 0.0, setting
should do it). Give this light a pure white colour and resulting dialog and OK this, then press the Setup the Filter Shadows setting to Low for test renders –
rename it SpotSteam. button to jump directly to the Environment dialog. but change it for final print-resolution output.
4 To create the smoke pattern within the volume To further reinforce the back lighting, within
6 the Shellac materials, place a Fall-off map
light, turn Noise on and set its Amount to 0.9,
changing its Type to Turbulence. Its Noise Threshold
5 To have our previous lights behave realistically, within the Self-Illumination channels, changing the
we need to give them some decay. Real-world
High and Low values should be set to 0.5 and 0.2, illumination behaves according to the Inverse Fall-off type to Fresnel. Set the Self-Illumination
while its Uniformity should be set to 0.0. Finally, set Square Law, and this form of decay is available to us amount to around 35 until you just get a subtle
the Size to 5. Render, and when you’re happy with in 3ds max. Set the Start value for the key light to back-lit effect. Do this at both the material’s levels,
the results, up the Filter Shadows setting and turn begin just beyond the cup in the Right viewport. and in the Eggshell material, though with a slightly
off the effect. Repeat this for the fill and back lights. stronger level: around 50.
Anti-aliasing filters
Within 3ds max, there are 11
different basic filters that form
the last step in anti-aliasing
during the final render. They
work at the sub-pixel level
and enable you to sharpen or
soften your final output,
depending on which filter you
select. For still, high-resolution
renders, especially for print
output, the anti-aliasing filter
should be one that sharpens the
image, making it as detailed and When rendering for a print-resolution image, To calculate the size of the rendered image
clear as possible.
1 it’s important that the right anti-aliasing filter is
2 required, you need to work backwards. For Within Rendering>Environment, turn on the
used to keep as much detail as possible. The instance, the main image at the start of this article is
3 Volume Light that we created earlier for the
Catmull-Rom filter – named after Edward Catmull, 295mmx225mm, at 300dpi. The easiest way to steam. Set the Output Size to the dimensions
one of the co-founders of Pixar – is a good bet, as it work out the size of the image required is to create a required, ensure that Disable All Samplers is
sharpens the object textures themselves, as well as new image of this size and resolution in Photoshop unchecked. Save your work one last time before
the edges of the objects. Turn this on within the and see how big this is in pixels: in this case you hit the Render button and go take a well-
main Render dialog. 3484x2657. deserved break. ca
68 March 2002