locked
Interactive Rotation of 3D-Objects RRS feed

  • Question

  •  Hello,

    I am a newbie to Blend. As I am pretty much interested in building applications with
    3D-objects, I'd like to know the following:

    Is it possible to set up an application in which the user is able to rotate, for example, a 3d-cube interactively? I'd like to let the user decide from which point of view he wants to see the cube in the application window. So using a predetermined animation doesn't seem to fit as a solution, but instead I'd like to have something like the camera orbit. Is that possible just with some tricky combination of triggers or do I have to code it myself?
    If so, any suggestions or hints how to do it?

    Thank you very much.

    Wednesday, May 21, 2008 2:06 PM

Answers

  • When you add a ViewPort3D to you XAML file containing a 3D object, you should be able to use the Timeline and the X, Y and Z settings in the Transform Panel to rotate either the camera or your object to change the view. You can create buttons in your UI to start the animation you make that way...

    In the 3DToolset you can find a Trackball feature that allows you to dray on the object to rotate it... http://www.codeplex.com/3DTools

    Njoy!
    Monday, May 26, 2008 10:09 PM

All replies

  • When you add a ViewPort3D to you XAML file containing a 3D object, you should be able to use the Timeline and the X, Y and Z settings in the Transform Panel to rotate either the camera or your object to change the view. You can create buttons in your UI to start the animation you make that way...

    In the 3DToolset you can find a Trackball feature that allows you to dray on the object to rotate it... http://www.codeplex.com/3DTools

    Njoy!
    Monday, May 26, 2008 10:09 PM
  • Dear Antoni,

     

    thank you very much for your answers. The first solution you proposed doesn't really fit to my needs. I really want to let the user interact with the 3D-Object. Not with Buttons, Sliders or anything. Nor do I want to create a fixed animation...
    But the second solution seems to contain everything I need. Accidentally I found the 3DTools-Set yesterday by myself. So now all I have to do is to find out how to use it. :-)

    Greetings

    Tuesday, May 27, 2008 6:55 AM
  • Hey MissForest,

    I recently made a set of video tutorials showing exactly how to do this (and more). http://x-coders.com/blogs/barkest/ The tutes are free so just follow the instructions on how to get them.
    steve
    Tuesday, May 27, 2008 8:30 AM
  • Dear Steve,

    thanks a lot for the hint and all the effort you've put into these videos.

    Greets
    MissForest
    Tuesday, June 3, 2008 1:53 PM