Using 3D Models
From RexWiki
Supported 3D Model formats
At the moment only Ogre3D rendering engine's .mesh format is supported.
How to use 3D model in a prim
- In the realXtend viewer, upload the .mesh file into the world (if you don't have a 3D model handy right now, there are some examples in the example_assets directory), from the File menu -> Upload 3D Model. Choose a descriptive name and press Upload.
- Note that the 3D model appears into your inventory in the folder "3D Models".
- Now you can create a prim that shall become the 3D model.
- Edit the created object, and choose the reX subpanel of the object editing window.
- Drag & drop the uploaded 3D model from your inventory into the Mesh Name combo-box, and the prim should transform into the 3D model.
- Upload textures for the 3D model as necessary; go through the Material Index selector and select a texture for each index by using the Material Name combo-box. Of the example 3D models, the rock & the fireplace have only 1 submesh and therefore only 1 texture, but birch.mesh has 2: one for the trunk and one for the branches & leaves.
- NOTE: the less there are submeshes/textures per model, the better for rendering performance. 8 is the upper limit in realXtend; if there's more submeshes, one cannot set the textures for them, and they will be untextured.
|