Ignore:
Timestamp:
Mar 24, 2012, 10:00:11 AM (12 years ago)
Author:
Torben Dannhauer
Message:

The intersection works and the selector highlighter is set and displayed correctly.
Next steps:

  • use a variable to control whether distortion setup is active or not. temporarily track the Ctrl Key to enably(push or disable(release) the edit mode.
  • Hide the highlighter and disable the intersection/drag tracking on diabled edit mode.
  • catch up dragging values and translate them in the correct coordinate frame.
  • apply dragging values:
  • a) either on the texture coordinate while the grid is constant,
  • b) or apply them on the grid node coordinates while the texture coordinates are constant (check/compare solutions!)



File:
1 edited

Legend:

Unmodified
Added
Removed
  • experimental/distortionNG/main.cpp

    r331 r340  
    140140/*
    141141ToDo:
     142
     143The intersection works and the selector highlighter is set and displayed correctly.
     144Next steps:
     145 * use a variable to control whether distortion setup is active or not. temporarily track the Ctrl Key to enably(push or disable(release) the edit mode.
     146 * Hide the highlighter and disable the intersection/drag tracking on diabled edit mode.
     147 * catch up dragging values and translate them in the correct coordinate frame.
     148 * apply dragging values:
     149 *      a) either on the texture coordinate while the grid is constant,
     150 *  b) or apply them on the grid node coordinates while the texture coordinates are constant (check/compare solutions!)
    142151 *
    143  * distortionHandler::handle startet Intersections. Da jedoch das distortion Mesh keine Geometry der Scene mehr ist, gibt es keine Intersection
    144  *  -> es muss die intersektion umgestellt werden, um das Distortion Mesh zu intersecten.
    145  * Es muss geprüft werdne, ob bei dne Mausverschiebungen die texturecoordinaten verschoben, oder das Distortion Mesh verschoben wird.
    146 
    147 
    148 
    149 
     152 
    150153
    151154*/
Note: See TracChangeset for help on using the changeset viewer.