Author Topic: Interactive models of tensegrity structures  (Read 7133 times)

Offline Achim

  • byte
  • *
  • Posts: 26
    • View Profile
Interactive models of tensegrity structures
« on: February 15, 2009, 12:10:15 am »
I converted my old Java applet simulating Tensegrity structures from pseudo 3D code to a proper 3D rendering using jPCT.

Check out http://complexity.xozzox.de/tensegrity.html , play around with it (there is some help below the applet, as well as an explanation what tensegrity structures actually are) and tell me what you think.

Achim


Offline raft

  • quad
  • ******
  • Posts: 1971
    • View Profile
    • http://www.aptalkarga.com
Re: Interactive models of tensegrity structures
« Reply #1 on: February 15, 2009, 03:26:13 pm »
that works and also looks very well :) i like these kinds of things..

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11770
    • View Profile
    • http://www.jpct.net
Re: Interactive models of tensegrity structures
« Reply #2 on: February 15, 2009, 05:00:02 pm »
Reminds me of a toy that my little son has... ;D However, the applets both(!) seem to require Java6, even the 1.1 compatible one. Is this really needed? Can't you simply compile them for Java5? That way, they would work on my EEEPC too...

Offline Achim

  • byte
  • *
  • Posts: 26
    • View Profile
Re: Interactive models of tensegrity structures - Java6
« Reply #3 on: February 15, 2009, 06:25:41 pm »
Hi Egon,

I am using jDeveloper 11.1.1 and was not able to achieve the right settings. For the compiler, I selected version 1.5  in the JDK compatibility setting, but this still produces the incompatible class version exception when trying to run with a 1.5 JRE (in "Libraries and Classpath").
This is why I kept the old applet version online, as a fallback. But if this doesn`t work either, I have to go searching.... Any ideas?

Achim

PS: I found out that I touched the old applet with a java 1.6 compiler. So for the time I reverted to the really old applet (which apart from the old rendering has some features missing). So the fall back should work now.
« Last Edit: February 16, 2009, 10:09:08 am by Achim »

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11770
    • View Profile
    • http://www.jpct.net
Re: Interactive models of tensegrity structures
« Reply #4 on: February 17, 2009, 06:45:46 pm »
I don't know about JDeveloper, but what will always work is to compile it yourself on the command line.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11770
    • View Profile
    • http://www.jpct.net
Re: Interactive models of tensegrity structures
« Reply #5 on: February 20, 2009, 08:23:33 pm »
Do you mind if i add this to the project's page?

Offline Achim

  • byte
  • *
  • Posts: 26
    • View Profile
Re: Interactive models of tensegrity structures
« Reply #6 on: February 21, 2009, 12:02:11 pm »
no, not at all - I would be delighted. I also have an offline version of the applet that has expanded functionality, like optimizing the tensegrity structures according to various criteria, and picking struts or cables and changing their length using the mouse wheel. I could send you a screendump.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11770
    • View Profile
    • http://www.jpct.net
Re: Interactive models of tensegrity structures
« Reply #7 on: February 22, 2009, 11:26:05 pm »
Ok, I've added it to the projects page using the screen shots you emailed me. I've altered the text, so that it is a bit shorter now.

Offline Achim

  • byte
  • *
  • Posts: 26
    • View Profile
Re: Interactive models of tensegrity structures
« Reply #8 on: February 24, 2009, 08:51:44 am »
great, thanks - and even at the top!

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11770
    • View Profile
    • http://www.jpct.net
Re: Interactive models of tensegrity structures
« Reply #9 on: February 24, 2009, 09:28:49 am »
great, thanks - and even at the top!
That's due to a rule that i gave myself to put new entries on the top to keep things simple.

Offline Achim

  • byte
  • *
  • Posts: 26
    • View Profile
Re: Interactive models of tensegrity structures
« Reply #10 on: December 21, 2009, 10:25:09 pm »
There is now a downloadable, offline version (with some additional features).
Get it at http://www.xozzox.com/downloads.html

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11770
    • View Profile
    • http://www.jpct.net
Re: Interactive models of tensegrity structures
« Reply #11 on: December 26, 2009, 09:35:32 pm »
Works fine here on my crappy Linux Netbook. Judging from the console message, the version of jPCT that you are using isn't the latest. Maybe you should consider upgrading, because it offers you the option to use multiple cores for the software renderer

Offline Achim

  • byte
  • *
  • Posts: 26
    • View Profile
Re: Interactive models of tensegrity structures
« Reply #12 on: January 02, 2010, 11:49:52 am »
Thanks, Egon - good tip. Will consider, but first I have to tackle the issue of porting my main app to Win7 - see my post in the support section on memory issues. And then finding a way to export these structures to a standard 3D file format..

By the way, a modified version of this was used in a press conference by Chanel to support a launch of a new cosmetics product in middle of last year. This is supposed to improve the firmness of the skin by enhancing the structural elements of skin cells, which are believed to be based on the tensegrity principle. The application was used together with some physical models to show how this works to the journalists.