Skip to main content

Newbie questions

4 replies [Last post]
ghostlike
Offline
Joined: 2006-11-27
Points: 0

Hello, I'm studying mediatechnology in the Netherlands (first year) and we have to create a Java application that converts color systems.

We need 6 different panels for that, so I said: why don't we try to map the 6 panels to a cube, but is this possible using LG3D with the SwingNode and that you can rotate your cube just like Compiz/Beryl or the like?

Thanks in advance, Casper

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
ghostlike
Offline
Joined: 2006-11-27
Points: 0

No, I'm talking about a cube with different java programs on each side:

something like:

Polygon poly1 = new Polygon();
poly1.add(program1);

simple example: 6 different programs with Graphics2D to put numbers on each side.

But we are talking about full applications with Swing and sliders and stuff.

Casper

ahamza
Offline
Joined: 2006-03-13
Points: 0

If I understand you correctly, it is quite easy to do this:

You need 6 JPanels , each put in a different SwingNode object created with the default constructor.

Next, you can use translation and rotation on the Component3D objects holding the SwingNodes to give the effect of being on the faces of a cube.

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

This would make an interesting demo, good luck.

William Tracy

> Hello, I'm studying mediatechnology in the Netherlands (first year) and we have to create a Java application that converts color systems.
>
> We need 6 different panels for that, so I said: why don't we try to map the 6 panels to a cube, but is this possible using LG3D with the SwingNode and that you can rotate your cube just like Compiz/Beryl or the like?

I'm not sure that I understand the question, but I think that the answer is yes.

If you want just a square/rectangle in the middle of the screen to
change, then that would not be hard in LG3D. If you want it to be
fullscreen, that's probably not going to work in LG3D.

William

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