SPARK open-source advanced particle engine
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.
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.
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)
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)
-
- Posts: 135
- Joined: Thu Oct 30, 2008 11:56 am
- Location: UK
- Contact:
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
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????
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????
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.
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.
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.
**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.
Thanks
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.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?
Hi,
just to tell you i have fixed a couple of bugs in the Irrlicht module :
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.
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.
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.
cool. looking forward to this. I may use SPARK in my project, would be good to have an editor.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
My company: http://www.kloena.com
My blog: http://www.zhieng.com
My co-working space: http://www.deskspace.info
My blog: http://www.zhieng.com
My co-working space: http://www.deskspace.info