Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

11855 Posts in 1569 Topics- by 3054 Members - Latest Member: Ljustin770

11. February 2012, 11:03:42 AM
Xith3D CommunityProjectsYour Projects (Moderator: 'n ddrylliog)JOPS 0.5 Released - Java Open Particle System
Pages: 1 [2] 3
Print
Author Topic: JOPS 0.5 Released - Java Open Particle System  (Read 7400 times)
guilhermegrg
Enjoying the stay
*
Offline Offline

Posts: 88


View Profile Email
« Reply #15 on: 10. December 2007, 01:32:57 AM »

Linux Editor is out !!! It's the jops-editor-linux-0.50.zip file.

Get it at sourceforge:
http://sourceforge.net/project/showfiles.php?group_id=203769

All you need is Java 1.6 JRE, 3d acceleration enabled and run the jops-editor.sh script.

The ant file has been changed so that it also builds the linux editor release.

Here a couple of shots. Click them for the full image:

In Compiz


With eclipse behing it



Logged
guilhermegrg
Enjoying the stay
*
Offline Offline

Posts: 88


View Profile Email
« Reply #16 on: 10. December 2007, 01:51:37 AM »

On another note, I've updated the 0.50 version to the  new openmali.jar.
The exception is gone, but no particles appear on the screen , only the green sphere that marks their point of origin.

Gonna try to figure this out.

Update: I think it' something to do with the transparency attributes. They are being selected correctly but if i do

app.setTransparencyAttributes(transparencyAttribs);

where app is the Appearance, it doesn't show anything.

If i don't set the transparency attributes, one can see the particles with the textures, without the blending obviously.
« Last Edit: 10. December 2007, 02:17:37 AM by guilhermegrg » Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4337


May the 4th, be with you...


View Profile
« Reply #17 on: 10. December 2007, 02:32:53 PM »

I cannot run the jops examples with the new jops.jar, since you've compiled it with Java 1.6 and I have gone back to 1.5 to ensure 1.5 compatibility for Xith3D. Could you please recompile it with 1.5?

I guess, I won't be able to run the current particle systems with the new jops.jar anyway, will I? Where can I get the new ones, btw.?

Marvin
Logged
guilhermegrg
Enjoying the stay
*
Offline Offline

Posts: 88


View Profile Email
« Reply #18 on: 10. December 2007, 04:07:08 PM »

What i can do is commit the changes that I've done. They're minimal and need to be done anyway. That way you can update it and check the problem out.

Changing the package names in Xith3D and the jops.jar.

About the jar, i'll generate a specific one for java 1.5. that'll solve the problems.

Other than that I've selected 8 ps's and 4 textures for the xith-tk resources. So these new files will work with the new jops. the old ones don't work with 0.5 version of jops.


Let me know if it's ok this way and I'll commit the changes.
Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4337


May the 4th, be with you...


View Profile
« Reply #19 on: 10. December 2007, 04:49:45 PM »

Yes. Please commit it.

Marvin
Logged
guilhermegrg
Enjoying the stay
*
Offline Offline

Posts: 88


View Profile Email
« Reply #20 on: 10. December 2007, 06:36:17 PM »

Ok I've commited the changes.
If you check out the test case now, you'll see black triangles with the textures applied.
that's because i disabled the transparency attributes.

Just uncomment line 479 of the GeneratorShape3D to enable it again.

With that, you'll see that the particles are invisible, even tough they are being calculated correctly.

Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4337


May the 4th, be with you...


View Profile
« Reply #21 on: 10. December 2007, 11:34:03 PM »

The bug is fixed. It's working fine now.

Marvin
Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4337


May the 4th, be with you...


View Profile
« Reply #22 on: 10. December 2007, 11:48:20 PM »

I have added all available particle systems back into the testcase. Is there a reason, why you removed them from there?

The "coloredSquares" PS isn't working. And the "snow" PS looks strange. Could be a wrong camera for this PS. Maybe it needs to be in a Foreground or Background Node. What do you say?

Marvin
Logged
guilhermegrg
Enjoying the stay
*
Offline Offline

Posts: 88


View Profile Email
« Reply #23 on: 11. December 2007, 01:25:55 AM »

Quote
Could you maybe replace the particle system files in xith-tk with the new ones? Would be great. There must not be all of them. I would suggest to only leave the five most interesting ones in the xith-tk and write a line in the testcase comment, where to get more and of course a link to your project page. Thanks.

I removed the old ones and added a few of the new ones, as requested. If none appeared, it must have been a mistake while commiting the changes.

The snow, is working fine, but the coloredSquares is not working properly indeed. It should show 9 triangles and i only see two of them, even in wireframe node.

I'll check whats going on, this is probably due do something in the integration code.

Thanks for fixing the bug. Was it something in the integration code ?
« Last Edit: 11. December 2007, 01:50:26 AM by guilhermegrg » Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4337


May the 4th, be with you...


View Profile
« Reply #24 on: 11. December 2007, 12:01:12 PM »

The snow, is working fine, ...

Are you sure? Please see the screenshot. That doesn't really look like snow, does it?

Thanks for fixing the bug. Was it something in the integration code ?

No. It was something in the RenderingAttributes peer. So it prevented ALL blended shapes from being rendered. Not only the jops ones.

Marvin
Logged
guilhermegrg
Enjoying the stay
*
Offline Offline

Posts: 88


View Profile Email
« Reply #25 on: 11. December 2007, 01:01:12 PM »

I knew you'd say that about the snow  Grin

Don't forget that the particle system is inside a rotating node, and that we are using the AbsoluteParticleNode.

That means that as the node is rotating around the X axis, the snow will be thrown out in a circle, and will look like that.

If you use the RelativeParticleNode though, you'll see a perfect column of falling snow rotating around the x axis.

For this effect to be used properly, it would have to be bigger and always on top of the camera. that way you would get the snow falling around you.

This is just a test of a simple column of falling snow in the distance. So yeah it will look like that.

I will be a little busy in the next few days, need to write a few reports so i don't know exactly when i get to check those colored Squares bug.

I'll let you know as soon as i have something.
Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4337


May the 4th, be with you...


View Profile
« Reply #26 on: 11. December 2007, 02:42:49 PM »

No problem. Just one thing: Could you maybe add the smoke column PS to xith-tk? IMHO this is one of the most beautiful and impressive ones.

Marvin
Logged
kukanani
Fierce Warrior
****
Offline Offline

Posts: 504


My game is coming along fairly smoothly...


View Profile WWW
« Reply #27 on: 11. December 2007, 03:51:19 PM »

IMHO this is one of the most beautiful and impressive ones.

I agree.
Logged

xith.setCoolnessLevel(10);
jMe.setCoolnessLevel(0);
xith.rock();
Pandaemonium
Enjoying the stay
*
Offline Offline

Posts: 85


If at first you don't succeed; call it version 1.0


View Profile
« Reply #28 on: 11. December 2007, 04:22:08 PM »

Quote
IMHO this is one of the most beautiful and impressive ones.

Quote
I agree.

1+.
Logged
guilhermegrg
Enjoying the stay
*
Offline Offline

Posts: 88


View Profile Email
« Reply #29 on: 11. December 2007, 11:20:48 PM »

Just added the tornado.ops file and the smoke texture for it as requested. Also changed the default particle system to this file.

I see that i need to clean up the texture a bit, and there's a strange periodic issue where one of the particles get in front of the others as its coming up. Really strange, don't know exactly why.
Logged
Pages: 1 [2] 3
Print
Jump to:  

Theme orange-lt created by panic