[quake3] VM incompatibilities with anisotropic filtering patch and improvements with ongoing development
Erik Auerswald
auerswal at unix-ag.uni-kl.de
Sat Apr 29 07:18:29 EDT 2006
Hi,
On Sat, Apr 29, 2006 at 03:06:56AM +0200, Thilo Schulz wrote:
> The glConfig structure that is being passed to these parts has been
> changed to add info about the status of anisotropic filtering. The
> original VMs of course do not mirror that change. This is problematic
> because the complete glConfig struct gets written to address space
> managed by these VMs that calculate with a lower bytecount for the
> glConfig structure und overwrites data.
>
> Now there are two ways to fix the problem:
> 1. move the
> qboolean textureFilterAnisotropic;
> int maxAnisotropy;
> variables from the glconfig_t struct to another one
>
> 2. create a compatibility struct with the old data layout from the
> original iD vm's and use this structure as base for writing to the VM's
> memory
> 3. Get all modders on the world to patch their VMs with the same
> modifications we did to ioq3.
>
> What's your opinion?
I'd prefer the second method. Additionally, patched VM files could be
provided in a .pk3 file (that would eliminate the need to use the shared
libs to activate all of the ioq3 fixes as well).
Erik
More information about the quake3
mailing list