Java-Gaming.org    
Featured games (91)
games approved by the League of Dukes
Games in Showcase (577)
games submitted by our members
Games in WIP (498)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 [2]
  ignore  |  Print  
  Particle System  (Read 5953 times)
0 Members and 1 Guest are viewing this topic.
Offline swpalmer

JGO Coder




Where's the Kaboom?


« Reply #30 - Posted 2003-11-08 23:53:18 »

Quote
now the linux/macos versions of jogl are in place.

Sweet us Mac users were not forgotten Smiley
Works great on OS 10.3...cool

Offline Jens

Senior Member




Java for games!


« Reply #31 - Posted 2003-11-12 11:20:02 »

Quote

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

i can post al link if you are interested. just give me a couple of days to bring some things in the right shape.


Is the source available? I think a particle system is interesting for a lot of Xith3D users.  Grin

Xith3D Getting Started Guide (PDF,HTML,Source)
Offline Jens

Senior Member




Java for games!


« Reply #32 - Posted 2003-11-12 11:27:25 »

Just saw that Java Cool Dude has java-files in the zip-download of his particle system. However your source can still be useful.

Xith3D Getting Started Guide (PDF,HTML,Source)
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline desertrock

Senior Newbie





« Reply #33 - Posted 2003-11-12 13:34:10 »

i'm working on it. just cleaning some things up. hopefully at the beginning of next week i can provide the souce,

holger
Offline goosebump

Senior Newbie




Java games rock!


« Reply #34 - Posted 2003-11-16 12:03:28 »

cant get it to work with JWS, is there any other way to see this? Dou you have a jar, screenshots ?

thanks
goosebump
Offline Jens

Senior Member




Java for games!


« Reply #35 - Posted 2003-11-16 12:58:34 »

Quote
cant get it to work with JWS, is there any other way to see this? Dou you have a jar, screenshots ?


Which error messages do you get? Make sure that xith3d.jar is *not* in /jre/lib/ext (this is a webstart bug).

Xith3D Getting Started Guide (PDF,HTML,Source)
Offline goosebump

Senior Newbie




Java games rock!


« Reply #36 - Posted 2003-11-16 21:42:32 »

The error I get is

"Unsigned application requesting unrestricted access to system"

I also checked that Xith3d is not in  the /jre/lib/ext. Any ideas whats happening or how to fix it?

jar file would make it a lot easier Smiley

Offline Jens

Senior Member




Java for games!


« Reply #37 - Posted 2003-11-17 06:16:20 »

Quote
"Unsigned application requesting unrestricted access to system"

I also checked that Xith3d is not in  the /jre/lib/ext. Any ideas whats happening or how to fix it?


Looks like desertrock forgot to sign one of the jars. Which system are you running? (Win/Linux/Mac)

Xith3D Getting Started Guide (PDF,HTML,Source)
Offline goosebump

Senior Newbie




Java games rock!


« Reply #38 - Posted 2003-11-17 10:36:46 »

I am running windows 98.
goosebump
Offline bcooper

Junior Newbie




Java games rock!


« Reply #39 - Posted 2003-11-17 11:09:37 »

Works and Looks Great. Outstanding Job.

Win2K Server
JDK 1.4.1
NVidia ti4600

Coop
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline desertrock

Senior Newbie





« Reply #40 - Posted 2003-11-17 17:58:06 »

hi!

source is now avaliable at:

http://users.xith.org/desertrock/particleforge/src/src.zip

it should compile against the latest xith3d cvs version. ensure that you put the library located in /lib in your classpath...

greetings,
holger
Offline nib

Junior Newbie




Java games rock!


« Reply #41 - Posted 2003-11-17 18:51:45 »

Quote


What version of Java are you running?  Is it your browser that is asking for the username and password?  What browser?

Will.


Sorry for the delay getting back to you:
1) Version: 1.4.2-beta
2) Java is asking for the pword, not the browser. It says "Checking for latest version..." in a background window and then in front of that is a window asking for username and password that says "User Authentication" and "server is requesting authentication for:"

Now, I am behind a proxy server so I'm wondering if that's the problem.
Offline shochu

Junior Member




Java games rock!


« Reply #42 - Posted 2003-11-21 15:52:00 »

Hi,
  I'm trying to get your particle system to work but by meshing it with my code.  (I hope you don't mind, it's just an academic project for my own benefit)  I was looking at the ParticleCollection class and it looks like this is what is needed in the scenegraph.  

I initialized a ParticleCollection

ParticleCollection emitter = new ParticleCollection()

then I added this to my scenegraph.

Then each render pass I call emitter.updateData();

Unfortunately nothing appears.  

Here's my question.  I noticed each ParticleCollection has it's own viewMatrix.  I assumed this was to make it easy to keep the particleCollection (emitter) on the screen.  However, we don't have to use this right?  It would be alright to keep the viewmatrix of the particleCollection null so long as we translated the particleCollection into the view of the screen.  This was the approach I was taking just for testing purposes.

Hmm, after a lot of testing it definately has something to do with the call to emitter.setViewMatrix()

Does anyone know what this does exactly?



Is there something I'm missing to make sure the particles appear?  I'll keep fooling around with it in the meantime.  THanks for your help!



Offline desertrock

Senior Newbie





« Reply #43 - Posted 2003-11-24 14:11:06 »

hi!

sorry for the delay...

shochu, try the following:

1  
2  
3  
4  
5  
emitter = new ParticleCollection();
Transform3D tmpT3d = new Transform3D();
tmpT3d.set(new Vector3f(0.0f, 0.0f, 1.0f));
view.setTransform(tmpT3d);
emitter.setViewMatrix(tmpT3d.getMatrix4f());


the ParticleCollection needs the the viewMatrix to calculate the billboard for each particle, so you have to set the viewMatrix.

hope this helps...

greetings,
holger
Pages: 1 [2]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

xsi3rr4x (25 views)
2014-04-15 18:08:23

BurntPizza (20 views)
2014-04-15 03:46:01

UprightPath (36 views)
2014-04-14 17:39:50

UprightPath (18 views)
2014-04-14 17:35:47

Porlus (34 views)
2014-04-14 15:48:38

tom_mai78101 (60 views)
2014-04-10 04:04:31

BurntPizza (118 views)
2014-04-08 23:06:04

tom_mai78101 (218 views)
2014-04-05 13:34:39

trollwarrior1 (185 views)
2014-04-04 12:06:45

CJLetsGame (192 views)
2014-04-01 02:16:10
List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:05:20
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!