Skip to main content

3D Background....

9 replies [Last post]
paulby
Offline
Joined: 2003-06-13
Points: 0

I've just committed preliminary code to support a desktop background that is a 3D model rather than an image.

I also found a great model on www.3dkingdom.org and with kind permission of the author Ania we can use it in Project Looking Glass. The full rendering of Ania's model can be seen here http://www.3dkingdom.org/index.php?module=My_eGallery&do=showpic&pid=168...

Now you know why I had to have it :-) But don't get too excited as it does not look this good in PLG yet.

The model is a little large at the moment and is slowing down mouse motion quite a lot so it's not enabled by default. We can fix this but the model was soooo good I had to share it sooner rather than later. To get the 3D background working, do a cvs update on branch dev-0-5-1 and then in src/devscripts edit the setup script and uncomment the line that starts 'setenv LG_SETTINGS'. Then run lg3d-dev

To fix the performance we need to edit the model a little and remove some of the geometry. There are a number of things to do....

1) Put the ocean back in (Ania's model used over 50,000
triangles for a flat ocean. A single quad should suffice for realtime work

2) Trim the iceburgs by removing all geometry that is
under the water.

3) Fix the penguin so his other wing and face are rendered. This is a loader bug, but we may be able to work around it by changing the model.

4) Simplify the iceburgs, perhaps even remove the back of each iceburg.

The current 3D model is in Java 3D's j3f format. I'll post Ania's original .max model and the .3DS model I used to create the j3f model on Monday in the lg3d-art project on java.net (lg3d-art will be there on Monday).

Enjoy

Paul

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Juan González

I had same problem, for some reason cvs simply ignores the file, anyway, i've
downloaded the file manually and putted it in src/resources/models/pinguin
from the following addres and everything went fine. Hope it helps
https://lg3d-core.dev.java.net/unbranded-source/browse/*checkout*/lg3d-c...
On Friday 20 August 2004 20:58, David Weizades wrote:
> Did an update as soon as I saw the update, it complains about:
>
> SEVERE: Loader failed
>
> It refuses to load the background and I did a quick search on lg3d-core
> and didn't see anything about it. Any pointers on where to look?
>
> /David (ddew)
>
> lg3d-interest@javadesktop.org wrote:
> >I've just committed preliminary code to support a desktop background that
> > is a 3D model rather than an image.
> >
> >I also found a great model on www.3dkingdom.org and with kind permission
> > of the author Ania we can use it in Project Looking Glass. The full
> > rendering of Ania's model can be seen here
> > http://www.3dkingdom.org/index.php?module=My_eGallery&do=showpic&pid=1688
> >&orderby=dateD
> >
> >Now you know why I had to have it :-) But don't get too excited as it does
> > not look this good in PLG yet.
> >
> >The model is a little large at the moment and is slowing down mouse motion
> > quite a lot so it's not enabled by default. We can fix this but the model
> > was soooo good I had to share it sooner rather than later. To get the 3D
> > background working, do a cvs update on branch dev-0-5-1 and then in
> > src/devscripts edit the setup script and uncomment the line that starts
> > 'setenv LG_SETTINGS'. Then run lg3d-dev
> >
> >To fix the performance we need to edit the model a little and remove some
> > of the geometry. There are a number of things to do....
> >
> >1) Put the ocean back in (Ania's model used over 50,000
> >triangles for a flat ocean. A single quad should suffice for realtime work
> >
> >2) Trim the iceburgs by removing all geometry that is
> >under the water.
> >
> >3) Fix the penguin so his other wing and face are rendered. This is a
> > loader bug, but we may be able to work around it by changing the model.
> >
> >4) Simplify the iceburgs, perhaps even remove the back of each iceburg.
> >
> >
> >The current 3D model is in Java 3D's j3f format. I'll post Ania's original
> > .max model and the .3DS model I used to create the j3f model on Monday in
> > the lg3d-art project on java.net (lg3d-art will be there on Monday).
> >
> >Enjoy
> >
> >Paul
> >---
> >[Message sent by forum member 'paulby' (Paul Byrne)]
> >
> >http://www.javadesktop.org/forums/thread.jspa?messageID=23974嶦
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: interest-unsubscribe@lg3d.dev.java.net
> >For additional commands, e-mail: interest-help@lg3d.dev.java.net
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@lg3d.dev.java.net
> For additional commands, e-mail: interest-help@lg3d.dev.java.net

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

comrad
Offline
Joined: 2004-02-15
Points: 0

well, i got that branch via

[b]
cvs -d :pserver:comrad@cvs.dev.java.net:/cvs checkout -r dev-0-5-1 lg3d-core
[/b]

but i dont find the needed script line

[b]
setenv LG_SETTINGS
[/b]

what can i do?

comrad

Anonymous

Cool...:)

I had no problem with the CVS etc, and can get it up and running.
The lgserver.log does throw a wobbly though. Is this expected?

......
WARNING: Unable to load UserData
Class missing java.lang.ClassNotFoundException: com.sun.j3d.demos.j3dfly.plugins.PluginJ3fData
--------------------- Center=(32.418498348043386, -102.43661672865278, -784.1406878528871) Radius=1463.369176521295
21-Aug-2004 18:40:36 org.jdesktop.lg3d.wg.internal.j3d.j3dnodes.ModelLoader load
INFO: Added Scene
============= Original Bounds Center=(32.418498348043386, -102.43661672865278, -784.1406878528871) Radius=1463.369176521295
============= New Bounds Center=(0.011076664387164788, -0.035000264733989414, -0.5679230704913207) Radius=0.5000000021230594
21-Aug-2004 18:40:36 org.jdesktop.lg3d.displayserver.socketconnector.ServerHandler
INFO: Start Display Server
21-Aug-2004 18:40:36 org.jdesktop.lg3d.displayserver.socketconnector.ServerHandler$ConnectionManager run
INFO: Server started...
21-Aug-2004 18:40:36 org.jdesktop.lg3d.displayserver.socketconnector.ServerHandler$ConnectionManager run
INFO: Waiting for client connection...

Message was edited by: PhilD

comrad
Offline
Joined: 2004-02-15
Points: 0

Damn, it was my fault. I must have overread the "setup" in setup script. it works fine here, but right clicking to put a window in the background does not work. beside that: nice :)

comrad

paulby
Offline
Joined: 2003-06-13
Points: 0

The warning in the log script is fine. If the Scene Graph IO complaining (correctly) that it can't load some J3dEditor specific information because that tool it not in your path. I'll tidy that up in a later version.

paulby
Offline
Joined: 2003-06-13
Points: 0

lg3d-art.dev.java.net is up

David Weizades

Did an update as soon as I saw the update, it complains about:

SEVERE: Loader failed

It refuses to load the background and I did a quick search on lg3d-core
and didn't see anything about it. Any pointers on where to look?

/David (ddew)

lg3d-interest@javadesktop.org wrote:

>I've just committed preliminary code to support a desktop background that is a 3D model rather than an image.
>
>I also found a great model on www.3dkingdom.org and with kind permission of the author Ania we can use it in Project Looking Glass. The full rendering of Ania's model can be seen here http://www.3dkingdom.org/index.php?module=My_eGallery&do=showpic&pid=168...
>
>Now you know why I had to have it :-) But don't get too excited as it does not look this good in PLG yet.
>
>The model is a little large at the moment and is slowing down mouse motion quite a lot so it's not enabled by default. We can fix this but the model was soooo good I had to share it sooner rather than later. To get the 3D background working, do a cvs update on branch dev-0-5-1 and then in src/devscripts edit the setup script and uncomment the line that starts 'setenv LG_SETTINGS'. Then run lg3d-dev
>
>To fix the performance we need to edit the model a little and remove some of the geometry. There are a number of things to do....
>
>1) Put the ocean back in (Ania's model used over 50,000
>triangles for a flat ocean. A single quad should suffice for realtime work
>
>2) Trim the iceburgs by removing all geometry that is
>under the water.
>
>3) Fix the penguin so his other wing and face are rendered. This is a loader bug, but we may be able to work around it by changing the model.
>
>4) Simplify the iceburgs, perhaps even remove the back of each iceburg.
>
>
>The current 3D model is in Java 3D's j3f format. I'll post Ania's original .max model and the .3DS model I used to create the j3f model on Monday in the lg3d-art project on java.net (lg3d-art will be there on Monday).
>
>Enjoy
>
>Paul
>---
>[Message sent by forum member 'paulby' (Paul Byrne)]
>
>http://www.javadesktop.org/forums/thread.jspa?messageID=23974嶦
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: interest-unsubscribe@lg3d.dev.java.net
>For additional commands, e-mail: interest-help@lg3d.dev.java.net
>
>
>
>

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

paulby
Offline
Joined: 2003-06-13
Points: 0

I've done several commits, are you sure you have them all ? Also lgserver.log should contain the exception that cause the loader to fail.

Message was edited by: paulby

David Weizades

Just tried to checkout a new dir with the dev-0-5-1 branch, still
doesn't work. Same error.

/David

lg3d-interest@javadesktop.org wrote:

>I've done several commits, are you sure you have them all ?
>---
>[Message sent by forum member 'paulby' (Paul Byrne)]
>
>http://www.javadesktop.org/forums/thread.jspa?messageID=23988嶴
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: interest-unsubscribe@lg3d.dev.java.net
>For additional commands, e-mail: interest-help@lg3d.dev.java.net
>
>
>
>

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