Alright, so for the past few days I've been working on getting DirectX 8 into my game to replace DirectX 7, and I've come upon a few issues, and with the great help of Spodi, fixed those, but now we are truly stumped.
Basically, this is what is happening :
Has anyone ever encountered this before? The vertexes and all are being created perfectly fine, the render states are good, so me and Spodi are thinking it has something to do with loading the textures (Each texture is a 32x32 tile). It seems to be getting stretched. Anyone have some insight?
From my experience (which isn't much in converting), if you have any instance of DX7's DirectDraw, DirectX8's Direct3D doesn't function right. At least if D3D and Draw are set to the same object.
This may not help at all, but it's what I've experienced.
I have a few successful conversions of Mirage to D3D if you want to compare them (this weekend at the earliest).
smchronos Wrote:From my experience (which isn't much in converting), if you have any instance of DX7's DirectDraw, DirectX8's Direct3D doesn't function right. At least if D3D and Draw are set to the same object.
This may not help at all, but it's what I've experienced.
Hmm, well I removed all the Dim`s for the objects that DX7 used and the Reference also, but I left some of the DD_ItemSurf calls for example, because I haven`t gotten to that part of DX8 yet, I`m only doing Tiles so far, but could it be because of that?
It may be (I'm not that knowledgable). Try the quick "comment-everything-out" to see if that is the problem (comment all references to DX7).
Tried doing that, with all the surfaces and everything, and still nothing
Posts: 2,742
Threads: 115
Joined: Jun 2006
Reputation:
0
Try using 128x128 textures instead.
I can't see the picture (at school), but the textures stretched horribly when I used something smaller than that.
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Robin Wrote:Try using 128x128 textures instead.
I can't see the picture (at school), but the textures stretched horribly when I used something smaller than that.
Ah, tried that, and still the same effect. I think I'm just going to drop the conversion for now xD Attept it again later.
Posts: 2,742
Threads: 115
Joined: Jun 2006
Reputation:
0
It could be a problem with resizing when rendering, but I don't really know much about DX8.
The only time they messed up for me was when I had them too small.
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Sorry to bump, but did you ever figure it out? I'm curious as to what the problem was.
Posts: 2,742
Threads: 115
Joined: Jun 2006
Reputation:
0
I don't think he comes here anymore.
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
I do  I just only got notification on reply now. And nope, I never figured this one out, so I just decided to do byte arrays for now
But thanks for all your help Spodi
The thing is DX8 is not exactly the nicest of things to use, hence alot of games having dx7, dx9 and OpenGL options, DX8 just got missed out really xP
Fox Wrote:The thing is DX8 is not exactly the nicest of things to use, hence alot of games having dx7, dx9 and OpenGL options, DX8 just got missed out really xP
Well, the thing is. DX8 is much much more powerful then DX7, and I don't personally beleive that a simple ORPG would need DX9, so DX8 seems to be the way, but that might just be my view.
Can't use DX9 in VB, unless you use something like C++ to create a wrap for it or w/e.
I have vaguely looked over it and it appears some people at least have had success with dx9 in vb6, i think theres a dll floating around that very closely mimmicks dx9, its called like draw3exec or something, deserves a look into.
Fox Wrote:I have vaguely looked over it and it appears some people at least have had success with dx9 in vb6, i think theres a dll floating around that very closely mimmicks dx9, its called like draw3exec or something, deserves a look into.
I said it was possible with a wrapper, which is what the dll is. You should find it, maybe Robin could look into it or someone..
Not sure whats wrong with DirectX 8. DirectX 9 is very similar to DirectX 8, far more than 7 and 8 or 9 and 10, and it does offer more than DirectX 8, but DX8 has plenty for a 2d game, unless you want to make an incredibly graphic-overkill "2d" game that is basically a 3d game with a static camera.
Perfekt Wrote:Fox Wrote:I have vaguely looked over it and it appears some people at least have had success with dx9 in vb6, i think theres a dll floating around that very closely mimmicks dx9, its called like draw3exec or something, deserves a look into.
I said it was possible with a wrapper, which is what the dll is. You should find it, maybe Robin could look into it or someone..
I wasnt disputing you nubcake,
thats right, lick a fish.
Lick it.
I'll have a look for that dll sometime i can be bothored too :]
Fox Wrote:I wasnt disputing you nubcake,
thats right, lick a fish.
Lick it.
I'll have a look for that dll sometime i can be bothored too :]
You have issues. I was just telling you, that's what a wrapper is.  You fail.
Fox Wrote:lick iiiiit.
Why don't you go suck off Robin or something?
Posts: 2,742
Threads: 115
Joined: Jun 2006
Reputation:
0
Hey!
Don't bring me into this!
Besides, he lives nearer to Cruel.
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Robin Wrote:Hey!
Don't bring me into this!
Besides, he lives nearer to Cruel.
Yeah, but you'd enjoy it. Besides, why would Fox wanna suck off a black guy?
|