Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (499)
Games in Android Showcase (118)
games submitted by our members
Games in WIP (568)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  AWESOME particle system  (Read 1397 times)
0 Members and 1 Guest are viewing this topic.
Offline alaslipknot
« Posted 2013-04-29 01:23:10 »

hello,
i just found this video on youtube and i want to post it here in case you didn't see it, it's pretty amazing and it's written with in pure java with no outside libraries.

<a href="http://www.youtube.com/v/a8uZUqIEsoI?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/a8uZUqIEsoI?version=3&amp;hl=en_US&amp;start=</a>

Dear Experts  Roll Eyes
a getting started tutorials about graphic effect (Glow,Blur, particle system ) in java will be very appreciated  Grin

"It's not at all important to get it right the first time. It's vitally important to get it right the last time."
Offline Rorkien
« Reply #1 - Posted 2013-04-29 03:27:27 »

That's how i like it. Messing with pixels, no forms, pure math.

I'm yet to see if it performs well.
Offline StumpyStrust
« Reply #2 - Posted 2013-04-29 06:34:09 »

Very limited though. Nice to see someone mange to crank so many particles in just java2d but if you look at the source he does not do very many g.draw calls. (if any) most is directly manipulating pixels which is not very nice when you want to do more then program pixels.

I would love to know what his computer specs are because I simply can't see most peoples computers doing 1 mil particles. I also tried the code and although it compiled it just didn't do anything. Another reason why you should stay the hell away from java2D. It is not at all consistent on computers.

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

JGO Knight


Medals: 25



« Reply #3 - Posted 2013-04-29 07:25:55 »

It does look insanely cool though. The fact that he managed to make it work like this on his development machine is still an achievement, even if you'll never make it perform well in general.
Online nsigma
« Reply #4 - Posted 2013-04-29 09:07:58 »

I also tried the code and although it compiled it just didn't do anything.

You try dragging with the right mouse button?  I thought it was broken too until I looked at the code.

Another reason why you should stay the hell away from java2D. It is not at all consistent on computers.

Except that the vast majority of this is not Java2D, it's direct pixel manipulation, which is highly consistent across computers.  This would probably perform better if he switched to an active rendered buffer strategy for the final blitting.

Praxis LIVE - open-source intermedia toolkit and live interactive visual editor
Digital Prisoners - interactive spaces and projections
Offline alaslipknot
« Reply #5 - Posted 2013-04-29 10:49:34 »

xD
i dunno why you hate Java2D that much  Roll Eyes
try watch this one, he is explaining his method for the previous particle system
here

"It's not at all important to get it right the first time. It's vitally important to get it right the last time."
Offline Roquen
« Reply #6 - Posted 2013-04-29 10:51:11 »

for graphics effects in java: search opengl + <insert name of effect>
Offline alaslipknot
« Reply #7 - Posted 2013-04-29 10:53:21 »

for graphics effects in java: search opengl + <insert name of effect>
i didn't start learning openGl yet  Roll Eyes
i need to finish my first Java2D game  Cool
ps :
i dunno why it scares me  Tongue
"openGL"  xD
it's hard to learn isn't it ?

"It's not at all important to get it right the first time. It's vitally important to get it right the last time."
Offline matheus23

JGO Kernel


Medals: 108
Projects: 3


You think about my Avatar right now!


« Reply #8 - Posted 2013-04-29 11:05:49 »

i dunno why it scares me  Tongue
"openGL"  xD
it's hard to learn isn't it ?

Definitely not harder than Java2D...
But people don't get it...

See my:
    My development Blog:     | Or look at my RPG | Or simply my coding
http://matheusdev.tumblr.comRuins of Revenge  |      On Github
Offline delt0r

JGO Knight


Medals: 27
Exp: 18 years


Computers can do that?


« Reply #9 - Posted 2013-04-29 11:42:17 »

And for performance code, opengl is FAR easier than java2d. Perhaps FX may change that. But i won't hold my breath.

I have no special talents. I am only passionately curious.--Albert Einstein
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Kerai

Junior Member


Medals: 4



« Reply #10 - Posted 2013-04-29 11:49:33 »

for graphics effects in java: search opengl + <insert name of effect>
i didn't start learning openGl yet  Roll Eyes
i need to finish my first Java2D game  Cool
ps :
i dunno why it scares me  Tongue
"openGL"  xD
it's hard to learn isn't it ?
This OpenGL introduction applies to LWJGL
http://tomdalling.com/blog/category/modern-opengl/ - caution, as it has 7 parts, and not really much is yet explained here but it will get you into OpenGL enough so you can use other tutorials and stuff.

And for Matrix and Camera use LibGDX classes (PerspectiveCamera and Matrix4/Matrix3)
While learning, please use LWJGL directly, don't use LibGDX GL wrappers, they don't support VAO
Offline alaslipknot
« Reply #11 - Posted 2013-04-29 12:21:12 »

Definitely not harder than Java2D...
But people don't get it...
then the problem is finding a good place to start ...

"It's not at all important to get it right the first time. It's vitally important to get it right the last time."
Offline alaslipknot
« Reply #12 - Posted 2013-04-29 12:22:41 »

This OpenGL introduction applies to LWJGL
thank's i'll give it a try

"It's not at all important to get it right the first time. It's vitally important to get it right the last time."
Pages: [1]
  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.

Pippogeek (41 views)
2014-09-24 16:13:29

Pippogeek (32 views)
2014-09-24 16:12:22

Pippogeek (22 views)
2014-09-24 16:12:06

Grunnt (47 views)
2014-09-23 14:38:19

radar3301 (30 views)
2014-09-21 23:33:17

BurntPizza (65 views)
2014-09-21 02:42:18

BurntPizza (37 views)
2014-09-21 01:30:30

moogie (44 views)
2014-09-21 00:26:15

UprightPath (53 views)
2014-09-20 20:14:06

BurntPizza (55 views)
2014-09-19 03:14:18
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
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!