HomeHome  CalendarCalendar  FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  Log inLog in  

Share | 
 

 Hadron3D a Particle Editor for SPARK2

View previous topic View next topic Go down 
AuthorMessage
Charlie



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

PostSubject: Hadron3D a Particle Editor for SPARK2   Sat 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
View user profile
Darktib
Committer


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

PostSubject: Re: Hadron3D a Particle Editor for SPARK2   Sun 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
View user profile
Charlie



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

PostSubject: hi   Sun 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
View user profile
Charlie



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

PostSubject: Screenshots   Wed 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
View user profile
Juff
Developer


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

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

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



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

PostSubject: Re: Hadron3D a Particle Editor for SPARK2   Sat 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 :





Color picker and Color interpolator dialog :





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

Back to top Go down
View user profile
Juff
Developer


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

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

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




PostSubject: Re: Hadron3D a Particle Editor for SPARK2   Today at 3:39 am

Back to top Go down
 
Hadron3D a Particle Editor for SPARK2
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» I need solution for Multiple FCK Editor for Selenium IDE...
» Your Custom Pullblox/Pushmo/HikuOsu Stages
» How to return the focus to original frame after entering text in tinymce?
» Button to open the editor in Fullscreen
» Add more font choices to the Editor

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