3D rotation by mouse

Post your questions related to updating from LightningChart Ultimate v.5 to v.6 here

3D rotation by mouse

Postby minoru » Mon Jun 02, 2014 1:37 am

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. :roll:

Regards,
Minoru
minoru
 
Posts: 27
Joined: Thu Sep 26, 2013 1:30 am

Re: 3D rotation by mouse

Postby ArctionPasi » Mon Jun 02, 2014 11:17 am

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.
LightningChart Support Team, PT
User avatar
ArctionPasi
 
Posts: 1362
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland

Re: 3D rotation by mouse

Postby juergen » Mon Jun 09, 2014 10:15 am

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
juergen
 
Posts: 27
Joined: Tue Feb 04, 2014 8:11 am

Re: 3D rotation by mouse

Postby ArctionPasi » Mon Jun 09, 2014 5:04 pm

This is fixed in v.6.0.4 and newer.
LightningChart Support Team, PT
User avatar
ArctionPasi
 
Posts: 1362
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland


Return to Updating LightningChart from v.5 to v.6

Who is online

Users browsing this forum: No registered users and 1 guest