Previous Next Index Thread

Re: Can VRML generate objects on the fly ?

Mohsen Kahani wrote:
> At 15:59 16/12/96 -0200, Juliano Ipolito wrote:
> >Hi All,
> >
> >I would like to know if there is a way of
> >generate objects in my world as the user steps around it.
> >For example, when the user is at position 0 0 0 he sees only a cube,
> >when he goes to 10 0 0, then he sees a sphere etc.
> >Note that I don't want use LOD. The browser should download
> >the objects (various files) as the user steps into the world.
> >
> >Can it be done using java ?
> >
> Yes, you can do that using External Authoring Interface with Java. The only

Actually you don't need to use the EAPI, you can do it with Java in any
browser that supports Java directly using the Java API. All you need to
do is write some java code that uses the "create vrml from string" and
add node - just take a look at the Java API in the VRML 2.0 spec
(appendix C)

*** Please send administrative requests to <> ***