Re: Common Objects

Nathan J. Strange ([email protected])
Tue, 30 May 95 17:27:19 EST


>
> But what if I have:
>
> car.wrl
>
> Where my car is composed of multiple objects, each with their own color?
> Do you want to overide the color of the car's body, the tires, the
> windowshield, etc etc, with 1 color?

If I use:

Def BodyMaterial Material { }

And then have a

USE BodyMaterial

in car.wrl

I should be able to specify the color and properties of just the
car's body...

I could have one WWWInline call in the body material and then another
Call up car.wrl ... this way I could use car.wrl to make a red car
a blue car, and a glass car....

If VRML 1.1 adds the ability to change a node we could have
car.wrl at a big archive, call it up and CHANGE BodyMaterial and
CHANGE Wheels, etc. , etc. In this way the archives could
have several generic objects, and an Index of the objects and their
named nodes that could be changed..

Using this Index one could turn a generic object into an
individualized object....