Mirage Source http://miragesource.net/forums/ |
|
Direct3D Engine http://miragesource.net/forums/viewtopic.php?f=208&t=5733 |
Page 1 of 2 |
Author: | Doug [ Tue Jun 02, 2009 1:26 am ] |
Post subject: | Direct3D Engine |
Here I am trying to create my own D3D engine.. Ive just started to learn it. Isnt much hard at the moment. Using timeGetTime since its said to have the highest resolution of all the other timers. I rendered a 32x32 box w00t |
Author: | Pbcrazy [ Tue Jun 02, 2009 1:45 am ] |
Post subject: | Re: Direct3D Engine |
Congratz! i can't even get my program to do that properly! lol |
Author: | Doug [ Tue Jun 02, 2009 1:49 am ] |
Post subject: | Re: Direct3D Engine |
Pbcrazy wrote: Congratz! i can't even get my program to do that properly! lol Hahaa thanks.. well Im not much new to VB6. Its been about 6 months or so since Ive started up so I have a basic idea of everything. |
Author: | Pbcrazy [ Tue Jun 02, 2009 2:00 am ] |
Post subject: | Re: Direct3D Engine |
I've been working with it on and off for about a year >.> DirectX7 just doesn't like me :'( |
Author: | Doug [ Tue Jun 02, 2009 2:39 am ] |
Post subject: | Re: Direct3D Engine |
Pbcrazy wrote: I've been working with it on and off for about a year >.> DirectX7 just doesn't like me :'( Then learn 8. It's easy so far for me. Loaded up a .PNG file as texture and enabled alpha blending render states. |
Author: | Tony [ Tue Jun 02, 2009 2:44 am ] |
Post subject: | Re: Direct3D Engine |
Nice, cool to see someone else learn DirectX8. |
Author: | Pbcrazy [ Tue Jun 02, 2009 3:09 am ] |
Post subject: | Re: Direct3D Engine |
Aye, that's what im trying, using Giaken's class thingy ma bob. |
Author: | Doug [ Tue Jun 02, 2009 4:46 am ] |
Post subject: | Re: Direct3D Engine |
Pbcrazy wrote: Aye, that's what im trying, using Giaken's class thingy ma bob. You should actually learn it and get a understanding of it. It may come off confusing but it really gets easy. Im learning everything here: http://externalweb.exhedra.com/DirectX4 ... 8Start.asp |
Author: | Doug [ Tue Jun 02, 2009 12:40 pm ] |
Post subject: | Re: Direct3D Engine |
More updates.. Ive learned texture coordination but took me forever to get it right.. optimized a few things such as calculating coords before rendering. Selects the best processing flag and some other stuff. Also this time I grabbed the sprite from a sprite set instead of just a 64x64 file and drew a map. |
Author: | Robin [ Tue Jun 02, 2009 3:37 pm ] |
Post subject: | Re: Direct3D Engine |
How is your FPS so low? |
Author: | GIAKEN [ Tue Jun 02, 2009 6:07 pm ] |
Post subject: | Re: Direct3D Engine |
Yeah...you might have initialized something wrong maybe? Also: http://directx4vb.vbgamer.com/ Learned all my DX7 and DX8 stuff from there. |
Author: | Doug [ Tue Jun 02, 2009 10:51 pm ] |
Post subject: | Re: Direct3D Engine |
I capped the FPS. Code: Do While timeGetTime < StartTime + 25 DoEvents Sleep 1 Loop Uncapped is only like 140FPS.. weird right? |
Author: | Labmonkey [ Wed Jun 03, 2009 12:33 am ] |
Post subject: | Re: Direct3D Engine |
FPS is based off of your computer speed. Give your computer specs (or the fps you get for ms4) and then that number will mean something. |
Author: | Doug [ Wed Jun 03, 2009 1:05 am ] |
Post subject: | Re: Direct3D Engine |
Pretty crappy actually "/: Windows XP, 902MHz, 1.25GB ram, ATI Radeon 9600 / x1050 and I get 32FPS from MS, the one Dugor just released. |
Author: | Doomy [ Wed Jun 03, 2009 2:28 am ] |
Post subject: | Re: Direct3D Engine |
Doug wrote: Pretty crappy actually "/: Windows XP, 902MHz, 1.25GB ram, ATI Radeon 9600 / x1050 and I get 32FPS from MS, the one Dugor just released. i hope you at least unlocked the fps on the ms3 |
Author: | Tony [ Wed Jun 03, 2009 5:22 am ] |
Post subject: | Re: Direct3D Engine |
Doomy wrote: Doug wrote: Pretty crappy actually "/: Windows XP, 902MHz, 1.25GB ram, ATI Radeon 9600 / x1050 and I get 32FPS from MS, the one Dugor just released. i hope you at least unlocked the fps on the ms3 Why would he unlock the FPS? He posted his locked FPS in DX8. You're being stupid. |
Author: | Robin [ Wed Jun 03, 2009 7:11 am ] |
Post subject: | Re: Direct3D Engine |
Doug wrote: I capped the FPS. Code: Do While timeGetTime < StartTime + 25 DoEvents Sleep 1 Loop Uncapped is only like 140FPS.. weird right? That's pretty poor, but I can't really say with those computer specs. I get around 300-400fps with my mDX9 engine, and 1500-2000 on my DX8 engine. |
Author: | Doomy [ Wed Jun 03, 2009 4:58 pm ] |
Post subject: | Re: Direct3D Engine |
Tony wrote: Doomy wrote: Doug wrote: Pretty crappy actually "/: Windows XP, 902MHz, 1.25GB ram, ATI Radeon 9600 / x1050 and I get 32FPS from MS, the one Dugor just released. i hope you at least unlocked the fps on the ms3 Why would he unlock the FPS? He posted his locked FPS in DX8. You're being stupid. because if its capped it don't matter the specs we need both engines uncapped to see if the engine is really good |
Author: | Doug [ Sat Jun 06, 2009 4:41 am ] |
Post subject: | Re: Direct3D Engine |
Ive got in texture pooling and saving model files. Makes things very convenient and efficient. Im going to be getting in dynamic model animation frames with timers next. |
Page 1 of 2 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |