Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / Any one else get an odd slow down when running this?

Author
Message
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 29th May 2008 03:12
Well, I'm working on a game. Been prototyping it in DBP - most of the work however is done in C++. Anyways, I seem to start off with around 800 fps at the beginning of the song, and end up with around 70~90 fps at the end of the song (And then it jumps back up to 800 fps). It's a guitar hero clone, btw.

If you would be so kind as to download and run the program (Sit still for about 2~5 minutes while the song runs - no music in yet), and tell me your results, it would help me out. Please tell me your specs when you run the program, thank you.

~I assume Geek Culture is a fine place to post this~

Cheers,

-naota

"I used to do a lot of time travelling when I was younger. I called it 'ta-kwee-la' You would drink this potion and wake up 3 days in the future!" - Craig Ferguson

Attachments

Login to view attachments
Venge
18
Years of Service
User Offline
Joined: 13th Sep 2006
Location: Iowa
Posted: 29th May 2008 05:20 Edited at: 29th May 2008 05:20
All it gave me was this:



MISoft 3D Artist.

Attachments

Login to view attachments
Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 29th May 2008 06:11
I received similar errors.

Oh, yeah, shnap. He's programming on Vista. That may be why


Good luck with this though!

3.11 We do not tolerate posts made for the purpose of putting down another forum member, group of members, religion, our company, our staff or any of our moderators, past or present.
Darth Vader
19
Years of Service
User Offline
Joined: 10th May 2005
Location: Adelaide SA, I am the only DB user here!
Posted: 29th May 2008 11:54
Looks like a DX problem.


IanG
20
Years of Service
User Offline
Joined: 25th Sep 2004
Location: Cyberspace
Posted: 29th May 2008 12:30 Edited at: 29th May 2008 12:38
you will find he is using one of the latest releases of the directx sdk, so you will need the latest runtime for it, this is what the underscore 35 means in the d3dx9_35.dll; microsoft decided not to increase the version number but to add a date after the sdk name, very nice of them imho

i would try it but im purposely avoiding the latest sdks and runtime so i can use old features, but there is a program bundled with the sdk now, its called pix for windows, which will show you what the differences between the frames are and it will also show you where all the slow ups are happening and hopefully why

on a slight aside, pix stands for performance investigator for the xbox, as the original version was in the xbox sdk, but the developers liked it and stuck it in the directx sdk, which is a fantastic gain for us (you will also notice that the more recent versions of the directx sdk also include things like xact, which i think was originally called the xbox audio creation tool; its nice how microsoft change the name of their products when they make them open to the public)

amd athlon xp 2600+,1280mb,FX 5200 128mb,200gb & 120gb,xp pro sp2
jinzai
18
Years of Service
User Offline
Joined: 19th Aug 2006
Location: USA
Posted: 29th May 2008 12:50
It is most likely your use of dynamic arrays. I wrote one of those, too...but its gone now. I experienced a slow down with DBPro dynamic arrays, which are terribly slow to load up from disk, as well. So, I wrote a plug-in, and that solved it quite nicely. In the plug-in, I used vectors which are still very fast even when they are also very large.

So, I'd recommend that you use C++ for the disk I/O and the arrays, and use DBPro for the matrix part.

I still have the plug-in, but the DBPro part is gone. If you have an interest in the plug-in code, let me know. I had started on the editor, including a dialog for editing scans, but I was not pleased with the dialog and it needs some work to be truly useful.
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 29th May 2008 21:54
All the controls and rendering is done in C++. I'll try linked lists though - and "fix" that DLL problem - there's a special trick I learned (I'm not allowed to say it though because it's used in a commercial product).

Thanks all, I'll try this out further..

Also the problem is likely not the graphics, but still could be. I know where it's slowing down at though. :/

"I used to do a lot of time travelling when I was younger. I called it 'ta-kwee-la' You would drink this potion and wake up 3 days in the future!" - Craig Ferguson

Login to post a reply

Server time is: 2024-11-20 06:23:01
Your offset time is: 2024-11-20 06:23:01