Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
hi

i need to create a L like 3d structure in WPF can you please help me out..
Posted
Updated 14-Nov-13 22:18pm
v3
Comments
Sergey Alexandrovich Kryukov 15-Nov-13 1:21am    
Not a question. http://whathaveyoutried.com so far?
—SA
rahuls1 15-Nov-13 1:31am    
<viewport3d>
<viewport3d.camera>
<PerspectiveCamera Position="-40,40,40" LookDirection="40,-40,-40 "
UpDirection="0,0,1" />

<modelvisual3d>
<modelvisual3d.content>
<model3dgroup>
<directionallight color="White" direction="-1,-1,-3">
<geometrymodel3d>
<geometrymodel3d.geometry>
<meshgeometry3d positions="0,0,0 10,0,0 10,10,0 0,10,0 0,0,40
10,0,40 10,10,40 0,10,40"
="" triangleindices="0 1 3 1 2 3 0 4 3 4 7 3 4 6 7 4 5 6
0 4 1 1 4 5 1 2 6 6 5 1 2 3 7 7 6 2">

<geometrymodel3d.material>
<diffusematerial brush="Red">






the above code i have tried now please help me out
rahuls1 15-Nov-13 1:32am    
<viewport3d>
<viewport3d.camera>
<PerspectiveCamera Position="-40,40,40" LookDirection="40,-40,-40 "
UpDirection="0,0,1" />

<modelvisual3d>
<modelvisual3d.content>
<model3dgroup>
<directionallight color="White" direction="-1,-1,-3">
<geometrymodel3d>
<geometrymodel3d.geometry>
<meshgeometry3d positions="0,0,0 10,0,0 10,10,0 0,10,0 0,0,40
10,0,40 10,10,40 0,10,40"
="" triangleindices="0 1 3 1 2 3 0 4 3 4 7 3 4 6 7 4 5 6
0 4 1 1 4 5 1 2 6 6 5 1 2 3 7 7 6 2">

<geometrymodel3d.material>
<diffusematerial brush="Red">





Francisco T. Chavez 15-Nov-13 11:28am    
So, what's a size L?

1 solution

Please have a look by this Post from Charles Petzold for the MSDN Foundations:

3D Text animation[^]
 
Share this answer
 
Comments
rahuls1 15-Nov-13 4:28am    
please give the code as i am new to this it is arequest..
Marco Bertschi 15-Nov-13 6:46am    
No. We are all volunteers, and not here to do any work for you. We guide you in the right direction, but we can't write any code for you.
I directed you towards the post of Charles, the post contains code samples and therefore I don't see a need to give you any code.
Francisco T. Chavez 15-Nov-13 11:30am    
This is making me think it might be a good idea to remove the code I posted for the rotating image.

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900