Ken-Soft

Software and the World

Graph 3D (Vector Rotation Source Included) C++

Posted under C/C++, General Development, Mathematics, Programming, Software Development by Kenny on Saturday 19 December 2009 at 4:17 am
Bookmark and Share

This program implements my simple Vector3D.h source to draw simple graphs using SDL. While it’s not terribly advanced, it should be pretty fun to tinker with. To learn more about 3D rotations including the mathematics and more source (Java) examples, view my previous post –> 3D Rotation Matrix - Graph3D.
The source code and linux executables can be downloaded here.
If you don’t want the Graph utility the single Vector3D.h file can be downloaded here.

Below is a few of the graphs that I created. All of which can be found in main.cpp (there is a section in the code where you can uncomment the function that you want to graph!)

3D  graph 3D  graph 3D  graph 3D  graph
3D  graph 3D  graph 3D  graph 3D  graph
3D  graph 3D  graph 3D  graph 3D  graph
3D  graph 3D  graph 3D  graph 3D  graph
3D  graph 3D  graph 3D  graph 3D  graph

2 Comments »

  1. Pingback by Ken-Soft » 3D Rotation Matrix - Graph 3D — December 19, 2009 @ 4:22 am

    [...] Graph 3D (Vector Rotation Source Included) C++ [...]

  2. Pingback by Badeanzug-Shop , Bademoden , Bikinis, Wettkampfanzüge, Leotards, Gymnastikanzüge, Kürkleider , Hotpants — December 19, 2009 @ 6:58 am

    [...] Ken-Soft » Graph 3D (Vector Rotation Source Included) C++ [...]

RSS feed for comments on this post. TrackBack URI

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

Copyright © 2009 www.Ken-Soft.com