Posted By: HeelX
solid pixels covered by entity? - 04/30/06 13:03
Hey,
I just want to ask wether this is possible or not.
Imagine your screensize is 800x600 pixels and you've got a bitmap allocated that fits the same resolution (800x600) and you've got a cube, a sphere or whatever as model visible on the screen, in case A covered with nothing B covered partially by another entity and C intersected by another entity.
In one or all three cases, would it be possible to draw on this bitmap, filled entirely black, each pixel white, which corresponds to a pixel covered by the entity??
Here are example pictures to demonstrate what I'm talking about:
mfG
Christian Behrenberg
I just want to ask wether this is possible or not.
Imagine your screensize is 800x600 pixels and you've got a bitmap allocated that fits the same resolution (800x600) and you've got a cube, a sphere or whatever as model visible on the screen, in case A covered with nothing B covered partially by another entity and C intersected by another entity.
In one or all three cases, would it be possible to draw on this bitmap, filled entirely black, each pixel white, which corresponds to a pixel covered by the entity??
Here are example pictures to demonstrate what I'm talking about:
mfG
Christian Behrenberg