ofxCeres icon indicating copy to clipboard operation
ofxCeres copied to clipboard

coordinate sign flipped?

Open antimodular opened this issue 5 years ago • 4 comments

Hi there ;)

I am revisiting your addon and notice that setting the translation for example to -7,0,0 places the head to +7,0,0. The same happens for y.

Do you know why?

Thank you. Cheers, Stephan.

Screen Shot 2019-09-30 at 4 32 36 PM

antimodular avatar Sep 30 '19 20:09 antimodular

it looks like when i remove this line: https://github.com/elliotwoods/ofxCeres/blob/master/Example-MovingHeadAdvanced/src/ofApp.cpp#L93 translation data and grid labels align now. But i still have to navigate under the grid for the negative sectors to be left and bottom. Which results in Y axis being negative upwards.

antimodular avatar Oct 01 '19 13:10 antimodular

hey! ah yeah i noticed that at one point. i thought i'd fixed it sorry apologies.

elliotwoods avatar Oct 02 '19 07:10 elliotwoods

i am working around it by not using ofDrawGridPlane(1.0f, 20, true); but ofDrawGrid(1.0f, 20, true, false, false, true);

But it means Z-Axis is up/down. Do you think calibrations would still work correctly as long as i also enter their xyz values correctly?

antimodular avatar Oct 02 '19 10:10 antimodular

i managed to 3d align things between your app and the other app i have to work with.

i am now using XYZ not XZY for it to make sense between the 2 apps. So Z defines the height change. i just want to make sure if your calibration routine would still work, or it's hard coded to use Y as height?

antimodular avatar Oct 18 '19 18:10 antimodular