![]() |
DirectX 8 - Printable Version +- Mirage Source (https://mirage-engine.uk/forums) +-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61) +--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18) +---- Forum: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17) +---- Thread: DirectX 8 (/showthread.php?tid=1294) |
DirectX 8 - JokeofWeek - 19-09-2007 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? Re: DirectX 8 - smchronos - 19-09-2007 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). Re: DirectX 8 - JokeofWeek - 19-09-2007 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. 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? Re: DirectX 8 - smchronos - 19-09-2007 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). Re: DirectX 8 - JokeofWeek - 19-09-2007 Tried doing that, with all the surfaces and everything, and still nothing ![]() Re: DirectX 8 - Matt - 19-09-2007 Robin might know. Re: DirectX 8 - Robin - 19-09-2007 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. Re: DirectX 8 - JokeofWeek - 20-09-2007 Robin Wrote:Try using 128x128 textures instead. 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. Re: DirectX 8 - Robin - 20-09-2007 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. Re: DirectX 8 - Spodi - 07-10-2007 Sorry to bump, but did you ever figure it out? I'm curious as to what the problem was. Re: DirectX 8 - Robin - 07-10-2007 I don't think he comes here anymore. Re: DirectX 8 - JokeofWeek - 08-10-2007 I do ![]() ![]() But thanks for all your help Spodi ![]() Re: DirectX 8 - Coke - 08-10-2007 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 Re: DirectX 8 - JokeofWeek - 08-10-2007 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. Re: DirectX 8 - Matt - 08-10-2007 Can't use DX9 in VB, unless you use something like C++ to create a wrap for it or w/e. Re: DirectX 8 - Coke - 08-10-2007 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. Re: DirectX 8 - Matt - 08-10-2007 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.. Re: DirectX 8 - Spodi - 08-10-2007 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. Re: DirectX 8 - Coke - 08-10-2007 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 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 :] Re: DirectX 8 - Matt - 08-10-2007 Fox Wrote:I wasnt disputing you nubcake, You have issues. I was just telling you, that's what a wrapper is. ![]() Re: DirectX 8 - Coke - 08-10-2007 lick iiiiit. Re: DirectX 8 - Matt - 08-10-2007 Fox Wrote:lick iiiiit. Why don't you go suck off Robin or something? Re: DirectX 8 - Robin - 09-10-2007 Hey! Don't bring me into this! Besides, he lives nearer to Cruel. Re: DirectX 8 - Matt - 09-10-2007 Robin Wrote:Hey! Yeah, but you'd enjoy it. Besides, why would Fox wanna suck off a black guy? |