PDA

View Full Version : Re: Scasm Commands



cloudandy
08-15-2001, 11:23 AM
I have seen on occassions the following poly command used;
LoadBitmap( 0 L6 EF 0 0 0 Sample.bmp )
TexPoly( abL 189 174 204 162
15
23
16
8
)

I am not familiar with "TexPoly( abL" or it's useage. The numbers in the code
also bear no reference to points or their bitmap pixel locations.
Can anyone shed some light on this and how one controls the visibility of this
poly.

Regards,
Chris Wilkes



Chris

You can read about the additional scasm bitmap scaling flags
in the scapcmd.doc in scasm 2.50.

a is known, means automatic vector calculation
b means "without aspect ratio"
l sets the pixel scaling "x1 y1 x2 y2" to limit the usable bitmap area.

These are scasm internal calculation flags.
You can even make tiled texture showup when using these flags.

Andreas

tosh
08-15-2001, 03:33 PM
I have seen on occassions the following poly command used;
LoadBitmap( 0 L6 EF 0 0 0 Sample.bmp )
TexPoly( abL 189 174 204 162
15
23
16
8
)

I am not familiar with "TexPoly( abL" or it's useage. The numbers in the code
also bear no reference to points or their bitmap pixel locations.
Can anyone shed some light on this and how one controls the visibility of this
poly.

Regards,
Chris Wilkes



Chris

You can read about the additional scasm bitmap scaling flags
in the scapcmd.doc in scasm 2.50.

a is known, means automatic vector calculation
b means "without aspect ratio"
l sets the pixel scaling "x1 y1 x2 y2" to limit the usable bitmap area.

These are scasm internal calculation flags.
You can even make tiled texture showup when using these flags.

Andreas

Hi Andreas,

Thank you. I have the docs, just never noticed this section before.

Chris Wilkes