I ported the D3D9 renderer to D3D10, and I'm not really an expert in d3d, I might have done some things badly or suboptimal.
The source code is at the bottom, i use only vs2008 so i only have those project files, i don't know how to use your lua based premake system.
And it can't load TGA files because d3dx10 removed that.
http://www.mediafire.com/?10tiy9wlo4c
D3D10 Renderer
Moderators: CEGUI MVP, CEGUI Team
D3D10 Renderer
Last edited by rajkosto on Fri Jan 11, 2008 20:07, edited 1 time in total.
windowed mode with original 800x600 (note : the unmodified samples DO NOT create a 800x600 viewport, they create a 800x600 window which includes the title bar and stuff, in d3d10 if you create a smaller viewport than your swapchain it gets horribly blurry, so make sure you use a rect and AdjustWindowRect for overlapping and then use rc.right - rc.left, rc.bottom - rc.top for the window size)
EDIT : SORRY FOR ALL THAT LADS, IVE FIXED IT, JUST HAD TO REMOVE THE HALF PIXEL OFFSET THAT WAS REQUIRED FOR D3D9
THE SOURCE IN THE FIRST POST IS NOW OK
EDIT : SORRY FOR ALL THAT LADS, IVE FIXED IT, JUST HAD TO REMOVE THE HALF PIXEL OFFSET THAT WAS REQUIRED FOR D3D9
THE SOURCE IN THE FIRST POST IS NOW OK
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Hi,
was it not you that I gave the link to on IRC last weekend? Or does my memory fail me?
http://pdt.myby.co.uk/cegui/files/d3d10renderer.zip
CE
was it not you that I gave the link to on IRC last weekend? Or does my memory fail me?
http://pdt.myby.co.uk/cegui/files/d3d10renderer.zip
CE
CrazyEddie wrote:Hi,
was it not you that I gave the link to on IRC last weekend? Or does my memory fail me?
http://pdt.myby.co.uk/cegui/files/d3d10renderer.zip
CE
It was me, I fail and I lost it.
Fast reply. Thanks, that's a huge help.
I love your work btw, CEGUI has saved me a ridiculous amount of time in my project, you have no idea. Do you have a paypal address I can donate to?
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
hehe
Thanks for the kind words about CEGUI - it is always appreciated, and I'm happy that you have found the library useful.
As for donations, I'm going to try and get that set up again so they go through via the sourceforge donations system. In the mean time if you're truly desperate to lighten your wallet, you are free to donate directly via PayPal to:
ice-drezday@users.sourceforge.net
We are, of course, very appreciative of any and all donations made to the project.
CE.
Thanks for the kind words about CEGUI - it is always appreciated, and I'm happy that you have found the library useful.
As for donations, I'm going to try and get that set up again so they go through via the sourceforge donations system. In the mean time if you're truly desperate to lighten your wallet, you are free to donate directly via PayPal to:
ice-drezday@users.sourceforge.net
We are, of course, very appreciative of any and all donations made to the project.
CE.
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Return to “Offtopic Discussion”
Who is online
Users browsing this forum: No registered users and 6 guests