RosaryMala / armok-vision

A 3d realtime visualizer for Dwarf Fortress
MIT License
320 stars 27 forks source link

Some assets not loading? #45

Open clickworkorange opened 7 years ago

clickworkorange commented 7 years ago

Having some difficulty getting AV to show my meshes... At first I thought there was a problem with having replaced the StreamingAssets folder from the release installation I have of AV with a checkout of my fork, but as you can see both a bed and a door do appear with their meshes. Then I thought it might be that the nest box I created has some error which prevents it from loading (it shows up as a flat hexagon shape instead) - but a stock weapon stand also fails to load (shows as a flat screw press).

missing_meshes

RosaryMala commented 7 years ago

These are the item meshes, not the building meshes, which are set separately. It'd probably be a good idea to have some way of sharing the mesh, but right now, you need to actually construct the next box to see it.

For the non-constructed, item nest box, it should be set separately, with perhaps some difference to show that it's not placed properly.

RosaryMala commented 7 years ago

Also your building XML was nor formatted correctly. "BuildingMeshes" is only the root tag, and should be removed.

RosaryMala commented 7 years ago

Okay, I've fixed the issues I've found, here: 31c95d72f051fd25d33fcf2c8135528664f1c071

screenshot21 screenshot22

The nestbox looks good, but there seems to be an issue with the normals on the inside. It's also a bit small. Ideally, I'd like most buildings to approximately fit one tile, even if it's not realistically sized.