I have been playing about with pro, making objects from primitives, my first attempt was this plane, if you run the code then move the camera around to the side then the plane looks ok (for what it is anyway), if you then remove the rems where I tried to glue it together, then it goes mad and I end up with a flying saucer, what am I doing wrong (I assume it is me since other people must glue objects together ok), heres the code (no media required)
cls
ink rgb(100,100,100),0
box 0,0,128,128
ink rgb(0,0,100),0
box 55,40,73,50
ink rgb(150,150,0),0
for i=1 to 7
box 73+(i*5),40,75+(i*5),44
next i
get image 17,0,0,128,128
make object sphere 1,1
texture object 1,17
scale object 1,100,100,800
make object triangle 2,0,0,3,0,1.5,4,0,0,4
make object triangle 3,0,0,4,0,1.5,4,0,1.5,4.8
make object sphere 4,1
scale object 4,1000,10,140
texture object 2,16
texture object 3,16
texture object 4,16
make object sphere 5,1
scale object 5,300,6,70
texture object 5,16
position object 5,0,0,3.5
rem for i=2 to 5
rem glue object to limb i,1,0
rem next i
do
if upkey() then move camera 0.01
if downkey() then move camera -0.01
if rightkey() then turn camera right 0.1
if leftkey() then turn camera left 0.1
sync
loop
thanks in advance for the help.
Mentor.
PC1: P4 3ghz, 1gig mem, 2x160gig hd`s, Radeon 9800pro w cooler (3rd gfx card), 6 way speakers.
PC2: AMD 2ghz, 512mb ram, FX5200 ultra, 16 bit SB.
Mini ATX cases suck.