Skip to main content

Hows LookingGlass related to Java3D?

1 reply [Last post]
Joined: 2003-06-12

Press says that LG is based on Java3D. The source of LG shows a package like

which looks very familiar to Java3D coders. Otoh, internally looks quite different.

Whats going on there?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2003-06-13

The Project Looking Glass is uses/is related to Java 3D in 2 ways:

1) The Display Server uses Java 3D to render everything on the screen.

2) The client 3D api* is a subset of Java 3D (actually there are a couple of tiny changes so it's not a true subset). Anyone who wants to write a 3D application UI will use this interface.

Now for some gory detail....

To allow us to experiment with different wire protocols between LG3D client and the display server the classes are just a thin layer over some internal implementations*. If you look here you will see a Java 3D implementation and an RMI implementation. The RMI implementation gives us the client/server support but will eventually invoke the Java 3D wrapper in the server to perform the rendering.

RMI was chosen for expedienee, it's almost certainly not the final wire protocol. One of the areas we would like the community to contribute to is the design of a language idependent wire protocol for Project Looking Glass.