Pyl speedup?

Report bugs, errors, problems, etc.
Post Reply
WhiteMagicRaven
Posts: 188
Joined: Sun Feb 28, 2010 11:10 pm
Contact:

Pyl speedup?

Post by WhiteMagicRaven »

look inside that post -> https://www.vogons.org/viewtopic.php?f= ... yl#p451252
"(Edit: in some games it's also common to lock and access the depth buffer by the CPU to check if something is in occlusion, like the sun for a lensflare effect. The best practical example for this is game Pyl (Glide) which locks the depth buffer multiple times during a single frame to see if the environmental light sources are occluded and decide to render or not their aura. Without partial readback that game is unplayably slow.)"

Can it be discarded, so we turn of light auras in Pyl, and disallow to manipulate so mach with depth buffer, so it be graphicaly worse but run in full speed?
User avatar
Zeus
Site Admin
Posts: 1712
Joined: Sun Sep 21, 2008 2:51 pm
Contact:

Re: Pyl speedup?

Post by Zeus »

Discarding depth reads would not give you 60fps, half of the resources are consumed by DOSBox and that's not something you can skip.

For nGlide part, you can use one of wrapper's releases that didn't support depth reading (nGlide 0.98 and older), but I don't think playing with invisible enemies will be fun ;) (not only special effects rely on these reads).
WhiteMagicRaven
Posts: 188
Joined: Sun Feb 28, 2010 11:10 pm
Contact:

Re: Pyl speedup?

Post by WhiteMagicRaven »

ok another question,

i can run game in glide on ntvdm by using glidos, i see intro movies, logos, menu, everything is ok, keyboard clicks ok, only mouse, when i click any mouse button it throw me to desktop without any warnings /errors.

is there any chance you can investigate it to fix?

When game on Software mode everything works perfect.

you can replace glide2x.dll shipped with glidos by glide2x.dll from nGlide, it gives speed, and more resolutions,/.

Windows XP 32
User avatar
Zeus
Site Admin
Posts: 1712
Joined: Sun Sep 21, 2008 2:51 pm
Contact:

Re: Pyl speedup?

Post by Zeus »

So.. the crash comes from nGlide's glide2x.dll? Did you check Windows Event Viewer to confirm that?
User avatar
Zeus
Site Admin
Posts: 1712
Joined: Sun Sep 21, 2008 2:51 pm
Contact:

Re: Pyl speedup?

Post by Zeus »

If it's not nGlide then there's nothing I can do.
WhiteMagicRaven
Posts: 188
Joined: Sun Feb 28, 2010 11:10 pm
Contact:

Re: Pyl speedup?

Post by WhiteMagicRaven »

nGlide 2.00 changelog:

Glide2:
-fixed Pył rare depth buffer bug
Does it optimize performance for game?
User avatar
Zeus
Site Admin
Posts: 1712
Joined: Sun Sep 21, 2008 2:51 pm
Contact:

Re: Pyl speedup?

Post by Zeus »

I didn't notice any differences in performance.
Post Reply