mjbWorld program - Extrude Tutorial (using Extrude node)

Introduction

Extrude is a way to create 3d shapes from 2d shapes. The method shown here creates a cross section in an extrude node.

For information about the alternative method without using the extrudeNode see here. This method may be better if you want to do collision detection.

Steps

Start the program (see here for deails of how to load the program)

Insert a TransformGoup node. To do this click on to show the 'insert view', then drag a transfornGroupBean from the insert view to the tree view:

Close the insert view and add a 2D view:

It might help to rearrange the views so that they dont overlap:

 

Setup the 2D view by clicking on its 'info' button. This brings up a dialog window, set the valuse as follows:

Mode: 3d from plan

Grid size: 20

Show grid

 


metadata block
see also:

 

Correspondence about this page

Book Shop - Further reading.

Where I can, I have put links to Amazon for books that are relevant to the subject, click on the appropriate country flag to get more details of the book or to buy it from them.

 

Commercial Software Shop

Where I can, I have put links to Amazon for commercial software, not directly related to this site, but related to the subject being discussed, click on the appropriate country flag to get more details of the software or to buy it from them.

 

This site may have errors. Don't use for critical systems.

Copyright (c) 1998-2017 Martin John Baker - All rights reserved - privacy policy.