dhewm3 icon indicating copy to clipboard operation
dhewm3 copied to clipboard

Bound checks.

Open Cowcat5150 opened this issue 4 years ago • 0 comments

Hi.

I have the whole project compiled for MorphOS system (G4 powerpc 32 bit ATI gfx cards) but have a lot of issues regarding gfx rendering: Body models don't work, model heads "shaking", multiple glitches, etc.

Recently I discovered that in tr_lightrun.cpp if r_showUpdates is enabled and I don't allow the code to continue (return) things start to settle down specially for the first scene instead of printing out "bigentity ref:/ biglightref: ".

Code checks against bounds > 1024: If I allow it to pass problems happen depending of the model of the card and vram.

Also when r_checkBounds is enabled (tr_light.cpp mostly) I see a lot of output regarding "bad_tri->bounds and bad_referenceBounds" clearly pointing out the issues related with md5 models and certain textures that fail.

Any thoughts?

(..and well I made dhewm3 run without shaders, for low/old PC system configurations and so on but that's for another thread).

Cowcat5150 avatar Jan 24 '21 12:01 Cowcat5150