D3D10 Renderer

Forum for general chit-chat or off-topic discussion.

Moderators: CEGUI MVP, CEGUI Team

rajkosto
Just popping in
Just popping in
Posts: 6
Joined: Fri Jan 11, 2008 00:22

D3D10 Renderer

Postby rajkosto » Fri Jan 11, 2008 13:51

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
Last edited by rajkosto on Fri Jan 11, 2008 20:07, edited 1 time in total.

rajkosto
Just popping in
Just popping in
Posts: 6
Joined: Fri Jan 11, 2008 00:22

Postby rajkosto » Fri Jan 11, 2008 19:44

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

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Postby CrazyEddie » Sat Jan 12, 2008 08:44

This is great :D

I can't test it since I do not have Windows Vista - but great work nonetheless.

Just to confirm - is it ok to incorporate this into CEGUI SVN at some stage if we so desire?

CE.

rajkosto
Just popping in
Just popping in
Posts: 6
Joined: Fri Jan 11, 2008 00:22

Postby rajkosto » Sat Jan 12, 2008 13:04

yes sure, just need to make the premake files and stuff
i can give you my hacked up version of the samplehelper dll so that samples can work with d3d10 too

Cypher
Just popping in
Just popping in
Posts: 2
Joined: Thu Apr 24, 2008 15:48

Postby Cypher » Thu Apr 24, 2008 16:04

Does anyone have a mirror of this? I'd really really appreciate if someone could post one. Thanks.

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Postby CrazyEddie » Thu Apr 24, 2008 18:58

Hi,

was it not you that I gave the link to on IRC last weekend? Or does my memory fail me? :lol:

http://pdt.myby.co.uk/cegui/files/d3d10renderer.zip

CE

Cypher
Just popping in
Just popping in
Posts: 2
Joined: Thu Apr 24, 2008 15:48

Postby Cypher » Thu Apr 24, 2008 19:27

CrazyEddie wrote:Hi,

was it not you that I gave the link to on IRC last weekend? Or does my memory fail me? :lol:

http://pdt.myby.co.uk/cegui/files/d3d10renderer.zip

CE


It was me, I fail and I lost it. :D

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?

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Postby CrazyEddie » Fri Apr 25, 2008 08:53

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.

rajkosto
Just popping in
Just popping in
Posts: 6
Joined: Fri Jan 11, 2008 00:22

Postby rajkosto » Mon Jul 21, 2008 13:15

oh cool you added this into the 0.6.1 branch
awesome

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Postby CrazyEddie » Tue Jul 22, 2008 08:27

Yeah :D

Thanks again for contributing - it's much appreciated.

CE.

rise.worlds
Just popping in
Just popping in
Posts: 3
Joined: Mon Nov 03, 2008 07:26

Postby rise.worlds » Tue Nov 04, 2008 09:16

good!
i like.


Return to “Offtopic Discussion”

Who is online

Users browsing this forum: No registered users and 4 guests