Orx Curve Editor

edited March 2017 in Projects - Tools
Currently in progress is a a Curve Editor for Orx developers, written in Orx.

The intention is to provide two features:

1) The ability to edit Bezier curves and to test objects moving along them.
2) The ability to test the same curves against FX like position, color etc.

Of course curves can be loaded, saved and exported.

Current progess on the curve interface:

Comments

  • edited June 21
    Update 2 video is available:



    Features:

    * Object following the curve
    * Pause / Unpause / Show / Hide the object on the curve
    * Speed up / slow down object on the curve
    * Add and delete points
    * Point snapping
    * Zoom and translation of the view
    * Notification banner
    * Help screen
    * New coloured 0-markers on the grid
    * Save to file

    Repo is available at:
    https://gitlab.com/sausagejohnson/orx-curvefx-editor
  • edited March 2017
    Really nice. Do you intend to add orxFX curves visualization to it?
  • edited March 2017
    There seems to be a tiny hitch when the spaceship transitions from one curve segment to the next one. Is it just in the video capture or does it happen live as well?
  • edited March 2017
    I'll probably start on curveFX once freeform curves are in Orx.

    So right now it will only be for waves, or curves for other reasons.
  • edited March 2017
    I added a wave last night, rather than a single object, and noticed a slight hitch there. It might be because I was travelling from 0 to 1 inclusive, so I made it so that it moves to the next segment if it's >=1. I still notice a minor glitch.

    I might show you that over the weekend and see if it's an issue with the curve, or code.
  • edited March 2017
    sausage wrote:
    I'll probably start on curveFX once freeform curves are in Orx.

    So right now it will only be for waves, or curves for other reasons.

    Sure, but is your intent to support all the types of curves of orxFXs in the end or only freeform ones?
  • edited March 2017
    All curves will be supported for orxFX. For example, you will be able to select bezier, catsmull, sine, triangle, etc.

    If you are working on a curve and you view it in the orxFX area, the FX will use that curve. If you select sine, the curve you worked on would disappear, and a visual of the sine version would appear.

    I'm thinking you can edit the sine to become the basis of a new bezier curve. Or switch back to your previous bezier that was in progress.
  • edited March 2017
    OK, that's good. I was more thinking in terms of curve combinations, which is the part that is hard to mentally visualize. Like when one combines a sine with a sawtooth with a different phase and period, for example.
  • edited March 2017
    Ah yes, I see what you mean. I hadn't given that any thought. In fact I hadn't given multiple slots any thought, only single FX.

    I'll have to do some design on that. Ultimately, it should be supported to make it more useful.
  • edited March 2017
    Update 3:



    Update of the editor showing new colours, snapping points, wave preview with pausing, live editing with waves playing.

    Dialogs are in too, but not shown.
  • edited April 2017
    I added the link of the thread in the "List of Tools" pinned Forum Message until the link to get the tool is available to all! :)
  • edited April 2017
    Ah yes, thank you. It should be released soon. Just a few bugs to sort out.
Sign In or Register to comment.