Keep up-to-date with Free tutorials!!


Sign up to our twice-monthly newsletter today for the latest tutorials, interviews and product information.

Sign me up to receive third-party emails from 3dtotal's partners, too!

- Latest news
- Exclusive Shop Offers
- Preview early content
- Plus much more


Not Ready to take that step? OK, Why not just Subscribe to the RSS Feed

submit tutorial
1 | 2 | 3
Behind the scenes shading and rendering my Mini Cooper

| Your Rating:
rating star fullrating star fullrating star fullrating star fullrating star full
(3 Votes)
| Comments 0
Date Added: 9th December 2009
Software used:

The paint shader (continued)

The curve looks like this:

It's essentially turning the linear 0 -> 1 output of the sampler info's facing ratio into a 0 -> 2 exponential value.

The solution I settled on was a fairly simple one, using masks to define where the mud would lie on the car, and then mixing through to a mud shader in those areas. The mud shader was mapped separately and could be tiled and varied without affecting the paintwork.

I use curves instead of ramps to do this as I'm used 3D Studio Max's way of doing things, but really it makes no difference how it's done.

Integrating Shaders

Because all my muddy areas were defined by masks I could tweak the actual look of the mud over the whole car without having to keep going back to Photoshop. I mapped the two types of mud over the entire car as a Tri-planar projection, and then experimented with adding gradients to have the mud at the bottom of the car darker (wetter) than at the top.

Many of the settings on my shaders were connected to a control object in the scene, by changing those settings I could alter the look of the paint and mud instantly. These global controls really sped up the process at the end, even if they made duplicating shading networks a pain.

An early experiment using a different type of mud. This looked like someone had chucked a bucket of wet concrete on the bonnet.


As you'd expect rendering took a long long time. My frames were averaging one hour on a 3Ghz machine, and I ended up rendering an animated sequence of about 1000 frames! I was lucky to get the use of the machines in work.

Mental ray had some serious flickering and crawling issues. Setting the final gathering min and max radius correctly really helped prevent this. According to the mental ray information I found the max radius should be set to 10% of the scene width, and the min radius should be 10% of that. I ended up with 20max and 2min

I also played with the BSP settings to speed up render time, I've no idea why but I had most luck with BSP size set to 16, BSP depth set to 60 and BSP max memory set to 0.
Some renders still had a little flickering so I had to render out small fix up patches to place over those areas.

So there you have it, a little bit of behind the scenes info on the shading and rendering of my Mini Cooper.



Click here to see more of the car on the author's site!

< previous page

1 | 2 | 3
Related Tutorials

Sci-fi cars in Maya and Maxwell Render: Desert Racer Part 2

by Rory Björkman
published on 2017-01-17

Keywords: Maya, car, desert, race

rating star fullrating star fullrating star fullrating star fullrating star full (2)
Comments 0 Views 2785

Painting a car in perspective

by Sergey Svistunov
published on 2015-04-07

Keywords: PaintTool, SAI, Car, SpeedPaint,

rating star fullrating star fullrating star fullrating star halfrating star none (5)
Comments 0 Views 12051

Car Modeling Using Nurbs Part 2

by Julian Sarmiento
published on 2010-12-30

Keywords: car, modeling, nurbs,

rating star fullrating star fullrating star fullrating star fullrating star none (5)
Comments 1 Views 70353

Digital Painting - Sci-fi Vehicle Sketch

by Ahmed Aldoori
published on 2012-03-29

Keywords: digital, painting, vehicle, sci-fi,

rating star fullrating star fullrating star fullrating star fullrating star none (6)
Comments 0 Views 27959
Readers Comments (Newest on Top)
no comments!
No comments yet. Be the first to comment!
Add Your Comment..