Search found 6 matches

by rajkosto
Mon Jul 21, 2008 16:37
Forum: Offtopic Discussion
Topic: 0.6.1 bug if using only dx10 to compile samples
Replies: 2
Views: 2301

i also propose the following change in HWND Win32AppHelper::createApplicationWindow(int width, int height) modify the createwindow part as so RECT wnd_size = {0,0,width,height}; AdjustWindowRect(&wnd_size, WS_OVERLAPPEDWINDOW, FALSE); // create new window window = Creat...
by rajkosto
Mon Jul 21, 2008 16:10
Forum: Offtopic Discussion
Topic: 0.6.1 bug if using only dx10 to compile samples
Replies: 2
Views: 2301

0.6.1 bug if using only dx10 to compile samples

#ifdef CEGUI_SAMPLES_USE_DIRECTX_9 if (id.find("Official Direct3D 9") != id.npos) DeviceReset_Direct3D9(hWnd, renderer); #endif #ifdef CEGUI_SAMPLES_USE_DIRECTX_10 else if (id.find("Official Direct3D 10") != id.npos) DeviceReset_Direct3D10...
by rajkosto
Mon Jul 21, 2008 13:15
Forum: Offtopic Discussion
Topic: D3D10 Renderer
Replies: 10
Views: 4873

oh cool you added this into the 0.6.1 branch
awesome
by rajkosto
Sat Jan 12, 2008 13:04
Forum: Offtopic Discussion
Topic: D3D10 Renderer
Replies: 10
Views: 4873

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
by rajkosto
Fri Jan 11, 2008 19:44
Forum: Offtopic Discussion
Topic: D3D10 Renderer
Replies: 10
Views: 4873

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 AdjustWindo...
by rajkosto
Fri Jan 11, 2008 13:51
Forum: Offtopic Discussion
Topic: D3D10 Renderer
Replies: 10
Views: 4873

D3D10 Renderer

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 beca...

Go to advanced search