Page 1 of 1

Rotations of Camera

Posted: Mon Jul 09, 2018 10:07 am
by peppemath
I have a problem: in general, the position of the axes is x to the right, y to the top and z to the monitor. I would like to make the rotations to get the position shown in the figure;
Rotations.png
Rotations.png (17.85 KiB) Viewed 9352 times
theoretically it would be simple with two rotations of the yz plane and the xy plane of 90 degrees respectively, but it is not. I tried with the PredefiniteCamera positions, I tried to manually enter the values, I tried to use the movements with the mouse, but it is impossible.

Could you give me help?

Re: Rotations of Camera

Posted: Wed Jul 11, 2018 12:04 pm
by ArctionKestutis
LightningChart is using some rotation order / style. This leads to a problem that for the certain angles there is no solution. Camera especially sensitive (i.e. Euler angles are invalid) then X or Y being equal 90. We are aware about those limitations and planning to modify our internal calculations. However, this is long-term plan.
As for now, the best workaround is to use angles slightly off, e.g. 89. I believe orientation you are looking should be achieved with RotationX=0, Y=89, Z=90.

Hope this helps.

Re: Rotations of Camera

Posted: Thu Feb 28, 2019 2:16 pm
by ArctionKestutis
Hello,

LightningChart v8.4.1.4001 was just released. It contains a lot of new features, improvements and error fixes.
One of improvements that now Chart renders properly on all 3D camera angles.

Happy charting.