First post, by noname
Is it possible to use Glidos with Direct3D instead of OpenGL?
Is it possible to use Glidos with Direct3D instead of OpenGL?
Strange coincidence that you are asking this just now, because it is just becoming possible. You can grab the Glide2x.dll from http://psvoodoo.sourceforge.net and substitute it for the one in C:\Program Files\Glidos That uses Direct3D. Its fairly new, not quite complete and not well tested, but there's no harm in giving it a go.
I get a "Read failure" error when I try to use that. Is there another way?
Well I got it to work but there are a lot of bugs in it. Is that because it's not complete or is it me?
It's not. He's just started developing it. Report any bugs in as much detail as possible so he can fix them.
Well, the frames for the menu items are blue and there's lines on Lara's shadow. And when you pause the game, it takes a long time to load and when it is paused, there's lines across the backround. And some meshes are badly trimmed.
Could you post the psVoodoo.log file from the Glidos folder. Also a screen shot might be useful.
What graphics card do you have?
BTW, what is the problem with OpenGL?
I'm usiing a GeForce2. Here's the log file.
I see nothing serious in that log file. Should work really.
wrote:Well, the frames for the menu items are blue
That's really mysterious. I have no idea how it can be getting colors wrong
and there's lines on Lara's shadow.
That's a depth buffering problem. Maybe GF2 has only 16bit depth buffer. Don't know. That would cause all sorts of problems. Activating antialiasing can force a driver to use 16bits, but I don't think GF2 supports antialiasing.
And when you pause the game, it takes a long time to load
You mean you press ESC and then have to wait a long time before the ring menu comes up? That seems to be a problem with modern drivers. Not sure why.
and when it is paused, there's lines across the backround.
That's normal for psVoodoo. Its using 16bit frame buffers. I may change that, but 16bit frame buffers are useful for other reasons.
And some meshes are badly trimmed.
I'd be interested to know more about that one. Can't quite imagine what you mean. Could you capture an image with "Prnt Scrn"?
Anyway, with a GF2, you should be fine with OpenGL provided you get drivers from nVidia directly and not Microsoft.
According to my experience with the GeForce2 Titanium, it supports AA but no level of pixel shading whatsoever. That might be a problem with psVoodoo ;)
The Glide library of dgVoodoo is Direct3D 7 compliant, and it used to work almost perfectly with Glidos (didn't try the combo for quite some time though). You might want to give it a try.
dgVoodoo works well, but not if you want to use TRX textures because it doesn't have the 32bit texture extensions.
For psVoodoo, the lack of picsel shaders shouldn't matter. It does have a fallback using texture ops, and the log file says that all the necessary ops are supported.
If AA is on, its well worth turning it off.
OpenGL works, but I don't like the way it trims off the edges around transparent areas on a texture.
Here's some screen shots of the bugs.
Whoa, save as JPG please!
wrote:Whoa, save as JPG please!
Why? Are you using dial-up? If not, it should only take around 5 seconds to load.
No, I'm not using dial-up, but others might be and it's good etiquette to post images in a compressed format for quicker downloads. It is also cheaper for VOGONS as it reduces bandwidth consumption -- someone has to pay for it after all!
1mb+ .bmp attachments deleted......
Unecessarily huge attachments are the bane of forums....almost akin to sending 500mb movies through email (Happens alot believe it or not.....)...but of course not as bad as that.
Ok, here's the screen shots in JPG format.
wrote:OpenGL works, but I don't like the way it trims off the edges around transparent areas on a texture.
You mean the sharp, strangely shaped curves? That's no an OpenGL thing. That's just the way Glidos displays Chromakeyed textures. There aren't many alternatives, and the others look worse.
Here's some screen shots of the bugs.
The blue lines are a complete mystery. It may be specific to Unfinished business. I haven't tried psVoodoo with that.
What's wrong with Image 2? I can't remember what that area is supposed to look like. The face looks distorted, and things look a bit ragged above the face. Is that the problem? Do you have a saved game around there?
Just a short comment:
I think I know why lines appears as blue, as I came across with this problem with dgv, and was a real mystery for me too for a long time (and the black lines of the ingame health bar). TR UB uses the iterated RGB color in the color combine unit in a special mode, namely in delta0 mode. It means that iterated RGB isn't taken from vertex RGB (which is set to blue for those lines), but from a constant register which can be set up by grConstantColorValue4 function. 😀
It's a real nightmare because delta0 mode isn't mentioned in the Glide sdk docs at all, the GR_COLORCOMBINE_ITRGB_DELTA0 and GR_COLORCOMBINE_TEXTURE_TIMES_ITRGB_DELTA0 contansts (for guColorCombineFunction) is only defined in the Glide headers. 😖 😀
And not those are the only ones, there are other cases, e.g. fog mode constants, etc. 😀 😀
wrote:wrote:OpenGL works, but I don't like the way it trims off the edges around transparent areas on a texture.
You mean the sharp, strangely shaped curves? That's no an OpenGL thing. That's just the way Glidos displays Chromakeyed textures. There aren't many alternatives, and the others look worse.
Is there a way to show chromakeyed textures the way they look in TR2?