----------------------------------------------------------------------------
----------------------------------------------------------------------------
IanniX v0.640 Beta - README
----------------------------------------------------------------------------
----------------------------------------------------------------------------
1) General Notes
2) Updates
3) Known Bugs
4) Keyboard Commands
5) OSC Messages
    5.a) Notations
    5.b) OSC out
    5.c) OSC in
----------------------------------------------------------------------------
----------------------------------------------------------------------------


----------------------------------------------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------------------------
1) General Notes

IanniX is Copyright (C) 2007 La kitchen. You may use, distribute and copy IanniX under the terms of GNU General Public License version 2 (http://www.gnu.org/licenses/gpl.txt).
It is developed by la Kitchen, www.la-kitchen.fr.
All versions can be found on the project page : http://sourceforge.net/projects/iannix.
Developers can be contacted at : duneau@la-kitchen.fr (Cyrill) / fuente@la-kitchen.fr (Pierre) (don't hesitate to send e-mails for help).
Read the INSTALL text file for further information.

Some examples can be found on the IanniX download page on Sourceforge (OSC-Examples section).

- IANNIX ALONE DO NOT PRODUCE ANY SOUND !! It only sends and receives UDP OSC Messages ! (see section 5 on this file)
- Do not use the same UDP port to send and receive OSC messages ! (default out/in OSC ports : 1979/1980)
- There are some debug print messages left (on the console) which can help you if you have problems (MacOSX : Applications -> Utilities -> Console)
- XML retro-compatibility works only for scores created by IanniX 0.631b or newer (note that scores created by IanniX versions between 0.631b and 0.634b got 0.631b as xml version number : this is normal, don't try to change it)
- The 3D mode is for the moment only used for display (collisions don't consider 'z' positions of objects)

----------------------------------------------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------------------------
2) Updates

v0.640b
- It is now possible to send real IDs and positions of objects in the OSC messages (collisions) (XML and OSC formats changed)
- IanniX OSC preferences modified to choose the new values sended through OSC
- Improved 'INSTALL.txt' and 'TODO.txt' files
- <?xml version=\"1.0\" encoding=\"UTF-8\"?> information tag writed in the XML files
- 3D Mode : Snap To Grid, Line Rule Mode deactivated
- It is no more possible to lock the X and the Y directions in the same time ('I' and 'J' shortcuts)

v0.639b
- Removing the Options menu ('Quit' and 'Preferences' actions are now in the 'File' menu)
- It is now possible to choose the values sent through OSC more precisely ('Preferences' -> 'OSC'). Thoses options were added in the XML.
- OSC Bundle messages are now interpreted (Max/Msp OpenSoundControl object)
- IanniX Display Menu : added 'Antialiasing' checkbox to activate/deactivate antialiasing (global variable)
- IanniX OSC Menu : added 'Set Triggers/Curves Host IP and Port ...' to modify Host IP and OSC Port for groups of objects (curves or triggers)
- IanniX OSC Menu : 'Send Initial and Final OSC Messages' variable added in the XML
- 3D Mode : Interaction shortcuts were disabled (ie 'E', 'shift', ...)
- 3D Mode : '<' and '>' shortcuts for the Y-rotation are now '1' and '2'
- 3D Mode : added '3' and '4' shortcuts for the X-rotation
- 3D Mode : '<' shortcut can be used to rotate the view with the mouse (basic rotation)

v0.638b
- Y-axis is now up oriented and the origin of the score is located at the bottom left of the workspace
- Right-clic contextual menu : new 'Flatten Curve' action to change bounds and scale according to the position in the workspace
- Right-clic contextual menu : 'Move or Rotate Group' can now change the Group ID of a group
- Right-clic contextual menu : 'Move or Rotate Group' lets you choose the coordinates to change (X/Y/Z)
- IanniX Time menu : new 'Change Curves Bounds...' and 'Flatten Curves...' actions to apply changes by groups
- 'Set grid step' dialog has now a slider too
- IanniX preferences dialog allows to set the grid color too
- Grid color variable added in the XML

v0.637b
- Triggers and curves can now be added without stopping the score playback
- Curves 'Change Bounds' contextual menu now allow to keep the graphical size of the changed curve
- 'Quit', 'Close score', 'Save all', etc... menus work better

v0.636b
- src cleaned a little ('OSC in' unused files)
- OSC config message now send length of each traject too (see OSC formats above)
- Right-clic contextual menu : re-organized informations about selected object
- Right-clic contextual menu : new selection facility to catch objects under cursor
- Right-clic contextual menu : object pasting menu can paste trajects too
- Right-clic contextual menu : 'change length' enabled for circular trajects (to change circumference)
- Right-clic contextual menu : cursor 'Speed / Width Editor' menu deactivated
- IanniX OSC menu : 'Send Initial and Final OSC Messages' now called 'Send Initial and Final Config Messages'
- IanniX Time menu : 'Set Cursors Playback if Finished'
- 'Curve Spatial Period' is now called 'Curve Scan Period' (XML also updated)
- The minimum value of curves scan periods is fixed at 10 ms
- Grid step minimum value is now 10 ms (100 ms before)
- Minimum x-interval between points on a curve is now 1 ms (50 ms before)
- On screen informations : re-organized informations about each object
- Default objects names when created are now 'traj', 'curs', 'curv', 'trigg'
- Copy / Duplicate trajectories now copy cursors too

v0.635b
- Removing objects possibility in the control center is no longer activated
- Tempo slider is now smaller
- The selection zone of a circle is now much smaller
- Groups rotation facility added for curves in the new 'move or rotate groups' contextual menu 
- Improved bounding boxes for free lines, curves (with angles) and cursors
- OSC configuration message asking with '/iannix/ctrl/info'
- OSC configuration message changed for the curves list (see above) : we now send the duration of each curve too
- Some changes in OSC-in namespace (many OSC commands added (see above))
- Initial message indicates current time too (and more parameters for each cursor)
- R shortcut (reset view) no longer exists

before v0.635b
- Grid opacity control in the preferences window
- Move or translate group can now change layers too
- New contextual menu to change objects/groups colors
- Initial/Final OSC Messages sending is now an option (and can be asked at any time trough OSC)
- SRC OSC files were re-organised
- Updated save dialog
- New preferences window
- Curves can be created/modified by OSC (see the OSC formats help file)
- Cursors positions can be controlled by OSC only (sort of deactivation of scheduler)
- Show/Hide Objects toogles are now in the tool bar (it does not affect collisions)
- All booleans in the XML are now 0 or 1 (cf transparency, autoGridStep, ... )
- Warning window while trying to open an old XML score
- Show/Hide toggle for each object category in the display menu (-> XML changed)
- The option 'play finished cursors' is now a specific parameter for each cursor (new item in cursors contextual menu) (-> XML changed)
- New initial and final OSC messages (see new help window about OSC Formats (in and out) 
- IanniX can receive OSC messages to create objects ! (/iannix/ctrl/...) (Note: OSC listening deactivated by default)
- Playback startTime and stopTime can be specified (Time menu)
- Playback stopped when cut/copy/paste/duplicate
- Warning : XML format changed ! (more informations about display)
- Dialogs lock others windows in the back (save dialog / control center / object editor)
- New Curves OSC message format
- New OSC initial and final messages (objects nb and sent packets nb)
- Object duplicate step depends on grid step
- Now it's possible to choose between an automatic scheduler step or a manual one (preferences window)
- Time Menu -> dialog to change spatial periods of all curves (or by group ID)
- Quit dialog with save options
- Trajectories can be copied / duplicated (without cursors)
- No more OSC problems with little-endian processors
- Filters (triggers / curves / cursors / trajects) while moving or translate groups of objects
- Keys 'I' and 'J' (toggle) can lock a direction (when moving an object for example)
- added curve granularity parameter (OSC send period) (default = 20 ms)
- new Preferences window
- CPU warning led (top left of window) + info warning txt if some cursors are too fast (on top right)
- NEW SCHEDULER ! - (see tutorial for more informations...(soon))
- New menubar
- Set initial time of scheduler
- Select/Paste hidden or inaccessible objects with right-click contextual menu
- Creation of curves with custom Host IP and Port
- Cursors impact zone display ( show / hide with key 'F' or menuBar)
- Lighter algorythm for curves edition
- Scheduler work much better
- Linear Trajects can be edited (key 'E')
- 2 different algorithms for the scheduler (MenuBar option) (-> see the tutorial for more information)
- Modified contextual menu
- Objects can be in different layers (same appearance but independant for the scheduler)
- Objects can be active or inactive (appearance and scheduler)
- Group interaction (translate / active or desactive / delete)
- Curves points removing and adding (key 'K' and 'A')
- Updated NxTime / NxPainter
- Rule Line updated (key 'X')
- Bounding Boxes of random curves
- Simplified contextual Menu
- Copy / Paste / Duplicate : increment the custom ID or X-coordinate step
- Curves edition (first point) -> change the position of the object
- Names incrementation for new objects

----------------------------------------------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------------------------
3) Known Bugs

- Some aberrants (x,y,z) values in the on screen display information ('M' shortcut)
- Some problems with the precision of the general speed input field (toolbar) 4.02 -> 4.01
- Windows : May crash when resetting big scores playback (to avoid that, pause the playback before resetting)
- Windows : May have some delay when opening IanniX or new score on some systems
- Windows : Problems when drag'n'dropping scores onto the IanniX icon (use the classic open file dialog instead)
- Windows : exiting application by closing the IanniX window doesn't prompt for saving
- Mac OS X : exiting application by right-clic on dock doesn't prompt for saving
- Triggers and BB sizes when resizing score in the preferences
- Linux : Depending on your graphic card, you may experience display problems, especially with ATI cards. Please check that your drivers are up-to-date. Alternatively, you can try the without-antialiasing binary.
- Broadcast mode doesn't work when network is disconnected (to send the configuration message anyway, you have to set the destination IP to 'localhost' (preferences -> OSC))

SOLVED in v0.640b
- OSC initial and final OSC messages format updated in the README file
- Solved an important bug regarding OSC values of curves while drawn in the spline mode
- Play/Pause button bug solved


SOLVED in v0.639b
- Mac OS X and Linux : Crashes or time display problems when resetting sometimes
- UDP OSC-in Listener is better disconnected when a score is closed (no more ghost OSC configuration messages)
- Crash when OSC in-messages are bundled (Max/Msp OpenSoundControl object sending OSC for example)
- 3D display problems for curves and linear trajectories

SOLVED in v0.638b
- Windows and Linux : OpenGL problems with the workspace filling and the grid
- Windows and Linux : OSC in and out little/big endian problems
- Windows : on screen informations display problems (key 'm' and rule modes)
- Problem in the score indexes (number of objects) while pressing the backspace key continuously (deletting an object)
- Curves 'Change Bounds' contextual menu problem with rescaling in some cases

SOLVED in v0.637b
- Mac OS X Intel processors : problems with float values on OSC-in messages 
- Mac OS X Intel processors : problems with some curves (OSC not sent)
- Problems with curves collisions in some cases

SOLVED in v0.636b
- Problems with object selection if score's length and/or height is an odd number
- After modifying cursor forward mode, you have to reset the playback of the score
- OSC in problems when multiple scores opened (only score on the foreground can receive OSC now)
- Cursor selection problems after setting its offset by the right-clic contextual menu
- Display problem if editing a curve while selecting it with the 'shift' key
- Problem with XML version writed on the XML (is now the version of IanniX used to write)

SOLVED in v0.635b
- Windows : line rule mode (key 'x') does not work
- Windows : problems with cursors rendering when moving parent trajectory
- Problem in the configuration message format (list of all cursors)
- Keyboard focus losed when tempo slider clicked
- Problems with cursors selection on lines
- Problems with score name and saving when modifying the xml file name
- Control center update when modifying cursor parameters by OSC
- Real IDs confusing in the control center after trajectory / curve editing
- Grid opacity slider initial position in the preferences window 

SOLVED before v0.635b 
- Now, color choose cancel in Object Editor goes back on the default color
- Critical crashes when playing with OSC out (many cases)
- Some problems with grid step (xml)
- Crash when changing cursor mode in the control center while playing
- Coordinates showed while moving a curve point (coordinates of mouse rather than real coordinates of point moved)
- Contextual menu properties changes don't update control center
- Problem if dragging while zooming
- Problems with zoom when editing multiple scores (multiple tabs)
- Play / Pause buttons on toolbar updated when playing multiple scores
- Deletting objects when playing ('BACKSPACE' or control center) (-> deletting an object cause the score to stop)
- Crash because of toolbar layout
- Position of cursor when line parent trajectory change length
- Tab name updated when score saved
- Bounding Boxes of objects when zooming with key 'Z' or resetting View
- Maximum size of OpenGl window
- Problems with the playback modes of cursors
- Bounding Boxes of cursors when trajects are moved with the contextual menu 'move to...'
- Delete fonction
- Update tempo on-screen value when changed in the preferences

----------------------------------------------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------------------------
4) Keyboard Commands (see IanniX -> Help -> Shortcuts)

Shift --------------- Objects Selection
Backspace ----------- Delete an Object
I ------------------- Toggle Lock / Unlock X Direction
J ------------------- Toggle Lock / Unlock Y Direction
E ------------------- Curves or Linear Trajects Edition
A ------------------- Add a Point (Curve Edition)
K ------------------- Remove a Point (Curve Edition)
+ / - --------------- Zoom + /  -
Z ------------------- Custom Zoom Rectangle
X ------------------- Line Rule Mode
V ------------------- 2D / 3D View
< / > --------------- Y-Rotation for the 3D View
P ------------------- Show / Hide Workspace
F ------------------- Show / Hide Cursors Impact Zones
C ------------------- Show / Hide Curves Circles
M ------------------- Show / Hide On-Screen Informations
G ------------------- Show / Hide Grid
S ------------------- Snap to Grid Mode
Space --------------- Play / Stop
W ------------------- Reset Cursors Positions and Scheduler


----------------------------------------------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------------------------
5) OSC Messages

----------------------------------------------------------------------------
5.a) Notations

     [object] -------- cursor / traject / curve / trigger

     [ID] ------------ Real ID (unique)
     [CID] ----------- Custom ID
     [GID] ----------- Group ID

     [:b] ------------ Boolean (0/1)
     [:i] ------------ Int
     [:f] ------------ Float
     [:s] ------------ String

     Colors are RGB integers [0, 255]

     Cursors repeat modes : 0 ---- Single
                            1 ---- Loop
                            2 ---- Forward / Backward

----------------------------------------------------------------------------
5.b) OSC out (default port : 1979)


- Initial Message : (if sended, when the playback begins)

     /iannix/score/play       [currentTime:f]

- Objects : (collisions with objects - values sended can be adjusted in the iannix preferences )

     CURVES ----- /iannix/curves/    [cursorID:i] [cursorGID:i] [cursorCID:i] [ID:i] [GID:i] [CID:i] [angle:f] [value:f] [x:f] [y:f] [z:f]
     TRIGGERS --- /iannix/triggers/  [cursorID:i] [cursorGID:i] [cursorCID:i] [ID:i] [GID:i] [CID:i] [value:i] [x:f] [y:f] [z:f]

- Final Message : (if sended, when the playback stops)

     /iannix/score/stop       [currentTime:f]
     /iannix/score/packets    [nbOSCPacketsSent:i]
     
- Configuration Message : (general informations and properties of each object of the score)

     /iannix/score/dimensions  [length:i] [height:i]
     /iannix/score/time        [currentTime:f]
     /iannix/score/[object]s   [nbObjects:i]
        /iannix/score/cursor     [ID:i] [CID:i] [GID:i] [speed:f] [width:f] [forward:b] [repeatMode:i]
        /iannix/score/traject    [ID:i] [CID:i] [GID:i] [length:f]
        /iannix/score/curve      [ID:i] [CID:i] [GID:i] [realMin:f] [realMax:f] [duration:f]
        /iannix/score/trigger    [ID:i] [CID:i] [GID:i] [value:i]

----------------------------------------------------------------------------
5.c) OSC in (default port : 1980)

NOTE : 
For the moment, some parameters are fixed by default for object creation (name, layer, OSChost, OSCport)
Curves need to have at least 2 points to be created.
     
     TRIGGERS ----------------------------------------------------------------------------------------------
     Create a Trigger -------------- /iannix/ctrl/trigger/new      [x:f] [y:f] [z:f] [CID:i] [GID:i] [value:i] [colorR:i] [colorG:i] [colorB:i]
     Modify Trigger Value ---------- /iannix/ctrl/trigger/value    [ID:i] [value:i]

     CURVES -------------------------------------------------------------------------------------------------
     Create a Curve ---------------- /iannix/ctrl/curve/add/begin  [x:f] [y:f] [z:f] [CID:i] [GID:i] [colorR:i] [colorG:i] [colorB:i]
         Add Point ----------------- /iannix/ctrl/curve/add/pt     [x:f] [y:f]
     Finish Creation --------------- /iannix/ctrl/curve/add/end
     Add a Point to a Curve -------- /iannix/ctrl/curve/pt/new     [ID:i] [x:f] [y:f]
     Remove a Curve Point ---------- /iannix/ctrl/curve/pt/del     [ID:i] [n:i]
     Modify a Curve Point ---------- /iannix/ctrl/curve/pt/chg     [ID:i] [n:i] [x:f] [y:f]
     Set Curve Real Min ------------ /iannix/ctrl/curve/min        [ID:i] [realMin:f]
     Set Curve Real Max ------------ /iannix/ctrl/curve/max        [ID:i] [realMax:f]
     Set Curve Angle --------------- /iannix/ctrl/curve/angle      [ID:i] [angle:f]
     Set Curve Graphical Scale ----- /iannix/ctrl/curve/scale      [ID:i] [scale:f]
     Set Curve Graphical Style ----- /iannix/ctrl/curve/style      [ID:i] [spline:b]
     
     TRAJECTORIES -------------------------------------------------------------------------------------------
     Create a Circle --------------- /iannix/ctrl/traject/newcircle  [x:f] [y:f] [z:f] [radius:f] [CID:i] [GID:i] [colorR:i] [colorG:i] [colorB:i]
     Create a Line ----------------- /iannix/ctrl/traject/newline    [x1:f] [y1:f] [z1:f] [x2:f] [y2:f] [z2:f] [CID:i] [GID:i] [colorR:i] [colorG:i] [colorB:i]
     Modify Circle Radius ---------- /iannix/ctrl/traject/radius     [ID:i] [radius:f]
     Modify Traject Length --------- /iannix/ctrl/traject/length     [ID:i] [length:f]
     Modify Line Points ------------ /iannix/ctrl/traject/pt         [ID:i] [firstPoint:b] [x:f] [y:f] [z:f]
        
     CURSORS ------------------------------------------------------------------------------------------------
     Create a Cursor --------------- /iannix/ctrl/cursor/new       [parentID:i] [CID:i] [GID:i] [speed:f] [width:f] [forward:b] [repeatMode:i] [colorR:i] [colorG:i] [colorB:i]
     Set Cursor Offset ------------- /iannix/ctrl/cursor/offset    [ID:i] [offset:f]
     Set Cursor Speed -------------- /iannix/ctrl/cursor/speed     [ID:i] [speed:f]
     Set Cursor Width -------------- /iannix/ctrl/cursor/width     [ID:i] [width:f]
     Set Cursor Playback ----------- /iannix/ctrl/cursor/forward   [ID:i] [forward:b]
     Set Cursor Mode --------------- /iannix/ctrl/cursor/mode      [ID:i] [repeatMode:i]
     
     OBJECTS ------------------------------------------------------------------------------------------------
     Set Object Position ----------- /iannix/ctrl/[object]/pos     [ID:i] [x:f] [y:f] [z:f]
     Set Object Color -------------- /iannix/ctrl/[object]/color   [ID:i] [colorR:i] [colorG:i] [colorB:i]
     Set Object Activity ----------- /iannix/ctrl/[object]/act     [ID:i] [activity:b]
     Set Object Layer -------------- /iannix/ctrl/[object]/layer   [ID:i] [layer:i]
     Set Object Name --------------- /iannix/ctrl/[object]/name    [ID:i] [name:s]
     Set Object Custom ID ---------- /iannix/ctrl/[object]/cid     [ID:i] [CID:i]
     Set Object Group ID ----------- /iannix/ctrl/[object]/gid     [ID:i] [GID:i]
     Set Curve/Trigger OSC Host ---- /iannix/ctrl/[object]/host    [ID:i] [oscHost:s]
     Set Curve/Trigger OSC Port ---- /iannix/ctrl/[object]/port    [ID:i] [oscPort:i]
     Delete an Object -------------- /iannix/ctrl/[object]/delete  [ID:i]
     
     SCORE --------------------------------------------------------------------------------------------------
     Show/Hide Objects ------------- /iannix/ctrl/[object]/show    [show:b]
     Move Cursors with Scheduler --- /iannix/ctrl/movecursors      [moveCursors:b]
     Play/Pause -------------------- /iannix/ctrl/play
     Stop -------------------------- /iannix/ctrl/stop
     Stop and Reset ---------------- /iannix/ctrl/reset
     Set Tempo --------------------- /iannix/ctrl/tempo            [tempo:f]
     Broadcast Mode ---------------- /iannix/ctrl/broadcast        [broadcast:b]
     OSC Out Mode ------------------ /iannix/ctrl/osc              [oscOut:b]

     Configuration Message --------- /iannix/ctrl/info


----------------------------------------------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------------------------


