http://GameProgrammer.Com

Programming

GP Mailing List
     Thread Index
     Date Index

ATXGPSIG List
     Thread Index
     Date Index

Google
>

Home

TheGrumpyProgrammer



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DirectX Blues; 3D Engine



> There lies my problem: I am doing this, and it still doesn't work. The
odd
> thing is that I made a simple game with the same process before, and [I
> think] it worked. Now it doesn't. I was hoping that there was an obvious
> solution that I was missing, but apparently I've got some debugging to
do.

I fixed this. The solution was stupid, but not obvious. I was filling the
screen with "ySize * Pitch * bitsPerPixel" instead of "ySize * Pitch *
bytesPerPixel" in order to clear it. The expected weird results ensued . .
. Sorry 'bout that. I also rendered moot my question about a constant pitch
by simply using ddsd.lPitch instead of my own variable.

-- Neil Edelman
-- ICQ UIN: 705130
-- email: mailto:dreaded.neil@phreaker.net?subject=sig
-- home: http://members.xoom.com/dreadedneil
-- moop: http://moop.bizland.com
-- "My air-to-air missile overrides your air traffic control clearance"
=================================================================
The GameProgrammer.Com mailing list is for the open discussion
of any topic related to the art, science, and business of
programming games. This list is especially tolerant of beginners.
We were all beginners once

To SUBSCRIBE or UNSUBSCRIBE please visit:
http://gameprogrammer.com/mailinglist.html