Chapter 7 | Importing Custom Vehicles
In Virtual CRASH 3, one can easily import third-party vehicle meshes to use as a vehicle model. Incredibly, the process of importing a .3ds or .dxf model and preparing it for use takes just minutes! In this write-up we will walk through the steps of importing a Nissan Altima model.
You can watch a video about this topic below:
Obtain a New Mesh
In this example, we’re going to import a 2002 – 2006 Nissan Altima model from the very well-known third-party vendor turbosquid.com. This particular model came in .3ds format.
Import Your Model
You can import your new model by going to “Project > Import” and selecting your model (see below), or you can drag your file icon into the Virtual CRASH 3 scene directly from your Windows file manager.
Position the Model
Set your model’s position to x = 0, y = 0. In this particular case, the orientation has to be set to yaw = 90 degrees in order to ensure the heading is aligned with the Earth frame x-axis (note this particular model was created with heading rotated at yaw = -90 degrees with respect to the Earth frame).
Now we need to remove the wheel polygons in our model because we are going to eventually have simulated wheels for our physics simulation vehicle model. First, select the “Elements” selection type using the upper tool bar.
Select each item associated with the wheels and carefully delete them all (see next three figures below). Do this for each wheel.
After removing the wheel polygons, you may also need to delete the corresponding bottom portion of the wheel vertices. Switch to the Vertices section type, go to profile view, and carefully select the vertices beneath the undercarriage of the car (see figure below). Try to ensure that you only select those vertices associated with the wheel objects. Press delete to remove the selected vertices. Note, if you choose not to do this step, you will likely need to set the ground clearance value to 0 height when the vehicle mesh is finally imported in .vcm format (see end of section). If you choose to delete the vertices, you may need to set the ground clearance value to be appropriate for your subject vehicle.
Set Material Types
Select the “Elements” selection type using the upper tool bar. Use the lasso tool to select all of the vehicle components.
With all of the polygons selected, go to the left side control panel, and under the “faces” menu, left-click on “material” to reveal your material options.
Finally, select the “cab” material type. The cab material will enable reflections of the vehicle body, and will inherit the vehicle color from the misc menu.
Select all of the windows in your model. As you select the windows, carefully ensure that the polygons selected with the “Elements” selection type do not include other parts of the vehicle. Remember you can select multiple objects simultaneously by using ctrl+left-click.
Once the window polygons have been selected, go to the left side control panel, and under the “faces” menu, left-click on “material” to reveal your material options.
Next, left-click on “glass”:
You’ll notice the polygons change in appearance after you change this material type:
As mentioned previously, depending on how the creator of the 3D model grouped the polygons, the “Elements” selection type may pick polygons outside of your intended area. The figure below illustrates an example, where left-clicking on the front windshield not only selected the front windshield polygons, but also the polygons for the roof as well as other undesirable components. In such cases, you will have to select each individual polygon “by hand.”
To do this, first select the “faces” selection type:
Next, using ctrl+left-click, select each polygon within the window:
Now that your window polygons are selected, you can switch to wireframe mode to ensure no other polygons outside of the front windshield were accidentally selected.
Once you are satisfied, again select the “glass” material type:
Note, this same procedure is applicable to any of the other material types you might select, where the elements selection type doesn’t work well due to including unrelated polygons.
Using the “Elements” selection type, left-click on the head lamps and select the “front light” material type:
Select the rear lamps, and then select the “back light” material type:
Using the “Elements” selection type, left-click on front and rear bumpers. Select the “bumper” material type:
This will allow you to make the bumpers different colors from the body panels.
Create Wheel Wells
Using the “Elements” selection type, left-click on wheel wells. Select the “bogie” material type:
Dolly the camera inside of the occupant cabin. Using the “Elements” selection type, carefully left-click on the various interior components. Select the “interior” material type:
Export Your Model
Now you’re finished preparing your model. Go to Project > Export, and save the file in .vcm format.
Import Your Final Mesh
Go to the Virtual CRASH 3 vehicle library and chose an exemplar vehicle. Adjust the wheel positions, geometrical size, and inertial properties of your exemplar vehicle to match your subject vehicle’s properties . Now, drag and drop your .vcm file on top of your exemplar vehicle within the scene.
You’ll be asked if you want to replace the current mesh. Answer yes:
You should now see your custom mesh appear on top of your exemplar vehicle.
You’re now ready to use your custom model! Save your file as a .vc3 file to use the model in the future. Remember, you can open as many .vc3 files simultaneously as you want in Virtual CRASH 3!
 For more information on modifying vehicle properties, see User's Guide Chapter 6 | Modifying Vehicle Properties.
Tags: Import custom vehicle, importing vehicles, importing dxf, import dxf, importing 3ds, import 3ds, paint polygons, change polygon color, how to make a window, change material type, change type of material, deleting polygons, removing polygons, remove polygons, delete polygons, removing vertices, deleting vertices, using turbosquid models.
© 2016 vCRASH, Americas, Inc. All Rights Reserved