Random06457 / Z64Utils

WIP tool to parse and view various files and structures in Zelda 64 ROMs.
MIT License
17 stars 8 forks source link

[DList Viewer] Add "Show Coordinates" feature #47

Open Dragorn421 opened 3 years ago

Dragorn421 commented 3 years ago

Many actors use hardcoded coordinates in model space

For example boss gohma from oot: https://github.com/zeldaret/oot/blob/d95639b993f94a924d2ab66e15efc32fb633c669/src/overlays/actors/ovl_Boss_Goma/z_boss_goma.c#L2038

It would be helpful to have a "Show Coordinates" button in the Display List Viewer where you can input x,y,z coordinates, and it creates some kind of marker at that spot (possibly focusing the camera on it too)

The same thing could be useful in Skeleton Viewer, with the added option of attaching the marker to a limb so it is deformed with the skeleton

Another example with oot's bombchu actor https://github.com/zeldaret/oot/blob/ed78d18a256ae941d2e821b14e17fb558703775d/src/overlays/actors/ovl_En_Bom_Chu/z_en_bom_chu.c#L361 This is how I investigate these currently within Blender (note: Blender's coordinate system is +z up, not oot's +y up) ![](https://421.es/doyu/24m1r3)