About Store Forum Documentation Contact
Donations:
327$/mo



Post Reply 
Curve Editor
Author Message
BlackHornet Offline
Member

Post: #1
Curve Editor
Currently working on a curve editor...

this thread can be moved to code snippets, when finished...

Download current ALPHA version 0.5:
http://www.file-upload.net/download-3757...or.7z.html

Current feature list:
* Pan/Zoom grid (zoom only works in x-dir, y-dir is fixed)
* create a float based curves, up to Vec4
* multiple curves at same time
* place control points
* Move/Delete control points
* Change tangents
* Different Key Modes: straight tangents, broken tangets (active control point in new image), linear and constant
* open/save curve editor project (.CRV)
* Import/Export curve data (.OBJ)
* Fit view to graph


ToDo list:
* delete curves
* change curve name in-editor
* option settings, maybe via property window, when selecting a curve from the right side
* context menu to directly edit x-value, y-value or delete a control point

Known issues:
* viewport colors (background + grid) should be darkend
* viewport should initially view at Y=1.0 (here new curves are added)
* fitting should be improved so curves without or with only 1 point are viewed correctly, or when all curve points are at same height... => now leads into BIG issue wink

Videos:







Controls:

Menu:
File > Open: open curve editor file (can contain many curves)
File > Save: save curve editor file (can contain many curves)
File > Import: import a curve to current view
File > Export: export a curve to current view

Edit:
Add curve: Add a new Flt, Vec2, Vec or Vec4 curve (by default on y=1.0)

Controls:
Pan viewport: SPACE + mousemove
Zoom: mousewheel
Zoom-X: CTRL + mousewheel
Zoom-Y: Alt + mousewheel

Insert Point: mouse doubleclick on curve to insert point
Select Point: mouse leftclick
Delete point: DEL (with point selected)
Move point: CTRL + drag & drop

In the right view you can toggle each curve visibility using the related checkbox.
Clicking the colored boxes toggle subcurve visibility

Urbanity Online: http://www.facebook.com/pages/Urbanity-Online/162454237136358
Join the Esenthel IRC Channel @ Freenode: http://webchat.freenode.net/?channels=##Esenthel
(This post was last modified: 09-25-2011 11:55 AM by BlackHornet.)
09-20-2011 12:06 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Tottel Offline
Member

Post: #2
RE: Curve Editor
Looks very useful! smile

Will you be able to simplify a curve to make it more efficient?
09-20-2011 07:24 AM
Find all posts by this user Quote this message in a reply
yvanvds Offline
Silver Supporter

Post: #3
RE: Curve Editor
Nice! I might even be useful in my game, for instance to manipulate sound speed over time. I'd like a feature to automatically 'link' the end back to the beginning, making a smooth curve if you'd loop it.

Of course, to move it to code snippets, you'd have to include the code ;-)
09-20-2011 08:33 PM
Find all posts by this user Quote this message in a reply
runewake2 Offline
Member

Post: #4
RE: Curve Editor
This would be really useful for smoothing waypoint paths.
09-20-2011 09:23 PM
Find all posts by this user Quote this message in a reply
BlackHornet Offline
Member

Post: #5
RE: Curve Editor
*small update*

looping feature is difficult i think, do to the fact either you would have to create a curve for every needed solution (with different max X value), or you just set your last control point equal to your first control point...then you will have looping behaviour...

Urbanity Online: http://www.facebook.com/pages/Urbanity-Online/162454237136358
Join the Esenthel IRC Channel @ Freenode: http://webchat.freenode.net/?channels=##Esenthel
09-22-2011 12:38 AM
Visit this user's website Find all posts by this user Quote this message in a reply
BlackHornet Offline
Member

Post: #6
RE: Curve Editor
*bump* small videos of latest progress attached to first post smile

Urbanity Online: http://www.facebook.com/pages/Urbanity-Online/162454237136358
Join the Esenthel IRC Channel @ Freenode: http://webchat.freenode.net/?channels=##Esenthel
09-22-2011 11:36 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Harry Offline
Member

Post: #7
RE: Curve Editor
Looks really great smile
09-23-2011 02:20 PM
Visit this user's website Find all posts by this user Quote this message in a reply
BlackHornet Offline
Member

Post: #8
RE: Curve Editor
Current version for testing:
download link + additional informations reintegrated in first post

Urbanity Online: http://www.facebook.com/pages/Urbanity-Online/162454237136358
Join the Esenthel IRC Channel @ Freenode: http://webchat.freenode.net/?channels=##Esenthel
(This post was last modified: 09-25-2011 11:56 AM by BlackHornet.)
09-25-2011 09:28 AM
Visit this user's website Find all posts by this user Quote this message in a reply
yvanvds Offline
Silver Supporter

Post: #9
RE: Curve Editor
Ah, but the link doesn't work.
09-25-2011 10:33 AM
Find all posts by this user Quote this message in a reply
BlackHornet Offline
Member

Post: #10
RE: Curve Editor
(09-25-2011 10:33 AM)yvanvds Wrote:  Ah, but the link doesn't work.

re-uploaded with new link smile sry

Urbanity Online: http://www.facebook.com/pages/Urbanity-Online/162454237136358
Join the Esenthel IRC Channel @ Freenode: http://webchat.freenode.net/?channels=##Esenthel
09-25-2011 10:49 AM
Visit this user's website Find all posts by this user Quote this message in a reply
baphomeh Offline
Member

Post: #11
RE: Curve Editor
now if only you could add THIS (its open source but for ogre..) can ya port it.. huh huh smile

http://www.ogre3d.org/forums/viewtopic.php?f=11&t=45260


TecnoFreak: Blend Tree Animation System[1.2 Blendmasks]
10-18-2011 04:39 PM
Find all posts by this user Quote this message in a reply
BlackHornet Offline
Member

Post: #12
RE: Curve Editor
something totally different smile

Urbanity Online: http://www.facebook.com/pages/Urbanity-Online/162454237136358
Join the Esenthel IRC Channel @ Freenode: http://webchat.freenode.net/?channels=##Esenthel
10-20-2011 09:53 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Grabonito Offline
Member

Post: #13
RE: Curve Editor
Link doesn't work.
10-20-2011 01:34 PM
Find all posts by this user Quote this message in a reply
Post Reply