Particle System

hi all!

if you are interested you can check out my particle system:

http://www.netzkral.de/psys/psys.jnlp

it’s currently only tested on my windows machine, so i don’t know if it will run on others. if it works and you are interested i can change my jnlp to deploy the linux/macos natives.
please download some preconfigured configurations and additional textures from:

http://www.netzkral.de/psys/resorce.zip

the app consists of a gui to modify attributes and is also capable of loading and saving configurations as well.

i’m planning to code an extensible plugin-system so that it’s possible to assign plugins to each individual emitter/particle attributes…

hopefully it works,
greetings,

holger

pardon my language…

but fucking awsome!

WOOOT!

thnx! glad that it works :wink:

regards,
holger

Hi, Just wanted to let you know that I get this error when trying to run this from Java Web Start on Linux:


net.java.games.jogl.GLException: java.lang.ClassNotFoundException: net.java.games.jogl.impl.x11.X11GLContextFactory
      at net.java.games.jogl.impl.GLContextFactory.getFactory(GLContextFactory.java:76)
      at net.java.games.jogl.GLCanvas.<init>(GLCanvas.java:68)
      at net.java.games.jogl.GLDrawableFactory.createGLCanvas(GLDrawableFactory.java:117)
      at net.java.games.jogl.GLDrawableFactory.createGLCanvas(GLDrawableFactory.java:80)
      at com.xith3d.render.jogl.CanvasPeerImpl.<init>(Unknown Source)
      at com.xith3d.render.jogl.RenderPeerImpl.makeCanvas(Unknown Source)
      at de.netzkral.xith3d.particlesystem.ParticleSystem.<init>(Unknown Source)
      at de.netzkral.xith3d.particlesystem.ParticleSystem.main(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at com.sun.javaws.Launcher.executeApplication(Launcher.java:739)
      at com.sun.javaws.Launcher.executeMainClass(Launcher.java:701)
      at com.sun.javaws.Launcher.continueLaunch(Launcher.java:584)
      at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:328)
      at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:166)
      at com.sun.javaws.Launcher.run(Launcher.java:134)
      at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.ClassNotFoundException: net.java.games.jogl.impl.x11.X11GLContextFactory
      at com.sun.jnlp.JNLPClassLoader$1.run(JNLPClassLoader.java:229)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.jnlp.JNLPClassLoader.findClass(JNLPClassLoader.java:218)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:141)
      at net.java.games.jogl.impl.GLContextFactory.getFactory(GLContextFactory.java:67)
      ... 18 more


as i mentioned above, linux and macos are not supported yet. i’m looking forward to fix this within the next days…

That is awesome! Are you going to be making the source available?

OMG ALMOST IDENTICAL TO MINE :o

bummer I guess I will have to wait :’(

Will.

http://www.realityflux.com/abba/newparticles.jpg

He he mine is running at 20000 polygons per frame :wink:
It totally owns Java3D

:o

WOW

Will.

java.lang.NoClassDefFoundError: org/lwjgl/opengl/GL
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.Class.privateGetPublicMethods(Unknown Source)
at java.lang.Class.privateGetPublicMethods(Unknown Source)
at java.lang.Class.getMethod0(Unknown Source)
at java.lang.Class.getMethod(Unknown Source)
at de.netzkral.xith3d.particlesystem.reflect.MethodInvoker.setProperty(Unknown Source)
at de.netzkral.xith3d.particlesystem.reflect.MethodInvoker.populateProperties(Unknown Source)
at de.netzkral.xith3d.particlesystem.ParticleSystem.initResources(Unknown Source)
at de.netzkral.xith3d.particlesystem.ParticleSystem.(Unknown Source)
at de.netzkral.xith3d.particlesystem.ParticleSystem.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

guess thats a downer :(.

[quote]as i mentioned above, linux and macos are not supported yet. i’m looking forward to fix this within the next days…
[/quote]
This doesn’t stop it from working here. ;D (Debian GNU/Linux) It looks awesome!

works here too Linux (RH9) - nice :slight_smile:

makes sense since all of those native libraries are in my classpath already.

Will.

its asking me for a userid/pword when I try to run your particle system. What am I doing wrong?

hi!

i can’t belive it. the webspace i’m currently having is only for about 2 mb ;D
just tried to deploy linux/macos filez and got an ‘diskquota exceeded’ error :-/
i think the next thing i’ll do is to get me a better webspace. sorry no linux/macos for the next time…

[quote]java.lang.NoClassDefFoundError: org/lwjgl/opengl/GL
[/quote]
mmmhhh, strange. for sure, i’ve didn’t deployed the lwjgl-jar. but i can’t understand why this exception is thrown. i use jogl for rendering?!? anyway, i’ve made the errorreporting more verbose in the methodinvoker. can you please try again?

[quote]That is awesome! Are you going to be making the source available?
[/quote]
i can post al link if you are interested. just give me a couple of days to bring some things in the right shape.

[quote]He he mine is running at 20000 polygons per frame :wink:
It totally owns Java3D
[/quote]
looks cool! nice colors. are you planning to port this to xith3d?

[quote]its asking me for a userid/pword when I try to run your particle system. What am I doing wrong?
[/quote]
don’t know. i can say it’s not from my app. maybe a webstart issue?

greetings,
holger

[quote]its asking me for a userid/pword when I try to run your particle system. What am I doing wrong?
[/quote]
What version of Java are you running? Is it your browser that is asking for the username and password? What browser?

Will.

same class not found action. i dont have lwgl installed anymore… i using the jogl also :slight_smile:

love to try it out mind :slight_smile:

Do you need web space?

If you like I can give you 15MB (more if needed) if it is to be used for Xith3D related stuff. Open source would be prefrable but not required. Url can be: http://users.xith.org/desertrock/ (obviously it doesn’t have to be ‘desertrock’). Just email me will-at-omegadelta-dot-net if you’re interested (same goes for anyone else).

Cheers,

Will.

[quote]same class not found action. i dont have lwgl installed anymore… i using the jogl also :slight_smile:

love to try it out mind :slight_smile:
[/quote]
did you get exactly the same exception or is there an additional errormessage like ‘failed to invoke setter method … on class…’?

i’dont know why xith3d wants to use the lwjgl. is there some dependancy to lwjgl in special cases, even if one is using jogl?

/me needs some webspace to host all his open source JoGL, Xith3D and Java3D demos :slight_smile: