SPARK open-source advanced particle engine

Announce new projects or updates of Irrlicht Engine related tools, games, and applications.
Also check the Wiki
ProjectIRR
Posts: 21
Joined: Mon Oct 26, 2009 3:21 am

Post by ProjectIRR »

Nope, be glad to :)
Yoran
Site Admin
Posts: 96
Joined: Fri Oct 07, 2005 8:55 am
Location: The Netherlands
Contact:

Post by Yoran »

Just wanted to say: thanks for this great addition!
Juff
Posts: 18
Joined: Fri Oct 30, 2009 7:53 pm

Post by Juff »

Hi,

just to tell you i ve fixed the bug pointed out by ProjectIRR when rendering with ATI cards.

Yo can get the corrected version on the svn of SPARK :
https://sparkengine.svn.sourceforge.net ... arkengine/

I m now working on a particle editor, i ll let you know about the progress.
zillion42
Posts: 324
Joined: Wed Aug 29, 2007 12:32 am
Location: Hamburg, Germany

Post by zillion42 »

:shock: wow ...
great stuff.
respect !
thank you !

btw, how large is a 16 bit particle system at max, how big could it be if it were 32 bit ?
Juff
Posts: 18
Joined: Fri Oct 30, 2009 7:53 pm

Post by Juff »

Hi, thanks for your comment.

Actually the max nb of particles with 16 bit indices depends on the primitive used to draw particles :
16384 for quads (triangles)
32768 for lines
65536 for points

So it will generally be enough for most use in real time games.

The 32 bit indices system can hold far enough particles... well let s say a lot more than any system can render in real time (more than 1 billion quads)
thespecial1
Posts: 135
Joined: Thu Oct 30, 2008 11:56 am
Location: UK
Contact:

Post by thespecial1 »

stunning particle system, unfortunatly broken with irrlicht 1.5,1.5.1 and 1.6

output from building the spark engine IRR LIB project against irr1.5.1

Code: Select all

1>------ Rebuild All started: Project: SPARK Engine CORE LIB, Configuration: Debug Win32 ------
1>Deleting intermediate and output files for project 'SPARK Engine CORE LIB', configuration 'Debug|Win32'
1>Compiling...
1>SPK_All.cpp
1>Creating library...
1>Build log was saved at "file://c:\sauce\spark\trunk\projects\vc2008\SPARK engine\SPARK Engine CORE LIB\Debug\BuildLog.htm"
1>SPARK Engine CORE LIB - 0 error(s), 0 warning(s)
2>------ Rebuild All started: Project: SPARK Engine IRR LIB, Configuration: Debug Win32 ------
2>Deleting intermediate and output files for project 'SPARK Engine IRR LIB', configuration 'Debug|Win32'
2>Compiling...
2>SPK_IRR_ALL.cpp
2>c:\sauce\spark\trunk\src\RenderingAPIs/Irrlicht/SPK_IRRSystem.cpp(42) : error C2039: 'ESNRP_TRANSPARENT_EFFECT' : is not a member of 'irr::scene'
2>c:\sauce\spark\trunk\src\RenderingAPIs/Irrlicht/SPK_IRRSystem.cpp(42) : error C2065: 'ESNRP_TRANSPARENT_EFFECT' : undeclared identifier
2>c:\sauce\spark\trunk\include\RenderingAPIs/Irrlicht/SPK_IRRRenderer.h(209) : error C2660: 'irr::video::pack_texureBlendFunc' : function does not take 4 arguments
2>c:\sauce\spark\trunk\src\RenderingAPIs/Irrlicht/SPK_IRRRenderer.cpp(56) : error C2039: 'EAS_NONE' : is not a member of 'irr::video'
2>c:\sauce\spark\trunk\src\RenderingAPIs/Irrlicht/SPK_IRRRenderer.cpp(56) : error C2065: 'EAS_NONE' : undeclared identifier
2>c:\sauce\spark\trunk\src\RenderingAPIs/Irrlicht/SPK_IRRRenderer.cpp(62) : error C2039: 'EAS_VERTEX_COLOR' : is not a member of 'irr::video'
2>c:\sauce\spark\trunk\src\RenderingAPIs/Irrlicht/SPK_IRRRenderer.cpp(62) : error C2065: 'EAS_VERTEX_COLOR' : undeclared identifier
2>c:\sauce\spark\trunk\src\RenderingAPIs/Irrlicht/SPK_IRRRenderer.cpp(62) : error C2039: 'EAS_TEXTURE' : is not a member of 'irr::video'
2>c:\sauce\spark\trunk\src\RenderingAPIs/Irrlicht/SPK_IRRRenderer.cpp(62) : error C2065: 'EAS_TEXTURE' : undeclared identifier
2>c:\sauce\spark\trunk\src\RenderingAPIs/Irrlicht/SPK_IRRRenderer.cpp(68) : error C2039: 'EAS_VERTEX_COLOR' : is not a member of 'irr::video'
2>c:\sauce\spark\trunk\src\RenderingAPIs/Irrlicht/SPK_IRRRenderer.cpp(68) : error C2065: 'EAS_VERTEX_COLOR' : undeclared identifier
2>c:\sauce\spark\trunk\src\RenderingAPIs/Irrlicht/SPK_IRRRenderer.cpp(68) : error C2039: 'EAS_TEXTURE' : is not a member of 'irr::video'
2>c:\sauce\spark\trunk\src\RenderingAPIs/Irrlicht/SPK_IRRRenderer.cpp(68) : error C2065: 'EAS_TEXTURE' : undeclared identifier
2>c:\sauce\spark\trunk\include\RenderingAPIs/Irrlicht/SPK_IRRQuadRenderer.h(106) : error C2039: 'dimension2du' : is not a member of 'irr::core'
2>c:\sauce\spark\trunk\include\RenderingAPIs/Irrlicht/SPK_IRRQuadRenderer.h(106) : error C2061: syntax error : identifier 'dimension2du'
2>c:\sauce\spark\trunk\include\RenderingAPIs/Irrlicht/SPK_IRRQuadRenderer.h(134) : error C2039: 'dimension2du' : is not a member of 'irr::core'
2>c:\sauce\spark\trunk\include\RenderingAPIs/Irrlicht/SPK_IRRQuadRenderer.h(134) : error C2146: syntax error : missing ';' before identifier 'getAtlasDimensions'
2>c:\sauce\spark\trunk\include\RenderingAPIs/Irrlicht/SPK_IRRQuadRenderer.h(134) : error C2433: 'SPK::IRR::IRRQuadRenderer::dimension2du' : 'inline' not permitted on data declarations
2>c:\sauce\spark\trunk\include\RenderingAPIs/Irrlicht/SPK_IRRQuadRenderer.h(134) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>c:\sauce\spark\trunk\include\RenderingAPIs/Irrlicht/SPK_IRRQuadRenderer.h(134) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>c:\sauce\spark\trunk\include\RenderingAPIs/Irrlicht/SPK_IRRQuadRenderer.h(134) : warning C4183: 'getAtlasDimensions': missing return type; assumed to be a member function returning 'int'
2>c:\sauce\spark\trunk\include\RenderingAPIs/Irrlicht/SPK_IRRQuadRenderer.h(178) : error C2039: 'dimension2du' : is not a member of 'irr::core'
2>c:\sauce\spark\trunk\include\RenderingAPIs/Irrlicht/SPK_IRRQuadRenderer.h(178) : error C2065: 'dimension2du' : undeclared identifier
2>c:\sauce\spark\trunk\include\RenderingAPIs/Irrlicht/SPK_IRRQuadRenderer.h(178) : error C2146: syntax error : missing ')' before identifier 'dim'
2>c:\sauce\spark\trunk\include\RenderingAPIs/Irrlicht/SPK_IRRQuadRenderer.h(178) : error C2761: 'setAtlasDimensions' : member function redeclaration not allowed
2>c:\sauce\spark\trunk\include\RenderingAPIs/Irrlicht/SPK_IRRQuadRenderer.h(178) : error C2059: syntax error : ')'
2>c:\sauce\spark\trunk\include\RenderingAPIs/Irrlicht/SPK_IRRQuadRenderer.h(179) : error C2143: syntax error : missing ';' before '{'
2>c:\sauce\spark\trunk\include\RenderingAPIs/Irrlicht/SPK_IRRQuadRenderer.h(179) : error C2447: '{' : missing function header (old-style formal list?)
2>c:\sauce\spark\trunk\include\RenderingAPIs/Irrlicht/SPK_IRRQuadRenderer.h(198) : error C2039: 'dimension2du' : is not a member of 'irr::core'
2>c:\sauce\spark\trunk\include\RenderingAPIs/Irrlicht/SPK_IRRQuadRenderer.h(198) : error C2143: syntax error : missing ';' before 'SPK::IRR::IRRQuadRenderer::getAtlasDimensions'
2>c:\sauce\spark\trunk\include\RenderingAPIs/Irrlicht/SPK_IRRQuadRenderer.h(198) : error C2433: 'dimension2du' : 'inline' not permitted on data declarations
2>c:\sauce\spark\trunk\include\RenderingAPIs/Irrlicht/SPK_IRRQuadRenderer.h(198) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>c:\sauce\spark\trunk\include\RenderingAPIs/Irrlicht/SPK_IRRQuadRenderer.h(199) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>c:\sauce\spark\trunk\include\RenderingAPIs/Irrlicht/SPK_IRRQuadRenderer.h(200) : error C2039: 'dimension2du' : is not a member of 'irr::core'
2>c:\sauce\spark\trunk\include\RenderingAPIs/Irrlicht/SPK_IRRQuadRenderer.h(200) : error C2064: term does not evaluate to a function taking 2 arguments
2>Build log was saved at "file://c:\sauce\spark\trunk\projects\vc2008\SPARK engine\SPARK Engine IRR LIB\Debug\BuildLog.htm"
2>SPARK Engine IRR LIB - 34 error(s), 1 warning(s)
========== Rebuild All: 1 succeeded, 1 failed, 0 skipped ==========

I hope I am doing something wrong as I want to include this in my project to make it much more pretty


;0)

** updated
now I am confused, have also compiled with irrlicht 1.3,1.4 similar errors
hmmmmm what version of irrlicht.dll is included with SVN????
Juff
Posts: 18
Joined: Fri Oct 30, 2009 7:53 pm

Post by Juff »

Hi,

The Irrlicht version used is the latest (1.6)

I guess you have a problem with your includes.
The include path of Irrlicht in your IDE must be the 1.6 one.
All the errors you have mean Irrlicht has not been correctly included (as all the missing symbols you got are normally defined in Irrlicht)

btw dont hesitate to ask your questions directly on the forum of spark. As everybody directly ask questions on the spark topics on different forums, the spark forum is not very lively. Moreover it will centralize the information.
XXChester
Posts: 95
Joined: Thu Oct 04, 2007 5:41 pm
Location: Ontario, Canada

Post by XXChester »

Great job, the particle system looks awesome. I particularly like where you write "spark" at the end of the video and it expands and disappears. All in all, great work!

**EDIT** Also wanted to suggest adding a screen shot to the screen shot of the month competition, I personally really like the first screen shot. I suppose you do not get the full effect until you see it in motion though, perhaps the video of the month contest thread?

Keep up the good work.
Juff
Posts: 18
Joined: Fri Oct 30, 2009 7:53 pm

Post by Juff »

Thanks :)
XXChester wrote:Also wanted to suggest adding a screen shot to the screen shot of the month competition, I personally really like the first screen shot. I suppose you do not get the full effect until you see it in motion though, perhaps the video of the month contest thread?
Unfortunately this demo is not rendered using Irrlicht but using the native OpenGL renderers, so it wont have its place in the screenshot of the month. But I hope someday there will be a screenshot of the month with some particle systems from spark in it. :wink:
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

Mmm looks very nice! Will certainly give it a download and see if I can make use of it!
Image Image Image
Juff
Posts: 18
Joined: Fri Oct 30, 2009 7:53 pm

Post by Juff »

Hi,

just to tell you i have fixed a couple of bugs in the Irrlicht module :
  • There was an array index out of bounds break in DEBUG mode in the IRRQuadRenderer which is now fixed (the data accessed was valid but the current size of the array was not that is why it was working correctly in release).
  • There was a conflict with deletion between the SPKFactory (which is responsible to delete registered systems in SPARK) and the scene manager of Irrlicht, it is now fixed.
You can get the latest version of SPARK from the repository. In addition to those bug fixes, there s a lot of new features as well.

Here is a new demo showing a more complex system with SPARK : an explosion. The rendering in the demo is performed with native OpenGL but can easily be done with Irrlicht by changing the renderers.
You can get it from here or from the SVN repository.

Image
Darktib
Posts: 167
Joined: Sun Mar 23, 2008 8:25 pm
Location: France

Post by Darktib »

Just a small piece of news : after having developped the IrrRenderer with Juff, I'm now creating a particle system editor. More information to follow as the dev go.

PS: and sorry for my bad english ;)
anoki
Posts: 58
Joined: Fri May 05, 2006 8:31 am

Post by anoki »

This looks really great ! I tried all demos with my NVidia 7300
with XP and runs fantastic.

When do release the next versions ?
Virion
Competition winner
Posts: 2148
Joined: Mon Dec 18, 2006 5:04 am

Post by Virion »

Darktib wrote:Just a small piece of news : after having developped the IrrRenderer with Juff, I'm now creating a particle system editor. More information to follow as the dev go.

PS: and sorry for my bad english ;)
cool. looking forward to this. I may use SPARK in my project, would be good to have an editor.
LLLYYYYYY
Posts: 1
Joined: Mon Dec 07, 2009 11:03 am

Post by LLLYYYYYY »

very beautiful! :roll:
Post Reply