

5.10 Previewing Models (viewmesh)


Commandline Options



This example requires some explanation. First we use the ‘-R’ option to take our game data archive and mount that to ‘/tmp/viewmesh’. Then we use the ‘-C’ option to go inside the ‘objects/actor’ directory that is inside that ZIP archive. And finally we load the actual model that is still in a deeper directory called ‘factories/genActor’. This example demonstrates how it can be useful to have good control over the current directory in VFS. Usually with models exported from blender2crystal there will be a ‘factories’ and a ‘textures’ directory. So you want the current directory to be the parent of those so that the model can reference textures like ‘textures/bla.jpg’.

User Interface



This document was generated using texi2html 1.76.