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

masterbooda
Swordmaster

277 Posts

Posted - Jun 02 2004 :  4:49:34 PM  Show Profile  Visit masterbooda's Homepage  Reply with Quote
Ok, ok, I have made some different changes.... I am going to fix this if it means the end of me...

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

Crossing fingers again...lol

DaBooda out...


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

sdw
Warrior

USA
160 Posts

Posted - Jun 02 2004 :  6:07:21 PM  Show Profile  Visit sdw's Homepage  Click to see sdw's MSN Messenger address  Reply with Quote
Example works for me!

(Just wanted to make it official that I took part in this thread)
Go to Top of Page

masterbooda
Swordmaster

277 Posts

Posted - Jun 02 2004 :  6:32:22 PM  Show Profile  Visit masterbooda's Homepage  Reply with Quote
This thread is either a debug, or we are secretly trying to explode the server.... we might reach one of those goals soon...

oh, and try this one also after the above one... just maybe between these 2, we will hit it home...

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

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 :  7:03:05 PM  Show Profile  Reply with Quote
Post the first one again... You used the same link, so I dl'ed the same file twice...
Go to Top of Page

Sr. Guapo
Swordmaster

USA
272 Posts

Posted - Jun 02 2004 :  7:07:51 PM  Show Profile  Reply with Quote
Also, the new file did not work, same errors, blah blah blah... I noticed another "info" thingee:

1300: D3DX: (INFO) Using SSE Instructions

I have no idea if it is relevant, but just in case, maybe someone knows what it means...
Go to Top of Page

masterbooda
Swordmaster

277 Posts

Posted - Jun 02 2004 :  7:28:01 PM  Show Profile  Visit masterbooda's Homepage  Reply with Quote
The SSE is the chip on your card, I believe, that is why it states what instructions it is using, what is wierd is the v1.0 don't display that message.... but I have changed some more things...

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

I hope this is it, I went back to the drawprimitiveup and changed the len(texturestrip(0)) to an actual value... I boosted the speed, so that is good news, but hopefully we have solved this problem..

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 :  9:13:47 PM  Show Profile  Reply with Quote
Nope, same error(s)... Also, I think that info message has been there all along, jumbled in with the thousands of other messages. I have the debug out output turned up all the way, so I get some message about everything even semi-DX related...
Go to Top of Page

masterbooda
Swordmaster

277 Posts

Posted - Jun 02 2004 :  9:16:20 PM  Show Profile  Visit masterbooda's Homepage  Reply with Quote
That is it, I am done, I am tossing the engine, anybody wants it they can have it, I will start working on a directx 7 version, I have done everything possible, and this error will not desist, so it has won, I cannot go on like this anymore, I have to get some programming done, and I will just stick to directx 7 from now on.... I will leave the site up for a couple of days, and anybody who wants it, grab, it, because I am tossing it into the recycle bin...

DaBooda out...

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

masterbooda
Swordmaster

277 Posts

Posted - Jun 02 2004 :  10:04:56 PM  Show Profile  Visit masterbooda's Homepage  Reply with Quote
Ok, after being smacked by my wife, and this was her direct quote "You did not just ignore me for a month and a half, to toss it into the trash."... and she is right, I will not give up on this engine... This is what I know so far....

This engine, works on every computer reported to me, except 2, Sr. Guapo's and 2dCoder's...

Ok, both of these two computers have the same processor speed, 500mhz... but I have 400mhz so I do not think that has anything to do with it...

Ok, Sr.Guapo has 256mb ram, i believe that 2dcoder has 128, and I have 128... that can't be it...

Ok, Sr. guapo has a radeon 9200 64mb, 2dcoder tnt2 ultra and I have nvidia geforcefxf 5200 128 mb......... might be possibly, except v1.0 runs fine on these computers..

sr. guapo is running xp, with .net framework, 2dcoder is running 98se with vb6, and I am running 98se with vb5.... we all have directx9....

Ok, I cannot possible see what could be causing this, because as far as the geometry and display goes, it is the same in both engines, down to the letter, heck I cut and past from 1.0 to turbo...

But there is one difference between the two, and that is how objects are created and stored... in v1.0 objects are controlled by collection classes, and turbo it is actual arrays, that I redim preserve when something gets added or removed... this is the only major difference...

Also in version 1.0 I used the gettickcount to judge the frame rate, but in turbo I used queryperformance counter... don't know if that would effect it...

Looking over both codes endlessly, has only turned up differences in the classes and objects... that is it.... nothing else is different......

By the way Sr.Guapo did you say you also ran this on a laptop, what are the specs on that...?

DaBooda out...

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

masterbooda
Swordmaster

277 Posts

Posted - Jun 02 2004 :  10:11:24 PM  Show Profile  Visit masterbooda's Homepage  Reply with Quote
Also the error occurs on this line

Direct3DDevice.DrawPrimitiveUP D3DPT_TRIANGLESTRIP, 2, TextureStrip(0), Len(TextureStrip(0))

ok and this is what this line looks like in v1.0

Direct3DDevice.DrawPrimitiveUP D3DPT_TRIANGLESTRIP, 2, TextureStrip(0), Len(TextureStrip(0))

See any difference, me neither...

Ok now v1.0 has no errors but turbo does from the begininng of the initialization, but they are exactly alike in both codes....

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 :  10:31:32 PM  Show Profile  Reply with Quote
OK, The laptop's specs:
1.6 GHz Intel Centrino (I know, not my choice...)
512 MB RAM
64 MB GeForce Go5200
Win XP Home
DX9


The QueryPerformanceCounter should be fine, as long as you are using it correctly. I have used it before...

It obviously isn't how you are rendering the strips, so it must be how they are initialized/created, but you must have tried almost everything...

Another point I forgot to mention from Jack Hoxley: "change the Len(...) to LenB(...), to make sure you are not feeding DX a bad block of memory..." worth a try...

I can also try and get some more debug output from dbmon. some of the folks at gamedev seem to think it is possible, though I don't know how... I should be able to figure out exactly what was the problem in the render call, ie, I should know which parameter was bad (assuming that was the error) or whatever...

Edited by - Sr. Guapo on Jun 02 2004 10:33:43 PM
Go to Top of Page

Sr. Guapo
Swordmaster

USA
272 Posts

Posted - Jun 02 2004 :  10:37:55 PM  Show Profile  Reply with Quote
I also wanted to ask, does anyone who has run this program succesfully own an ATI Radeon grapics card. Specifically a 9200, but any in general, I want to make sure it isn't some stupid thing with my card...
Go to Top of Page

masterbooda
Swordmaster

277 Posts

Posted - Jun 02 2004 :  10:56:30 PM  Show Profile  Visit masterbooda's Homepage  Reply with Quote
Ok, I tried the lenb thing, here is the example...

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

Maybe that is it, but I doubt it... also I cannot for the life of me get dbmon to run, for one thing I have DirectX in the control panel, I guess I am going to have to download and run the SDK... sigh... I have a couple of hours to spare I suppose.... but I still think this has something to do with the initialization, because the errors start right off the bat... that is the first thing done... I just understand it... maybe I will make a quick piece of code, that uses the same initialization and remove all else....

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:05:58 PM  Show Profile  Reply with Quote
No, didn't work (not that I wasn't hopeful, mind you...).

About dbmon, It won't run, or it won't run correctly? Did you check that you are running the debug versions of Direct3D? If you are not, it won't have any output... If you can't access the DX control panel, I have no idea, maybe DX8 doesn't have its own Control Panel...

btw, I am in the process of downloading a new graphics driver from ATI... I'm praying for a miracle, but I'm not optimistic...

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

masterbooda
Swordmaster

277 Posts

Posted - Jun 02 2004 :  11:12:50 PM  Show Profile  Visit masterbooda's Homepage  Reply with Quote
Well if that doesn't work, try this one...

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

Maybe I did something right...lol...

DaBooda out...

DaBooda Team is back: http://dabooda.789mb.com/
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.16 seconds. Snitz Forums 2000

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