It''s working because you''re far plane isn''t clipping it anymore.
Well specifying near clipping plane as 0 is not a very good idea, you could try 0.1f.
DX not rendering 2d scene
I''m using the following formulas:
when it''s a 256x256 bitmap it''s ok but when it''s another size (eg. 128x128), the y pos freaks out and comes somewhere in the middle of the window.
furthermore, if a switch to wireframe i can the the quad, whilst if i''m in normal mode (where I ant to display the texture), I get nothing... stange
Ivan
fXPos = (float)(-(miWidth / 2) + pElements[i].x);fYPos = (float)(-(miHeight / 2) - pElements[i].y + pElements[i].ySize - 31);
when it''s a 256x256 bitmap it''s ok but when it''s another size (eg. 128x128), the y pos freaks out and comes somewhere in the middle of the window.
furthermore, if a switch to wireframe i can the the quad, whilst if i''m in normal mode (where I ant to display the texture), I get nothing... stange
Ivan
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement