Water Rendering
Re: Water Rendering
my Morrowind.esm doesn't contain any WHGT at all, only Tribunal.esm & Bloodmoon.esm does.
Last edited by corristo on 29 Mar 2012, 22:05, edited 1 time in total.
Re: Water Rendering
I am fairly sure it has been added in Tribunal.
Re: Water Rendering
Shouldn't water level be read like this?
I tried this, seems working, but lgro still has problems.
I tried this, seems working, but lgro still has problems.
- lgromanowski
- Site Admin
- Posts: 1193
- Joined: 05 Aug 2011, 22:21
- Location: Wroclaw, Poland
- Contact:
Re: Water Rendering
When I changed Cell::load() method to the one posted by corristo then I have problems with "AMBI":corristo wrote:Shouldn't water level be read like this?
I tried this, seems working, but lgro still has problems.
My MW version is v1.5.1629 PL (MW + Bloodmon + Tribunal).ERROR: ESM Error: Expected subrecord AMBI but got INTV
File: /home/lgromanowski/.config/openmw/Data Files/Morrowind.esm
Record: CELL
Subrecord: INTV
Offset: 0x3534334
Re: Water Rendering
Isn't the latest Bloodmoon patch v1.6.1820? Or didn't the Polish release get that one?lgromanowski wrote:My MW version is v1.5.1629 PL (MW + Bloodmon + Tribunal).
EDIT:
Though I do have 1.6, and am getting the error:
ERROR: ESM Error: Expected subrecord WHGT but got INTV
File: ./data/Morrowind.esm
Record: CELL
Subrecord: INTV
Offset: 0x3531684
Re: Water Rendering
Can you try this one?
Code: Select all
// Interior cells
if (esm.isNextSub("INTV") || esm.isNextSub("WHGT"))
esm.getHT(water);
Re: Water Rendering
That gets it loading, but I'm not seeing any water anywhere (inside or outside). In Beshara, GetWaterLevel returns -nan, while outside returns 0. My screen takes on a blue/greenish hue when I go below the water plane outside, though.
Re: Water Rendering
this is strange, the WHGT should definitely exist, because even cells in original morrowind have different water heights (beshara: -100, addamasartus: -760)
maybe it is stored somewhere else?
maybe it is stored somewhere else?
Re: Water Rendering
Same, on both desktop and netbook.Chris wrote:That gets it loading, but I'm not seeing any water anywhere (inside or outside). In Beshara, GetWaterLevel returns -nan, while outside returns 0. My screen takes on a blue/greenish hue when I go below the water plane outside, though.
Re: Water Rendering
werdanith, wasn't your interior water working earlier (at the point where jhooks stopped)?
if that is the case, then the difference between your and mine ESM is that it stores WHGT as int, and not float.
if that is the case, then the difference between your and mine ESM is that it stores WHGT as int, and not float.
Last edited by scrawl on 30 Mar 2012, 10:01, edited 1 time in total.