WG:Re: conversion from screen coordinates to mesh coordinates

forget CC ________________________________ Von: Möller, Matthias Gesendet: Donnerstag, 16. April 2015 15:16 An: Juliette Pera Betreff: AW: [Openflipper] conversion from screen coordinates to mesh coordinates Hi Juliette, if you just want the position on your mesh which is on the scenegraph, I would recommend to use the function "PluginFunctions::scenegraphPick(...)" (http://openflipper.org/Daily-Builds/Doc/Free/Developer/a03293.html#a0ae515c8...) The last parameter "_hitPointPtr" gives you the hit point in world space. Hopefully I could help. Greets, Matthias M. ________________________________ Von: openflipper-bounces@lists.rwth-aachen.de [openflipper-bounces@lists.rwth-aachen.de]" im Auftrag von "Juliette Pera [juliette.pera@gmail.com] Gesendet: Donnerstag, 16. April 2015 12:03 An: openflipper@lists.rwth-aachen.de Betreff: [Openflipper] conversion from screen coordinates to mesh coordinates Hi all, I am trying to drag a vertex of a mesh from its position to a new one using the two events: mouse button press and mouse button release. Do you know an easy way to convert the position of the mouse from the screen coordinate to my mesh coordinate? Thank you in advance, Juliette
participants (1)
-
Möller, Matthias