Forums - Open Redstone Engineers
Rope algo - Printable Version

+- Forums - Open Redstone Engineers (https://forum.openredstone.org)
+-- Forum: ORE General (https://forum.openredstone.org/forum-39.html)
+--- Forum: Projects & Inventions (https://forum.openredstone.org/forum-19.html)
+---- Forum: In Progress (https://forum.openredstone.org/forum-20.html)
+---- Thread: Rope algo (/thread-4552.html)



Rope algo - Crazyninja2000 - 08-26-2014

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.


RE: Rope algo - Crazyninja2000 - 08-26-2014

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.


RE: Rope algo - Jallen - 09-18-2014

A line is defined as the shortest distance between two points. Sorry m8. You've built a line drawer Tongue


RE: Rope algo - Tjakka5 - 09-18-2014

dayum


RE: Rope algo - Crazyninja2000 - 09-18-2014

but a line is a 2D figure, this is 3D


RE: Rope algo - Iceglade - 09-19-2014

(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.


RE: Rope algo - Crazyninja2000 - 09-19-2014

well what ever you call it, im making something that will draw the line or "rope" in a 3 dimensional area between 2 points.