Even if 3D rotation by mouse,
Camera3D.RotationX and Camera3D.RotationZ does not change.
So, in demo program , even if the rotation by mouse,
the slide bar of roll and pitch does not move.
It was all right in v 5.
Regards,
Minoru
3D rotation by mouse
Moderator: Queue Moderators
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: 3D rotation by mouse
Hi Minoru,
You are right, there's a problem in RotationX, the property value doesn't update.
RotationZ doesn't adjust by mouse at all, and didn't do that either in v.5.
We'll fix RotationX property asap. Apologies for the trouble.
You are right, there's a problem in RotationX, the property value doesn't update.
RotationZ doesn't adjust by mouse at all, and didn't do that either in v.5.
We'll fix RotationX property asap. Apologies for the trouble.
LightningChart Support Team, PT
Re: 3D rotation by mouse
Hi,
I have to use RotationX as well. I think the mistake is in "View3DBase.cs" in method "PanOnMouseCoordinates".
At the end it should be:
//Check the valid range
if (dRotX > m_camera.m_dRotationXMaximum)
dRotX = m_camera.m_dRotationXMaximum;
if (dRotX < m_camera.m_dRotationXMinimum)
dRotX = m_camera.m_dRotationXMinimum;
m_camera.RotationX = dRotX; <----
instead of:
m_camera.m_dRotationX= dRotX;
After that it worked...
Best,
Jürgen
I have to use RotationX as well. I think the mistake is in "View3DBase.cs" in method "PanOnMouseCoordinates".
At the end it should be:
//Check the valid range
if (dRotX > m_camera.m_dRotationXMaximum)
dRotX = m_camera.m_dRotationXMaximum;
if (dRotX < m_camera.m_dRotationXMinimum)
dRotX = m_camera.m_dRotationXMinimum;
m_camera.RotationX = dRotX; <----
instead of:
m_camera.m_dRotationX= dRotX;
After that it worked...
Best,
Jürgen
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact: