1. true colour

--------------B1E9022CA99AE690AE7FB11B

well i'm trying to make a 3d engine, and after seeing chris street's
true colour library, i thought i'd try to make it in true colour.  but
for some reason the true colour (along with everything else) doesn't
work.  keep in mind that this file i'm attaching is something i've
worked on for like an hour, before i realised that the true colour
wasn't really working :).

the problem is that, although all i'm doing is putting a blue pixel to
the screen {150, 0, 0} BGR, i get red and green lines on the screen.
all of the output should be done with the procedure horiz_line(), but
whenever i try to use horiz_line() manually it works perfectly.  i've
tried putting in traps all over the place to abort the program if it
catches a colour being anything other than {150, 0, 0}, but it never
catches anything.

anyway i've included the .e file which i'm trying to work on, and again
you probably only have to pay attention to horiz_line() and maybe
tri_flat() or render_poly().

--

Mike Burrell
http://mikpos.home.ml.org/
mikpos at softhome.net
--------------B1E9022CA99AE690AE7FB11B

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu