|
|
on simple QB / VB code, generally, how do I veiw a polygon
(squarepolygon),
on a given camera location?
option 1
dim polygon(4,3)
dim camera(3)
dim matrix(CamSizeX,CamSizeY)
' insert code here
for x = 1 to CamSizeX
for y = 1 to CamSizeY
pset (x,y),matrix(x,y)
next
next
option 2
dim polygon(4,3)
dim camera(3)
dim pts(4,2)
' insert code here
for N = 1 to 4 'polygon has 4 corners
pset pts(N,1)(pts(N,2) '1 and 2 are for PTS(N,X) and PTS(N,Y)
next
On RDS 3d format - RandonDotStereogram.
how does it work?
Post a reply to this message
|
|