RadCube rotation

6 posts, 0 answers
  1. Paul
    Paul avatar
    2 posts
    Member since:
    Jul 2008

    Posted 25 Jul 2008 Link to this post

    Hi,

    I'd like to have a slider that rotates the cube on one of the axis when its value is changed. I know how to do that for the part of the slider, but I haven't found any property matching the need for the rotation.

    Isn't there anything like 'Xangle, Yangle Zangle' that can be used to do that ?

    Thank you,

    Paul
  2. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 25 Jul 2008 Link to this post

    Hello Paul,

    We do not support this scenario and there is no workaround for the moment. The rotation of the RadCube is now only controlled by the mouse.

    For the moment there are only methods for setting the cube selected side.

    What is the application scenario that you are trying to solve? We may consider adding such methods for a future release.

    Regards,
    Valentin.Stoychev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Ben Hayat
    Ben Hayat avatar
    902 posts
    Member since:
    May 2008

    Posted 25 Jul 2008 Link to this post

    Hi Valentin;

    Firstly, congrats to Beta 1. The skins look great and seems much more stable. I'll be at it starting this weekend!

    vvvvvvvvvvv
    For the moment there are only methods for setting the cube selected side.

    What is the application scenario that you are trying to solve? We may consider adding such methods for a future release.
    ^^^^^^^^^^

    I've been looking at Cube sample and I'm sure it has taken a lot of effort to build it with such a nice rotation. It just needs some more controls for LOB where the programmer needs to control the views based on data or user input but still have the look and feel of a cube. In fact, if this can also be enhanced to a Hexagon, where there are six square sides (rather than four), will give it a more realistic 3D shape, because anytime you are looking at any face of the object, you can also see the left and right in15 degrees angle which creates a 3D illusion of the object where as Cube, you do not see the other two sides and looks flat.

    Just my two cents from a different point of view!
  4. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 25 Jul 2008 Link to this post

    Hello,

    Yes - we know that the Cube 3D experience is not very real 3D, but this is how far we can go now (with the current state of the framework). We do not have plans to extend this control to hexagon, or to any other complicated geometric form :). However we can think for providing additional method when needed.



    Kind regards,
    Valentin.Stoychev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  5. Ben Hayat
    Ben Hayat avatar
    902 posts
    Member since:
    May 2008

    Posted 25 Jul 2008 Link to this post

    Valentin, thanks for clear answer and direction!
  6. Paul
    Paul avatar
    2 posts
    Member since:
    Jul 2008

    Posted 28 Jul 2008 Link to this post

    Thank you for these answers.

    I also wanted to notice something about the geometry of the cube. I'm not a 3D expert, but I think the math which is calculating the lengths of the sides when the cube rotates is not correct : right now the vertical edges in the back of the shapes become longer than the ones in the front when you perform the rotation, but shouldn't it be the contrary in order to have a realistic depth effect ?
Back to Top