mekanism / Mekanism

A mod for Minecraft
MIT License
1.35k stars 512 forks source link

[OptiFine interoperation] Large models disappear when the source block is out view #1191

Closed L-Clouds closed 10 years ago

L-Clouds commented 10 years ago

One more of a few glitches ( #999 #452 in addition) that crop up when using OptiFine with Mekanism: models that extend beyond their source block (notably, the Wind Turbine) will vanish when the source block is outside the field of view. The problem is, of course, that the rest of the model might still have been in view...

OptiFine probably does some aggressive view frustum culling, and this affects more than just Mekanism: eg. large turbines from Atomic Science also go poof as you turn the view so they pass off the edge of the screen.

It's fair enough if this isn't your problem, but because OptiFine is pretty much the first and last word when it comes to Minecraft performance, it would be a lovely enhancement if Aiden and sp614x could work together to get the glitches ironed out. The OptiFine dev does seem to attend to mod compatibility, eg. as the latest OF update mentions fixes with Biomes'o'Plenty and other mods.

aidancbrady commented 10 years ago

I would consider talking to sp614x about this...if it weren't for the fact that I literally have code in place that makes the renderer completely ignore frustum culling when rendering larger-than-normal blocks. This may actually be a bug on Optifine's end...

Let me know if anything else comes up, and thanks for the report.