3ds Max and Revit Interoperability - Part 15 - Adding Cars
In this tutorial, you add cars and buses with the intention of animating them. Prior to that however, you learn how to randomize the body colors of the various cars for more variety.
- Recorded in: 3ds Max 2015
- This tutorial is intended for use with 3ds Max version 2015 or higher.
00:00:06 --> 00:00:11
The models are now in place, daylight is defined and various materials have been adjusted.
00:00:11 --> 00:00:16
The next step is to add cars and ultimately animate them to liven up the scene.
00:00:16 --> 00:00:19
Open the file named cars.max,
00:00:21 --> 00:00:26
it shows a bus, three cars and a van that you eventually need to duplicate and animate.
00:00:27 --> 00:00:34
Buses don't vary too much. They typically have the same colors and slight differences in identification numbers.
00:00:34 --> 00:00:38
In that respect, you can duplicate the bus without too much worry.
00:00:38 --> 00:00:45
The cars though are a different matter. When you start duplicating them, you also want to be able to vary their colors.
00:00:51 --> 00:00:54
Here's how you can randomize the cars' body color:
00:00:56 --> 00:01:00
Open the Material Editor and sample a car's material.
00:01:00 --> 00:01:05
It's a Multi/Sub-Object material that assigns different sub-materials to different areas of the car.
00:01:06 --> 00:01:09
All cars and the van use that same Multi/Sub-Object material.
00:01:10 --> 00:01:16
You're mostly interested in the first sub-material named Body; which affects the vehicles' body color.
00:01:16 --> 00:01:22
Drag out the Diffuse Color socket and choose a mental ray > Multi/Sub-Map.
00:01:23 --> 00:01:25
Double-click it to edit its parameters.
00:01:26 --> 00:01:35
Here you can define how many colors you want to have. I'll use 6 for this tutorial, but feel free to experiment with up to 20.
00:01:38 --> 00:01:45
Also, you want to switch the mode to Random to ensure the colors are randomized across duplicates.
00:01:46 --> 00:01:50
Assign colors that you'd like to see on the cars.
00:02:05 --> 00:02:07
and test render the scene.
00:02:08 --> 00:02:12
The colors you have chosen are randomly assigned to the cars.
00:02:14 --> 00:02:21
If you'd like better color control, then you can use the Object ID method rather than the Random method.
00:02:22 --> 00:02:27
This way, you can assign specific Object IDs to specific duplicates,
00:02:28 --> 00:02:31
so that they follow the defined colors you have set.
00:02:52 --> 00:02:57
Objects that don't have IDs will fall under the Default/Out-of-Range Color category
00:02:58 --> 00:03:01
Choose the method you prefer,
00:03:03 --> 00:03:09
and then delete all duplicates you have created, leaving you with the original cars, van and bus.
00:03:10 --> 00:03:18
However, now that you have refined the car material, save your file under another name. Call it: mycars.max
00:03:19 --> 00:03:25
In the next movie, you merge these cars into your project and animate them using various methods.