docerido
06-07-2005, 11:30 AM
Hi,
I have been trying to create an equation to plot points (perspective projection style) for wireframe shapes. I need to start with 4 points and go up to an unlimited number creating geodesic forms and need to do this dynamically. I have been trying various things to do this for me and am now at the stage of dreaming in sine and cosine wavelengths! :)
I have found co-ordinates for two forms and need an equation that would generate this kind of data.
For example a 3sided pyramid co-ordinate points are - (4 points)
-0.212331, -58.3687, -82.3175,
82.3334, 58.3686, 0.228231,
-82.7581, 58.3686, 0.228231,
0.212331, -58.3686, 82.774
and a square's are: (8 points)
-150, -150, -150,
-150, 150, -150,
150, 150, -150,
150, -150, -150,
150, -150, 150,
-150, -150, 150,
-150, 150, 150,
150, 150, 150
I was wondering if anyone has come accross a 3D plotter which would create a wireframe starting with just 4 points... or idealy someone who is just brilliant at maths and knows how to do this! ;)
Thanks all!
I have been trying to create an equation to plot points (perspective projection style) for wireframe shapes. I need to start with 4 points and go up to an unlimited number creating geodesic forms and need to do this dynamically. I have been trying various things to do this for me and am now at the stage of dreaming in sine and cosine wavelengths! :)
I have found co-ordinates for two forms and need an equation that would generate this kind of data.
For example a 3sided pyramid co-ordinate points are - (4 points)
-0.212331, -58.3687, -82.3175,
82.3334, 58.3686, 0.228231,
-82.7581, 58.3686, 0.228231,
0.212331, -58.3686, 82.774
and a square's are: (8 points)
-150, -150, -150,
-150, 150, -150,
150, 150, -150,
150, -150, -150,
150, -150, 150,
-150, -150, 150,
-150, 150, 150,
150, 150, 150
I was wondering if anyone has come accross a 3D plotter which would create a wireframe starting with just 4 points... or idealy someone who is just brilliant at maths and knows how to do this! ;)
Thanks all!