Re: LANG: VRML Test Document

Kevin Goldsmith (kevin@unitcircle.org)
Tue, 23 Aug 1994 23:55:17 -0700


>
>Just to get the ball rolling, from my perspective, I put together this
>quickly thought out and highly incomplete sample VRML document. I realize
>that HTML syntax is probably not the way people are headed but, hey, it's
>an example.

This is a good example of something to watch out for. I found it extremely
hard to visualize what this would look like. We need to find a MUCH
simpler syntax. I think we should take some ideas from HTML, but we should
definitely avoid HTML syntax.

Kevin

>
>Borrowing from my limited use of html here is an imaginary VRML document:
>
><a href="vrml://nothing.domain.country/virtual/house.vrml"> Virtual World </a>
>
><!-- vot = virtual object tree - sub-objects related and grouped >
><!-- li = list item >
><!-- id = item definition >
><!-- space = some method for relating positions and relations of objects >
>
><vot>
>
><li> House=cube:40x40x40:blue:wood_texture:etc.
>
> <!-- volumes(cubes, spheres) would all have an inside and an outside >
>
> <id> garage=cube:10x10x10:blue:wood_texture:immobile:etc.
> <space>
> specify_position_somehow
> </space>
> <vot>
> <li> car=rectangle:1x2x3:rad_yellow:metallic_smooth:immobile:etc.
> <space>
> specify_position_somehow
> </space>
> </vot>
>
> <id> bedroom=cube:10x10x10:red:wood_texture:immobile:etc.
> <space>
> specify_position_somehow
> </space>
>
> <id> living_room=cube:10x10x10:green:wood_smooth:immobile:etc.
> <space>
> specify_position_somehow
> </space>
>
> <id> dining_room=cube:10x10x10:yellow:wood_texture:immobile:etc.
> <space>
> specify_position_somehow
> </space>
>
> <!-- all room cubes are inside of House cube by inclusion in list >
>
></l1>
>
><li> Yard=plane:60x60x60:green:grass_texture:immobile:etc.
>
> <id> House
> <space>
> specify_position_somehow
> </space>
>
> <id> Driveway
> <space>
> specify_position_somehow
> </space>
>
> <id> Shrubbery
> <space>
> specify_position_somehow
> </space>
>
></li>
>
></vot>
>
>
>===============================================================================
>
>Robert K. Foster
>Analyst / Designer / Programmer
>Mid-Michigan MRI, Inc., Lansing, MI, USA
>rkf@rad.msu.edu

kmg@unitcircle.org kmg@colossal.com
Unit Circle Home Page: ftp://ftp.netcom.com/pub/unitcirc/unit_circle.html