Changes between Version 7 and Version 8 of PluginMenu
- Timestamp:
- Nov 19, 2012, 5:37:22 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PluginMenu
v7 v8 20 20 Morphanalyser uses Factories to specify the way that the 3D objects are loaded and rendered. The default Factory (installed by default) is DefaultObjectGeometryFactory. It makes Morphanalyser load a geometry and render it with only one texture which is supposed to be in the same directory than the object and having the same base name (for example, if we want to open an object whose name is "face.obj", its corresponding texture must be located in the same directory, with the name "face.jpg" or "face.bmp"). 21 21 22 There is another Factory that can be used for multitexture rendering ( MultiTextureObjectGeometryFactory ). 22 There is another Factory that can be used for multitexture rendering ( MultiTextureObjectGeometryFactory ). It is included in the MorphAnalyserPlugins (so if MorphAnalyserPlugins.jar is added as plugin, another factory will appear in the Factories submenu : MultiTextureObjectGeometryFactory ). It implements a bump mapping rendering technique which requires 4 normals maps (red, green, blue and specular) and 2 textures (diffuse and specular). If selected the folder containing the object to open must contain as well a text file with the same base name than the object and the extension ".multi" that says where to find the different normal maps and texture (in the following order: red normal map, green normal map, blue normal map, specular normal map, specular texture and diffuse texture). 23 23 24 24 '''Writing Batchable and Plugin classes'''