Would you like to react to this message? Create an account in a few clicks or log in to continue.



 
HomeHome  Latest imagesLatest images  SearchSearch  RegisterRegister  Log inLog in  

 

 Hadron3D a Particle Editor for SPARK2

Go down 
3 posters
AuthorMessage
Charlie




Messages : 81
Date d'inscription : 2011-01-28
Age : 41

Hadron3D a Particle Editor for SPARK2 Empty
PostSubject: Hadron3D a Particle Editor for SPARK2   Hadron3D a Particle Editor for SPARK2 Icon_minitimeSat Jul 14, 2012 6:42 pm

Hi ! This is currently a really pre pre alpha version of the editor , nothing really implemented yet , but what is important i almost finished my OOP Gui Engine (based completely on WinAPI) which has some SPARK specific modules like :

- Color and Float Graph with Pan and zoom in-out functions
- HSB Color picker with Alpha (!)
- Properties control with advanced spinboxes (Hold mouse button down on one of the updown buttons and move the mouse : it will decrease increase the value of the spinbox)

You can download a demo from here :
http://pinkcatgames.ucoz.com/Hadron/HadronTest.zip

Graph controls
(For both Color and Float)

- Mousewheel = Zoom in and out
- Middle button = Pan
- Mouse left Doubleclick = Insert new point (or colors)
- DEL = delete selected point
- Left single click select point (or color) move mouse to move the selection (y0 and y1 points together)

For float graph :
-Hold SHIFT while moving a point only Vertical
-Hold CONTROL while moving a point only Horizontal

- Right mouse button = Moves only the Y1 points (SPARK2 Graph's y1)
- Right doubleclick on a point = moves y1 to y0 position
- HOME = Resets y1 to y0 points

For Color graph :
- Right click on a color point (upper square = color y0 , bottom square = y1) Selects the color
- Hold SHIFT while you right clicking on a color to set to same color as the other one
- + and - = increase-decrease the size of the color points

This is what i've got so far ! The Event handler is implemented , i just need a rendering engine to start the editor development... I'm thinking about using Irrlicht + the SPARK2's irrlicht module , but i don't know it is stable at the moment ? Is it usable ? All the renderers are functional ?

Thanks in advance
Regards


Back to top Go down
Darktib
Committer
Darktib


Messages : 389
Date d'inscription : 2009-07-20
Localisation : A coté de Paris

Hadron3D a Particle Editor for SPARK2 Empty
PostSubject: Re: Hadron3D a Particle Editor for SPARK2   Hadron3D a Particle Editor for SPARK2 Icon_minitimeSun Jul 15, 2012 6:07 am

Nice start ! I like the spinbox, quite convenient.

You wrote the whole GUI directly with WinAPI, or did you used something like wxWidget ?

For the rendering module, Irrlicht + SPARK2 is stable (it is used in the *latest* Icewhirl release, and I never encountered a bug with it).
Back to top Go down
Charlie




Messages : 81
Date d'inscription : 2011-01-28
Age : 41

Hadron3D a Particle Editor for SPARK2 Empty
PostSubject: hi   Hadron3D a Particle Editor for SPARK2 Icon_minitimeSun Jul 15, 2012 7:30 am

Hi ! Thanks for the info Darktib !! Then i will use irrlicht for the editor

As for the gui , i didn't use wxWidgets .This is my GUI engine called SimpleGui (very creative name Very Happy ) it is based completely on winAPI .Theres no other dependancies. The SimpleGui api is easy to use and it's very similar to SPARK2.

If you need a button you should do this :

Code:
SG::SGButton button1  = SG::SGButton::create(SG::eStyle style,posx , posy , sizex , sizey ,const SGString &text , SG::SGObject * parent);

// each control have derived functions like :

button1->addTooltip(const SGBound & bound , const SGString &text);
button1->setPlacement(const SGBound & bound);
// etc

so it is really easy to use with SPARK2.

Back to top Go down
Charlie




Messages : 81
Date d'inscription : 2011-01-28
Age : 41

Hadron3D a Particle Editor for SPARK2 Empty
PostSubject: Screenshots   Hadron3D a Particle Editor for SPARK2 Icon_minitimeWed Sep 12, 2012 2:58 pm

Hi here are some screenshots of the recent state of the editor :

The final look of the editor :


Last edited by Charlie on Sat Mar 02, 2013 10:50 am; edited 1 time in total
Back to top Go down
Juff
Developer



Messages : 539
Date d'inscription : 2009-07-14
Age : 41

Hadron3D a Particle Editor for SPARK2 Empty
PostSubject: Re: Hadron3D a Particle Editor for SPARK2   Hadron3D a Particle Editor for SPARK2 Icon_minitimeMon Oct 22, 2012 10:25 am

Very nice ! Looking forward to testing it !
Back to top Go down
http://spark.developpez.com
Charlie




Messages : 81
Date d'inscription : 2011-01-28
Age : 41

Hadron3D a Particle Editor for SPARK2 Empty
PostSubject: Re: Hadron3D a Particle Editor for SPARK2   Hadron3D a Particle Editor for SPARK2 Icon_minitimeSat Mar 02, 2013 10:30 am

Few updates. Now everything works , i just need to add few features to release the first beta of the editor ! Screenshots :


All transformable elements (Emitters , Systems , Groups , etc) are controlable via Transform gizmo (Rotation and Move).The picture also demonstrates the interpolator dialog :

Hadron3D a Particle Editor for SPARK2 Hadron04b



Color picker and Color interpolator dialog :

Hadron3D a Particle Editor for SPARK2 Hadron02b



Rendered Particles : (The interface is sooo easy to use ! (This System was created in few seconds))

Hadron3D a Particle Editor for SPARK2 Hadron03b
Back to top Go down
Juff
Developer



Messages : 539
Date d'inscription : 2009-07-14
Age : 41

Hadron3D a Particle Editor for SPARK2 Empty
PostSubject: Re: Hadron3D a Particle Editor for SPARK2   Hadron3D a Particle Editor for SPARK2 Icon_minitimeSat Apr 06, 2013 6:34 am

Any news ? When will we be able to try it ? Looks very promising
Back to top Go down
http://spark.developpez.com
Sponsored content





Hadron3D a Particle Editor for SPARK2 Empty
PostSubject: Re: Hadron3D a Particle Editor for SPARK2   Hadron3D a Particle Editor for SPARK2 Icon_minitime

Back to top Go down
 
Hadron3D a Particle Editor for SPARK2
Back to top 
Page 1 of 1
 Similar topics
-
» Particle editor
» Icewhirl : Particle editor for SPARK
» [Article] Optimizing the rendering of a particle system
» Spark Particle Engine with D3D API
» Action Particle getAge() always zero

Permissions in this forum:You cannot reply to topics in this forum
 :: English Forum :: Evolution (en)-
Jump to: