Click here to Skip to main content
11,489,574 members (68,175 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# XNA4.0
I want to simulate an object thrown oblique. And I want to draw its path. So I must draw one curve simulate path of this object throw oblique. Have any example about draw curve in 3D?
Posted 13-Nov-12 8:36am

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Altough the article is more "solids" oriented, you can get some useful information from msdn:
http://msdn.microsoft.com/en-us/library/ms747437.aspx[^]
Edit1:
Just in case you do think this is not useful...
What is a line? You can simplify it as the edge of a surface

So if you want to draw a curve, you can get it simplifying a 3d object like an egg.

Edit2:
I mean, you can learn about the concepts of the "viewer/camera" position, the 3d space coordinates and so on, just don't pay attention to the surfaces and the textures.
  Permalink  
v3
Comments
haitrieu749 at 13-Nov-12 23:37pm
   
Thanks you! I decided to replace the curve by many small lines.
Nelek at 14-Nov-12 4:00am
   
You are welcome.
If it helped, please accept the answer

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 575
1 OriginalGriff 278
2 Maciej Los 180
3 _duDE_ 141
4 Frankie-C 135
0 Sergey Alexandrovich Kryukov 9,488
1 OriginalGriff 8,425
2 Sascha Lefèvre 3,344
3 Maciej Los 3,066
4 Richard Deeming 2,370


Advertise | Privacy | Mobile
Web04 | 2.8.150520.1 | Last Updated 13 Nov 2012
Copyright © CodeProject, 1999-2015
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