Posts Tagged ‘3D’

Vector ND – C++

This is a N-Dimensional Vector class written in C++. While it can be used for any dimension, if you would like to use 3 or less dimensions including rotation functions check out my previous post (here) VectorND.cpp 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 [...]

Vector 3D structure with Operation overloads and basic functions – C++

This is my Vector3D structure with a set of appropriate operation overloads(-,+,/,*,–,++,etc) that I use for various math operations as well. Feel free to add upon it or do whatever you like with it. (Update the — and ++ operators are not correctly overloaded ) 1 2 3 4 5 6 7 8 9 10 [...]

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

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 [...]

3D Cube Engine – Java

3x3x3 Y – Increase dimensions. i.e. 4x4x4 -> 5x5x5 (not that if solid mode is true, then it will render slower Arrows – Translate the cubes across the screen If you’re only interested in the Transformation algorithms, check the below link: Graph4D – demonstrates methods and actual source code for rotating a 4D vector. Graph3D [...]

4D Rotation Matrix – Graph 4D

This program rotates points about the XY, YZ, XZ, XU, YU, and ZU axises. I then projects each 4D vector to the 2D canvas. The Jar file can be downloaded here: Graph4D.jar Before looking at the source, let’s take a look at some of the fundamental mathematics behind the software. If you are uncomfortable with [...]

Powered by WordPress | Designed by: WordPress Themes | Thanks to best wordpress themes, Find WordPress Themes and Themes Directory