-
Jun 15th, 2004, 03:38 PM
#1
Thread Starter
Ex-Super Mod'rater
Dx Starter Projects [Discussion]
If you have anything to say about the projects posted in the DirectX Starter Projects Thread then post it here. For example performance issues, suggestions or even questions of how if works.
I do have plans to make a VB version eventually but I would be really glad if someone else wants to make it because it will probably be a while before I can get round to it.
Hope you like the projects though .
BTW this is the 6,000 thread in this section .
When your thread has been resolved please edit the original post in the thread ( )
and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.
When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.
-
Jun 15th, 2004, 04:54 PM
#2
-
Jun 15th, 2004, 05:34 PM
#3
Thread Starter
Ex-Super Mod'rater
humm...strange, did it just happen the once or everytime? what other programs were open? Any Dx ones especailly?
I'll try to reproduce this some how though...what is your PCs spec? are you using nVidia or ATi? (Mind we have tested on both). Seems strange that it would display for a couple of seconds then stop .
When I compile in the IDE I normally use the Debug > Direct3D > Start with Direct3D Debugging (Ctrl + Alt + F5)
However I have used just Ctrl + F5 aswell.
As for the frame rate that is expected....it flips the surface as fast as it can without any frame limiting stuff. So on my PC I get approx 6000 fps and ~6300 when in release mode. NoteMe gets betwen 2000 to 3000. .
When your thread has been resolved please edit the original post in the thread ( )
and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.
When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.
-
Jun 15th, 2004, 06:14 PM
#4
Not NoteMe
I'm using a geforce3, no dx programs running in the background and no others of note.
It didn't display for a couple of seconds, it literally did 2 rendering passes (updating the fps) then restarted.
I only ran the code once, but i'll try it again, and see what happens.... Wish me luck.
Quotes:
"I am getting better then you guys.." NoteMe, on his leet english skills.
"And I am going to meat her again later on tonight." NoteMe
"I think you should change your name to QuoteMe" Shaggy Hiker, regarding NoteMe
"my sweet lord jesus. I've decided never to have breast implants" Tom Gibbons
Have I helped you? Please Rate my posts.
-
Jun 15th, 2004, 06:19 PM
#5
Thread Starter
Ex-Super Mod'rater
Good luck *fingers crossed*
I meant to check what OS you are running too? Just because one of the things I found when doing the Multithreading was about how the Win95 line and the WinNT line handle it differently....I run XP and NoteMe runs Win2000 so really we've only tested it on the WinNT family . Hope thats not the problem otherwise it'll be one of those XP and later code samples .
When your thread has been resolved please edit the original post in the thread ( )
and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.
When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.
-
Jun 15th, 2004, 06:31 PM
#6
Not NoteMe
It crashes every time, however i've worked out what the problem is.
I'm using a shell-altering program called object desktop. When i closed it and tested the program it ran fine.
It's still a bit strange though, because all other DX(9) programs/code samples i've tested have been fine.... :shrugs:
Quotes:
"I am getting better then you guys.." NoteMe, on his leet english skills.
"And I am going to meat her again later on tonight." NoteMe
"I think you should change your name to QuoteMe" Shaggy Hiker, regarding NoteMe
"my sweet lord jesus. I've decided never to have breast implants" Tom Gibbons
Have I helped you? Please Rate my posts.
-
Jun 15th, 2004, 06:40 PM
#7
Thread Starter
Ex-Super Mod'rater
ow thats good news then....mind don't know if i'm glad that this program only effects this app . The thing is I can't think of it being an individual function call or anything because you said the FPS was being shown (not as zero) and this only happens once a whole second has passed, which is a good few thousand loops, .
BTW out of interest what FPS did you get now its working?
Since I made the first post I disabled my Hyper-threading and tried it and saw the FPS go down to ~6100 for the release code.
Whats strange is if I have hyperthreading disabled then even when I Alt + Tab the Task Manager says the processor is going 100% whereas with hyper threading on I get 50% when Alt + Tab and 100% (on both processors) while its running
You've made Dx9 stuff before with C++ right? well do you normally just use the one thread or more? And if more than one is this close at all to yours?
When your thread has been resolved please edit the original post in the thread ( )
and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.
When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.
-
Jun 15th, 2004, 07:06 PM
#8
Not NoteMe
The frame rate for a debug compile was around 1/2000 (my poor Geforce3 )
Originally posted by Electroman
You've made Dx9 stuff before with C++ right? well do you normally just use the one thread or more? And if more than one is this close at all to yours?
The game i'm developing at the moment only uses 1 thread when actually in the game loop. I have a 2nd thread during the loading of DX, so i can have a progress bar, but that gets destroyed having loaded DX.
Code:
while( uMsg.message != WM_QUIT )
{
if( PeekMessage( &uMsg, NULL, 0, 0, PM_REMOVE ) )
{
TranslateMessage( &uMsg );
DispatchMessage( &uMsg );
}
else
{
if(IsLoaded)
{
GameThink();
while(GetTickCount() < LastThink+10);
LastThink = GetTickCount();
Render();
}
}
}
Quotes:
"I am getting better then you guys.." NoteMe, on his leet english skills.
"And I am going to meat her again later on tonight." NoteMe
"I think you should change your name to QuoteMe" Shaggy Hiker, regarding NoteMe
"my sweet lord jesus. I've decided never to have breast implants" Tom Gibbons
Have I helped you? Please Rate my posts.
-
Jun 15th, 2004, 07:55 PM
#9
Originally posted by SLH
I'm using a shell-altering program called object desktop. When i closed it and tested the program it ran fine.
What kind of app is that? A kind of theme for your windows PC?
-
Jun 15th, 2004, 10:38 PM
#10
E...have you uploaded the changes we made to the project to the server? So the new one can be downloaded from the sticky thread?
-
Jun 16th, 2004, 03:57 AM
#11
Not NoteMe
Originally posted by NoteMe
What kind of app is that? A kind of theme for your windows PC?
It is a suite of programs that can alter pretty much any aspect of windows. The ones that i think didn't work with DX were one called windowsblinds (which changes the apperence of all windows/window controls), and one called windowFX, which does things like fading in messageboxes etc...
Quotes:
"I am getting better then you guys.." NoteMe, on his leet english skills.
"And I am going to meat her again later on tonight." NoteMe
"I think you should change your name to QuoteMe" Shaggy Hiker, regarding NoteMe
"my sweet lord jesus. I've decided never to have breast implants" Tom Gibbons
Have I helped you? Please Rate my posts.
-
Jun 16th, 2004, 07:01 AM
#12
Thread Starter
Ex-Super Mod'rater
Posted by NoteMe
E...have you uploaded the changes we made to the project to the server? So the new one can be downloaded from the sticky thread?
Sorry I forgot to upload the updates before I went to sleep last night......
I've uploaded some enhancments, these included:
* When you Alt + Tab out the program it now suspends and will use 1% of the processor. Unlike before where it used 100% and 50% on Hyper-Threading PCs.
* Added a few coments
When your thread has been resolved please edit the original post in the thread ( )
and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.
When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.
-
Jun 16th, 2004, 07:34 AM
#13
Not NoteMe
Originally posted by Electroman
Sorry I forgot to upload the updates before I went to sleep last night......
I've uploaded some enhancments, these included:
* When you Alt + Tab out the program it now suspends and will use 1% of the processor. Unlike before where it used 100% and 50% on Hyper-Threading PCs.
* Added a few coments
Just had a proper look at the code; it sure is organised, think i'll be aranging my next project in a similar way!
Quotes:
"I am getting better then you guys.." NoteMe, on his leet english skills.
"And I am going to meat her again later on tonight." NoteMe
"I think you should change your name to QuoteMe" Shaggy Hiker, regarding NoteMe
"my sweet lord jesus. I've decided never to have breast implants" Tom Gibbons
Have I helped you? Please Rate my posts.
-
Jun 16th, 2004, 08:07 AM
#14
Thread Starter
Ex-Super Mod'rater
Thanx, I was trying to make it as clear to read as possible.
Ow yea I think I said this in the Sticking thread but if anyone else wants me to add their project shells then just send me a PM or somethign . I'm after any Dx version and both VB & C++, any versions.
When I get time I am planning to write a small article that will explain the current project in a bit of detail.
When your thread has been resolved please edit the original post in the thread ( )
and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.
When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.
-
Jun 16th, 2004, 11:32 AM
#15
Originally posted by SLH
It is a suite of programs that can alter pretty much any aspect of windows. The ones that i think didn't work with DX were one called windowsblinds (which changes the apperence of all windows/window controls), and one called windowFX, which does things like fading in messageboxes etc...
I figgured it had to be something like that...but I still find it weird that it crashes our app..
-
Jun 16th, 2004, 11:33 AM
#16
Originally posted by SLH
Just had a proper look at the code; it sure is organised, think i'll be aranging my next project in a similar way!
At least Electroman sure didn't make it OOP like...
-
Jun 16th, 2004, 11:34 AM
#17
Originally posted by Electroman
When I get time I am planning to write a small article that will explain the current project in a bit of detail.
Tell me if you need any help on that. I can fix the UML diagram too, so it reflects all the changes from last time.
If I get the time today, I will try to use the project to make my first VS too...
-
Jun 16th, 2004, 11:47 AM
#18
Thread Starter
Ex-Super Mod'rater
When your thread has been resolved please edit the original post in the thread ( )
and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.
When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.
-
Jun 16th, 2004, 11:49 AM
#19
Thread Starter
Ex-Super Mod'rater
Posted by NoteMe
Tell me if you need any help on that. I can fix the UML diagram too, so it reflects all the changes from last time.
If I get the time today, I will try to use the project to make my first VS too...
Yea that would be great if you could do the UML models...I haven't got used to using that weird add-on yet .
When your thread has been resolved please edit the original post in the thread ( )
and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.
When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.
-
Jun 16th, 2004, 11:56 AM
#20
Yeah I know you love the speed. But when you hit 50k lines ++ then it is realy hard to follow this style. And it is harder to work more then one person on the project. At least the font thingy could have been in one class or at least in a file. But I will rewrite it a bit later on anyway, so we can have 3D text and so on too. Can be an add on to our basis framework..
BTW you should add version numbers to the downloads in the sticky, so people can see that something has been chagned...
-
Jun 16th, 2004, 11:57 AM
#21
-
Jun 16th, 2004, 12:20 PM
#22
Thread Starter
Ex-Super Mod'rater
Thanx for the reminder on the last updated thing...I meant to do that earlier, have done it now .
The Font thing can definitly be turned into a class, just seen as though you made that part I though i would let you do it cos I've never used fonts before in Dx .
Don't forget this is just the core of our program and needs the most speed....once we are working on seperate files everythign will be classed up though .
BTW we should make sure we don't start spamming this thread with things that are more related to our project than just the Basis .
As for the UML models there is no rush because I need to get some time to make the article first .
When your thread has been resolved please edit the original post in the thread ( )
and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.
When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.
-
Sep 8th, 2004, 04:47 PM
#23
I'm interested in the .NET version of the DX9 program, but the link for the download is not currently working for me.
Any solution?
-
Sep 8th, 2004, 04:49 PM
#24
SEnd me a PM with you mail...and I will send it too you...
I downloaded it earlier today at school...
-
Sep 8th, 2004, 05:37 PM
#25
Not NoteMe
I downloaded it today as well, link works fine for me.
BTW, don't know what's changed but i can use my shell-altering prog and run the project with no problems now.
Quotes:
"I am getting better then you guys.." NoteMe, on his leet english skills.
"And I am going to meat her again later on tonight." NoteMe
"I think you should change your name to QuoteMe" Shaggy Hiker, regarding NoteMe
"my sweet lord jesus. I've decided never to have breast implants" Tom Gibbons
Have I helped you? Please Rate my posts.
-
Sep 8th, 2004, 05:47 PM
#26
-
Sep 8th, 2004, 06:47 PM
#27
Thread Starter
Ex-Super Mod'rater
lol, no its not....Mind the first month or two did seem that way.
SLH, I did make some changes awhile back, don't know if you had used the most up-to-date one when you had the problems. Maybe even SP2 has had something to do with it (Thats if you have it installed yet).
When your thread has been resolved please edit the original post in the thread ( )
and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.
When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.
-
Sep 8th, 2004, 06:59 PM
#28
Not NoteMe
Originally posted by Electroman
Maybe even SP2 has had something to do with it (Thats if you have it installed yet).
Nope - after all the problems people have been having i'm staying away from it for a good long while.
Quotes:
"I am getting better then you guys.." NoteMe, on his leet english skills.
"And I am going to meat her again later on tonight." NoteMe
"I think you should change your name to QuoteMe" Shaggy Hiker, regarding NoteMe
"my sweet lord jesus. I've decided never to have breast implants" Tom Gibbons
Have I helped you? Please Rate my posts.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|