Skip to content

Mdl parsing doesn't provide access to water_meshes #28

@kaze-xiv

Description

@kaze-xiv

Though Meddle I found that the water plane in Limsa is modelled by bg/ffxiv/sea_s1/twn/common/bgparts/s1t0_u2_sea0.mdl.

I had a peek at the data structure and found why Novus (and my renderer) don't render it - it has 3 LODs each with 0 MeshCount, but it does have 3 meshes that have 1489, 1357, and 411 vertexes each. Instead it has a WaterMeshCount.

Image

This is modeled in Physis but not for clients - clients can only see the normal mesh_index and mesh_count through Lod.parts

pub parts: Vec<Part>,
. Parsing logic here:
..model.lods[i as usize].mesh_index + model.lods[i as usize].mesh_count

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions