Skip to main content

Newbie Installation

7 replies [Last post]
anthonyfr
Offline
Joined: 2007-04-17

Hi !

I am new on lookin glass and I would like to install precompiled build (because CVS is blocked by our proxy) in order to make some test an developp a looking glass based application :
Applet with a 3D cube : each side can display Swing compoment, HTML, image or video.

Where can I find a looking glass jar + dll distribution for my system, implement it in Eclipse and start coding ?

I am also looking for Java doc for Looking glass.

Anthony

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
anthonyfr
Offline
Joined: 2007-04-17

Thanks for the tips.
I had already seen this builds.
I download the windows daily build : lg3d-daily-dev-1-0-1-win32-i686-0702080245.zip

I unziped it. Under Eclipse I created a user

library adding jars from /lib & /ext directories.

I started a sample application but when I do new Frame3D() I have an exception

Here is my code :

Frame3D frame3d = new Frame3D();

ColorCube cube = new ColorCube(0.05f);

Component3D comp = new Component3D();

comp.addChild(cube);

comp.setCursor(Cursor3D.SMALL_CURSOR);

frame3d.addChild(comp);

//frame3d.setCapabilities();

//frame3d.setActive(true);

frame3d.setVisible(true);




Here is the console traces



7 mai 2007 00:55:57 org.jdesktop.lg3d.displayserver.DisplayServerControl initializeSceneManager
GRAVE: Failed to instantiate SceneManager: null
java.lang.NullPointerException
at org.jdesktop.lg3d.displayserver.DefaultConfigControl.createSceneManager(DefaultConfigControl.java:430)
at org.jdesktop.lg3d.displayserver.DisplayServerControl.initializeSceneManager(DisplayServerControl.java:397)
at org.jdesktop.lg3d.displayserver.DisplayServerControl.initialize(DisplayServerControl.java:302)
at org.jdesktop.lg3d.displayserver.AppConnectorPrivate.getAppConnector(AppConnectorPrivate.java:105)
at org.jdesktop.lg3d.displayserver.AppConnectorPrivate.getAppConnector(AppConnectorPrivate.java:82)
at org.jdesktop.lg3d.wg.Component3D.(Component3D.java:83)
at org.jdesktop.lg3d.wg.Container3D.(Container3D.java:56)
at org.jdesktop.lg3d.wg.Frame3D.(Frame3D.java:40)
at org.jdesktop.lg3d.scenemanager.utils.springdamper.SprungFrame3D.(SprungFrame3D.java:45)
at com.orange.rd.SimpleApp.(SimpleApp.java:16)
at com.orange.rd.SimpleApp.main(SimpleApp.java:28)
7 mai 2007 00:55:57 org.jdesktop.lg3d.displayserver.DisplayServerControl initialize
ATTENTION: _______________DONE______________





I also would like to run lg3d in an applet. How to do ?

Message was edited by: anthonyfr

anthonyfr
Offline
Joined: 2007-04-17

What are the jars and the dll to install ? Where ?
How to run looking glass in applet ?

William Tracy

Whoa, okay.

First off, you cannot run Looking Glass inside an applet.

Next, look at the developer's guide here:
https://lg3d.dev.java.net/lg3d-developers-guide.html

The instructions there are for writing programs that run INSIDE
Looking Glass. If you package them correctly, when you run Looking
Glass you'll see an entry for your program appear in the menu.

Now, there's apparently a library (appkit?) for writing programs using
the LG3D APIs that run outside Looking Glass. I don't know anything
about it, so hopefully someone else will help out with instructions.

--
William Tracy
afishionado@gmail.com -- wtracy@calpoly.edu

Breaking Linux in New and Exciting ways, #517: Running sshfs as root.
# sshfs wtracy@vogon.csc.calpoly.edu school
# ls school
ls: school: No such file or directory
# cd school
# ls
ls: .: No such file or directory

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@lg3d.dev.java.net
For additional commands, e-mail: interest-help@lg3d.dev.java.net

anthonyfr
Offline
Joined: 2007-04-17

Thanks for the informations.
Do my real problem is to run it in an applet.

William Tracy

On 5/8/07, lg3d@javadesktop.org wrote:
> Thanks for the informations.
> Do my real problem is to run it in an applet.

You're probably better off using Java3D directly, then:
https://java3d.dev.java.net/

You won't have all the animation convenience classes that LG3D
provides, but those aren't hard to write yourself.

To give you a taste of what you can do, my computer algebra applet
uses Java3D to create graphs of 3D functions:
http://cas.dev.java.net

--
William Tracy
afishionado@gmail.com -- wtracy@calpoly.edu

Breaking Linux in New and Exciting ways, #517: Running sshfs as root.
# sshfs wtracy@vogon.csc.calpoly.edu school
# ls school
ls: school: No such file or directory
# cd school
# ls
ls: .: No such file or directory

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@lg3d.dev.java.net
For additional commands, e-mail: interest-help@lg3d.dev.java.net

anthonyfr
Offline
Joined: 2007-04-17

Thank you very much for the answer.
Java 3D was my other way of realization. I am on it but everything has to be done to render Swing on a 3D surface. I am going to see in this direction.
.
Anthony

William Tracy

> Where can I find a looking glass jar + dll distribution for my system, implement it
> in Eclipse and start coding ?

Binaries are here:
https://lg3d-core.dev.java.net/binary-builds.html

BTW, why on earth is this not linked from the front page? (The link is
buried inside of the "Getting Started" page.

> I am also looking for Java doc for Looking glass.

Lo and behold, there's a Javadoc download on the binary builds page (I
didn't know it was there!) under the daily builds. I have no idea if
it matches up with the 1.0 release, though.

Anybody know why the daily builds stop at 07-02-08? Did development on
the main branch just stop then? (That wouldn't surprise me,
actually--everybody's working on Wonderland.)

--
William Tracy
afishionado@gmail.com -- wtracy@calpoly.edu

Breaking Linux in New and Exciting ways, #517: Running sshfs as root.
# sshfs wtracy@vogon.csc.calpoly.edu school
# ls school
ls: school: No such file or directory
# cd school
# ls
ls: .: No such file or directory

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@lg3d.dev.java.net
For additional commands, e-mail: interest-help@lg3d.dev.java.net