PDA

View Full Version : Why does 2D ortho textured geometry wrap into 3D space crossing 0,0 (top-left)?



kingc8
05-13-2014, 12:03 AM
Hello,

A quick question:

I noticed that a large textured quad image with the mouse cursor centered on it, seems to wrap into the 3D perspective under it, when crossing the 0,0 in 2D ortho.

What is that a symptom of?

Thanks!

Agent D
05-13-2014, 09:06 AM
Can you be a bit more specific? Can you describe what "wrap into the 3D perspective under it" means? Do you have screenshots that can show the effect, to make sure we aren't talking about an optical illusion? What does your projection matrix look like?

kingc8
05-14-2014, 02:01 AM
The answer was a range conflict between the main 3D DrawArray into the 2D HUD DrawArray range.

Thanks for your help!!