Using only code, and three hundred and sixty "Triangle" objects, I have managed to draw a circular version of the primitive "Plain". (This is the first stage of a plan to cap both ends of a "Cylinder").
`My Settings are:- Fullscreen Exclusive Mode (1280x1024x16)
`I made my disc out of 360 triangles of 1 degree each.
`I stored the 360 * 9 needed coordinates in an array.
Color Backdrop RGB(0,60,60)
AutoCam Off
Position Camera 0,0,-100
Point Camera 0,0,0
Dim coord#(360,10)
angle = 0
radius = 10
For i = 1 To 360
coord#(i,1)=0
coord#(i,2)=0
coord#(i,3)=0
coord#(i,6)=0
coord#(i,9)=0
Next i
coord#(1,4)=radius
coord#(1,5)=0
For i = 1 To 360
angle =angle+1
coord#(i,7)= Cos(angle)*radius
coord#(i+1,4)=Cos(angle)*radius
coord#(i,8)=Sin(angle)*radius
coord#(i+1,5)=Sin(angle)*radius
Next i
For i = 1 To 360
Make Object Triangle i, coord#(i,1),coord#(i,2),coord#(i,3),coord#(i,4),coord#(i,5),coord#(i,6),coord#(i,7),coord#(i,8),coord#(i,9)
Next i
Wait Key
End
My questions:-
1) Is there any way that I can transform the result of my program into an Object (probably using meshes)?
2) Even if this is possible, would I be going down a tedious dead-end path, and would be better spending my time learning Third Party modelling software (I have Milkshape)?
What do you think?
Regards, Geoff.