Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: WPF 3D
Hi everyone, I have good background in C# and I am still learning Blend.
 
I need your help with creating 3d interactive application (my senior project!)
 
For now , I have created two 3D objects in Zam3D ( a cube & a pyramid) I imported them to blend as viewport3D controls. What I want to learn is:
 
1- How to make the objects draggable? . I want to enable the user to move them within the window using the mouse.
 
2- How to bind some of the object properties to a control? The user can rotate the selected 3d object using a slider control for example.
 
3- How can I attach one object to another? For example , if the user drag the cube over the pyramid, they become one object and when the user click the detach button the two objects become separated.
 
I hope this explains better:
 
http://www.imgplace.com/viewimg829/7647/84program.jpg
 
The whole project is about building one 3d object from separated primitives by drag and drop. My supervisor wants me to relay on code instead of storyboards because they are not efficient especially when the application updates the gallery of primitives. He told me to think of it as a layout problem. Can anyone help me with the steps? And if you have a better approach to do that, then guide me please.
 
Thank you
Posted 1-Nov-11 17:31pm

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 240
1 Kamal Rocks 184
2 BillWoodruff 173
3 Sergey Alexandrovich Kryukov 170
4 PIEBALDconsult 160
0 OriginalGriff 5,695
1 DamithSL 4,506
2 Maciej Los 4,007
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,180


Advertise | Privacy | Mobile
Web01 | 2.8.141216.1 | Last Updated 1 Nov 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100