Click here to Skip to main content
11,635,098 members (76,761 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 7: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 OriginalGriff 8,736
1 Sergey Alexandrovich Kryukov 8,419
2 Mika Wendelius 6,845
3 F-ES Sitecore 2,354
4 Suvendu Shekhar Giri 2,205


Advertise | Privacy | Mobile
Web03 | 2.8.150728.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