Post

 Resources 

Console

Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VBGamer
 VBGamer
 DrawPrimitiveUP error
 New Topic  Reply to Topic
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 12

Sr. Guapo
Swordmaster

USA
272 Posts

Posted - Jun 02 2004 :  11:23:33 PM  Show Profile  Reply with Quote
Brace yourself... whatever you did - IT WORKED!!!. I got the up to about 140 sprites before dropping below 60 FPS. Whatever you did worked *almost* perfectly.

I noticed when I exited the program, the same old error was still there, though the program ran fine... Kudos for finally "mostly" fixing it though...


Edited by - Sr. Guapo on Jun 02 2004 11:24:30 PM
Go to Top of Page

masterbooda
Swordmaster

277 Posts

Posted - Jun 02 2004 :  11:28:03 PM  Show Profile  Visit masterbooda's Homepage  Reply with Quote
Hold on a few minutes.......... let me read the above post again........ ok then again......... ok one more time......... unbelievable, I keep thinking there is a catch... I can't simply believe it... this is all I changed........
This Line:
Public Const FVF_VertexType = D3DFVF_XYZRHW Or D3DFVF_TEX2 Or D3DFVF_DIFFUSE Or D3DFVF_SPECULAR
to this:
Public Const FVF_VertexType = D3DFVF_XYZRHW Or D3DFVF_TEX1 Or D3DFVF_DIFFUSE Or D3DFVF_SPECULAR

I never even thought of that, but for some reason this engine, wants it that way..... this is fantastic, let me update the .dll and give you a few examples to run, to see if we really nipped this in the bud...

DaBooda Out........weeeeeeeee

DaBooda Team is back: http://dabooda.789mb.com/
Go to Top of Page

Sr. Guapo
Swordmaster

USA
272 Posts

Posted - Jun 02 2004 :  11:30:19 PM  Show Profile  Reply with Quote
Ok, got a correction... The error only occurs when I X-out (by hitting the little "x" button in the upper right, for you Windows challenged folks), but not when I hit escape. I assume that means the error was (I love the past tense) a device lost error...

I also ran dbmon (I forgot to in all the previous excitement), and there were absolutely no errors, just the general info it always has...
Go to Top of Page

Sr. Guapo
Swordmaster

USA
272 Posts

Posted - Jun 02 2004 :  11:42:30 PM  Show Profile  Reply with Quote
Also, another interesting fact... When in DX debug mode, I got about 200 - 210 FPS with only one sprite. While in retail I got 235 - 240 FPS. Tht is a considerable improvement, and I just wanted to throw it out there...
Go to Top of Page

masterbooda
Swordmaster

277 Posts

Posted - Jun 02 2004 :  11:43:18 PM  Show Profile  Visit masterbooda's Homepage  Reply with Quote
The automation error is because I didn't terminate the engine, with the terminate in the form, I only do that when you hit escape... that is normal, what is happening is your catching it right in the middle of the render routine.... I will remember to put that check in the forms from now on...at least the ones that run in a window..

Here is the new .dll and about 3 tutorials examples, reinstall the .dll and see if they run... hopefully it wasn't a combination of things, but I do not believe it is... it is that one silly little thing.... can you believe it........but hey we are warriors now!! whoo hoo...

http://dabooda.servegame.com/test.zip

Just run those for me, and I will leave you alone forever.... and I thank you for all the help you gave... your name is right next to mine on the credits to this engine... trust me...

DaBooda Out...... for the last time on this debug.... lets hope so...lol

DaBooda Team is back: http://dabooda.789mb.com/
Go to Top of Page

masterbooda
Swordmaster

277 Posts

Posted - Jun 02 2004 :  11:45:22 PM  Show Profile  Visit masterbooda's Homepage  Reply with Quote
The debug vs. retail, kind of makes sense to me, because its like the debug.print command in your program, that slows it down like mad... when its in debug mode, its outputing all the info to the dbmon... but I will be sure to try to make sure mine is not in debug mode..... somehow...lol

DaBooda out...


DaBooda Team is back: http://dabooda.789mb.com/
Go to Top of Page

Sr. Guapo
Swordmaster

USA
272 Posts

Posted - Jun 02 2004 :  11:54:35 PM  Show Profile  Reply with Quote
I think it is official, the "great debug" of '04 has come to a close... All the examples ran fine, and life is back to normal... Wow, I would just like to point out that I have 28 new subfolders on my computer, one for each attemt to solve the error!!
Go to Top of Page

masterbooda
Swordmaster

277 Posts

Posted - Jun 03 2004 :  12:02:14 AM  Show Profile  Visit masterbooda's Homepage  Reply with Quote
yes!! yes!!! yes!!! this is a better feeling than, nevermind my wife is watching......

It is done.... It is done...... To think a hour and a half ago I was about to toss this thing...lol

Man I want to extend a thanks to all your help, and all the sub folders you created... thanks...

But it does not explain one thing, and I am not going to ponder on it after this post... why in the world did the v1.0 engine, except tex2, but this one will not........ go figure..... strange...

DaBooda out........for good............um............on this problem anyways... knock on wood...

P.S. If a moderator, feels the need please delete this to free up half the server... and thank you for allowing us to do this...

DaBooda Team is back: http://dabooda.789mb.com/
Go to Top of Page

cjb0087
Knave

Australia
76 Posts

Posted - Jun 03 2004 :  01:17:20 AM  Show Profile  Visit cjb0087's Homepage  Reply with Quote
omfg, its finally finished :D

www.bugsplat.tk
Go to Top of Page

Eric Coleman
Gladiator

USA
811 Posts

Posted - Jun 03 2004 :  01:17:38 AM  Show Profile  Visit Eric Coleman's Homepage  Reply with Quote
I hate to say I told you so, but the error from the very beginning said your stride was wrong, lol
Go to Top of Page

masterbooda
Swordmaster

277 Posts

Posted - Jun 03 2004 :  09:56:14 AM  Show Profile  Visit masterbooda's Homepage  Reply with Quote
yeah, yeah.... rub it in why don't ya...lol

DaBooda out....

DaBooda Team is back: http://dabooda.789mb.com/
Go to Top of Page

sdw
Warrior

USA
160 Posts

Posted - Jun 03 2004 :  10:27:23 AM  Show Profile  Visit sdw's Homepage  Click to see sdw's MSN Messenger address  Reply with Quote
Wow, you only had to change a single character of code all along? Ouch
Go to Top of Page

Sr. Guapo
Swordmaster

USA
272 Posts

Posted - Jun 03 2004 :  11:02:30 AM  Show Profile  Reply with Quote
All the really bad errors are like that. Such a nasty error, with such a simple fix... Oh well, at least it is over...
Go to Top of Page

VBBR
Moderator

Brazil
617 Posts

Posted - Jun 03 2004 :  3:03:33 PM  Show Profile  Reply with Quote
Wow, I can't believe you finally managed to solve that! I'm really impressed...

And Sr. Guapo, what is your video card again? Am I sure in understanding it doesn't support more than 1 texture stage?

Whatever. Who knows...
Go to Top of Page

Sr. Guapo
Swordmaster

USA
272 Posts

Posted - Jun 03 2004 :  3:43:45 PM  Show Profile  Reply with Quote
It is a Radeon 9200 SE... I wouldn't know about texture stages (I've never used them), but I could have sworn it did. It is a fairly recent card... compared to my voodoo3...

I think it might not be the multiple texture stages that caused it, but something else dealing with them. If you read masterbooda's comment before about how v1.0 used the FVF description, but I ran that example fine...
Go to Top of Page
Page: of 12 Previous Topic Topic Next Topic  
Previous Page | Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
VBGamer © Go To Top Of Page
This page was generated in 0.14 seconds. Snitz Forums 2000

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.