Forums - Open Redstone Engineers

Full Version: Rope algo
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
On ORE, i invented the first every 3D display with X,Y,and Z decoder. and now im planning to use it for the a 3D line algo, or as i call it, the rope algo. you select 2 3D points, then it will draw the "rope". it will just be some work with the bresenham line algo, but it could work. this is gonna take a very long time, and probably would require 2-3 line drawers in it. im also thinking of doing a cube drawer, and i might even hook up a cpu to the display and see if i can make any 3d programs.
i have thought about the algo, and he is what i got so far:
you do the bresenham algo twice, on with DX and DY, the other with DZ and DY. then, i sync up there incrementing/decrementing, it will draw the dots. it will be very slow, and i will make the display more synced, but it can work.

for the cuboid drawer:
its not that different than a quadrilateral drawer, just instead of drawing the lines between 4 points, it will be doing it between 8.
A line is defined as the shortest distance between two points. Sorry m8. You've built a line drawer Tongue
dayum
but a line is a 2D figure, this is 3D
(09-18-2014, 09:37 PM)Crazyninja2000 Wrote: [ -> ]but a line is a 2D figure, this is 3D

A line is a 1D figure. Whether it's in two, three, four, or more dimensional space, if it's 1D and straight (constant slope derivative) then it's a line.
well what ever you call it, im making something that will draw the line or "rope" in a 3 dimensional area between 2 points.