0 Members and 1 Guest are viewing this topic.
:.VERTEX3D::Fill(L3,768,0::ᴱ90D3→°ScrP+2→°AngX+2→°AngY+2→°AngZ:L3→ScrP::0→AngX→AngY→AngZ::‾1:For(256):sin(+1→r1)→{r1+L1:cos(r1)→{r1+L2:r1:End::Data(‾10,‾10,‾10)→GDB1VERT:Data(‾10,‾10,10:Data(10,‾10,10:Data(10,‾10,‾10:Data(0,10,0::Data(0,1,1,2,2,3,3,0,0,4,1,4,2,4,3,4)→GDB1LINE::Data(0r,0r,0r)→GDB1WORK:Data(0r,0r,0r)→GDB1CAM::5→V:8→L:32→D:32→F::While 1::prgmVERTEX::DispGraphClrDraw:getKey(4)-getKey(1)*2+AngX·255→AngX:getKey(3)-getKey(2)*2+AngY·255→AngY:getKey(49)-getKey(53)*2+AngZ·255→AngZ:EndIf getKey(15)
:.Vertex and shape drawing::D*sign{AngX+L1}//128→{GDB1CAM+2}r:D*sign{AngX+L2}//128→{GDB1CAM+4}r:{GDB1CAM+4}r*sign{AngY+L2}//128→{GDB1CAM+4}r:D*sign{AngX+L2}//128→{GDB1CAM}r:{GDB1CAM}r*sign{AngY+L1}//128→{GDB1CAM}r::For(r1,0,V-1):sign{r1*3+GDB1VERT}-{GDB1CAM}r→{GDB1WORK}r:sign{r1*3+GDB1VERT+1}-{GDB1CAM+2}r→{GDB1WORK+2}r:sign{r1*3+GDB1VERT+2}-{GDB1CAM+4}r→{GDB1WORK+4}r::.Y rotation:{GDB1WORK+4}r→H:‾{GDB1WORK}r*sign{AngY+L1}-({GDB1WORK+4}r*sign{AngY+L2})//128→{GDB1WORK+4}r:‾{GDB1WORK}r*sign{AngY+L2}+(H*sign{AngY+L1})//128→{GDB1WORK}r::{GDB1WORK+4}r→H:.X rotation:‾{GDB1WORK+2}r*sign{AngX+L1}+({GDB1WORK+4}r*sign{AngX+L2})//128→{GDB1WORK+4}r:{GDB1WORK+2}r*sign{AngX+L2}+(H*sign{AngX+L1})//128→{GDB1WORK+2}r::.Z rotation:{GDB1WORK}r→H:{GDB1WORK}r*sign{AngZ+L2}-({GDB1WORK+2}r*sign{AngZ+L1})//128→{GDB1WORK}r:{GDB1WORK+2}r*sign{AngZ+L2}+(H*sign{AngZ+L1})//128→{GDB1WORK+2}r::F*{GDB1WORK}r*32//{GDB1WORK+4}r→{r1*4+ScrP}r:F*{GDB1WORK+2}r*32//{GDB1WORK+4}r→{r1*4+ScrP+2}r:End::For(r1,0,L-1):r1*2+GDB1LINE→A:{{A}*4+ScrP}r//32+48→X:{{A}*4+ScrP+2}r//32+32→Y:{{A+1}*4+ScrP}r//32+48→Z:{{A+1}*4+ScrP+2}r//32+32→T:Line(X,Y,Z,T:End
I tried with 16→D and 16→F, and got something weird O.o :I only changed distance (D) and distortion (F)
That's because it's so distorted that you get somewhat of a "fisheye" lens effect. The glitching happens because Axe can't draw clipped lines, so whenever the lines get so long they go offscreen, they vanish. (If I understand correctly)
Quote from: leafy on October 27, 2012, 09:28:25 pmThat's because it's so distorted that you get somewhat of a "fisheye" lens effect. The glitching happens because Axe can't draw clipped lines, so whenever the lines get so long they go offscreen, they vanish. (If I understand correctly)Can you fix that by making a line just a series of points or would that be too hard to do? Instead of having lines you would just have a bunch of points that make a straight line.