|
|
|
The Inline node groups other VRML objects or scenes by calling URLs from the World
Wide Web to create one composed world. There are several
benefits when using this node. An Inlined file loads quickly and the
user can see the world loading almost immediately. This occurs
because there are separate files for VRML objects. Therefore
those files can be used repeatedly as they are not constrained to one
world. For more details about this node, check out the
VRML 2.0 Spec. |
|
1) First create one scene with all the objects, materials and NavigationInfo
that are needed for a basic VRML file and export it to a .wrl file.
To the right, we have created a simple world for you to use as an example.
|
|
2) Next it is a good idea to add at least one 'Camera' which will be a 'Viewpoint' in
the VRML file, but the file will still work without Viewpoints. NOTE: The more Viewpoints the better in VRML files. The
different browsers have various navigation abilities and restraints, therefore the
Viewpoints are the one consistent way the user can view the file.
|
|
3) To add a Camera, go to the Creation panel/press the 'Camera' button and Choose 'Target'
as the Object Type.
|
|
4) With your mouse, drag the Camera in the 'Top' viewport and stretch it out.
|
|
5) To view what the Camera is seeing, go to the Perspective viewport
and press 'c' on the keyboard. And there you are from the Cameras
point of view.
|
|
6) The Camera is easy to adjust with the Move and Rotate buttons, so test
them out.
|
|
7) Also it is good to name your Cameras. The Camera name is what the user
sees in the VRML browser as the name of the Viewpoint. Otherwise it
will default to Camera01, Camera02 etc. Which is pretty boring, if you
have a great viewpoint to show off.
|
|
8) Viewpoints help tell a story in the VRML file, because you can
lead the viewer to ideal viewing points of the model which they
might not otherwise explore.
|
|
9) Now you must also create another scene which will include
only objects.
Note: the objects between the two scenes are going to be combined and therefore
need coordinate systems that match so that the geometry fits together appropriately.
|
|
|
|
10) With the first file go to the 'Creation' panel and choose 'Helpers'.
Under 'Helpers', at the pull down arrow, choose 'VRML 1.0/2.0/VRBL'
and then choose the Object Type 'Inline'.
|
|
11) Now go to your scene and drag the mouse anywhere. You will
see an icon that signals to you that you have placed the Inline node.
|
|
12) In the URL field enter the URL of the second file you created. The
inlined file must be a .wrl file.
|
|
13) You can also add wrl files or pull wrl files to inline from the 'Bookmark' directory.
|
14) In the Icon Size box, you can designate a larger or smaller
icon size for the Inline node.
|
|
15) Now you have entered all possible information for the 'Inline' node.
If you need to go back, after leaving the Creation panel, and alter any of the
parameters, then go to the 'Modify' panel and adjust.
|
|
16) Now you have successfully implemented an Inline node into your
file.
|
|
17) To check, go to the 'Selection' menu!
and NOTE: You can name your particular Inline in MAX in the 'Name' field.
|
|
18) Now Skinny on over to 'File' and choose 'Export'.
The Exporter knows that you are referring to the file that is open
and requests that you name your file. |
|
19) So first choose '.wrl' filetype
Then name your file, i.e. 'SuchAndSuch.wrl' |
|
20) Suggestion: Because you might need to go back to the MAX file and adjust part of
your world, it is
a good idea to keep the filename between to two files the same.
|
![]() dFORM |