Re: [GD-Windows] From OGL To D3D
Brought to you by:
vexxed72
From: Brian H. <bri...@py...> - 2002-02-09 02:54:46
|
At 11:49 AM 2/8/2002 -0500, Dave Smith wrote: >Before I embark on this great quest of porting some of my code >from OGL to D3D, I would like to know if there are any good >sites that discuss this issue. No sites, unfortunately, at least that I'm aware of. If you're targeting DX8, then the transition should be fairly smooth (depending on how much OGL you were using). Most of the state stuff has direct analogs. Probably the biggest area of confusion for me was making sure my matrices were matching correctly. I don't remember the exact details, but it took some trial and error before I figured out how to map an OpenGL projection matrix to the D3D one. Brian |