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?
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 org.jdesktop.lg3d.sg.* 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 lg3d.sg classes are just a thin layer over some internal implementations org.jdesktop.lg3d.sg.internal.*. 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.
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.