7d63a1f277908cc5a5c6c32c38de93a3e1aba41c
Blender.NMesh.GetRawFromObject through a displist conversion method as used by Blender when converting them in the UI. Notes: Objects with only edges (3D curves/polyline without bevel) do not have normals, so they are all initialised to (1, 0, 0) on conversion Converting from meta objects only work on the "mother ball". That is, the object with the lower base name. Example: "meta" for all the "meta.*" objects. Meshes extracted from curve based objects (Font/2D filled curves) contain both the filled surfaces and the outlines of the shapes. Materials are taken from the object's material list. Material handling in NMesh is incorrect anyway, as it always uses the materials from the mesh, ignoring the setting in ob->colbits. This patch also makes the include order a little clearer. A couple of warnings have been fixed by using better types: - Using char instead of short when parsing color values. The "constructor" expects and uses char anyway. - Explicit casting to short when storing normals back in mvert. - Changing constant doubles to floats with "f" to make compiler happy. The only warning left regards NMFace.flag which is stored as a short but is used to fill in TFace.flag which is a char. I didn't want to change the object's structure so I left it like that. I didn't add an explicit cast when putting it back in TFace so that the warning can remind us that there might be something to change there.
Welcome to the fun world of open source. For instructions on building and installing Blender, please see the file named INSTALL. ---------------------.Blanguages and the .blender directory--------------------- The .blender directory holds various data files for Blender. In the 2.28a release those are the .Blanguages file containing a list of translations, the translations themselves and a default ttf font. Blender checks for the presence of this directory in several locations: - the current directory - your home directory - On OSX, the blender bundle is also checked - On Windows, the installation dir is checked. If you get a 'File ".Blanguages" not found' warning, try to copy the .blender dir to one of these locations (your home directory being recommended). -------------------------------------Links-------------------------------------- Getting Involved: http://www.blender.org/docs/get_involved.html Community: http://www.blender3d.org/Community/ Main blender development site: http://www.blender.org/ The Blender project homepage: http://projects.blender.org/projects/bf-blender/ Documentation: http://www.blender.org/modules.php?op=modload&name=documentation&file=index Bug tracker: http://projects.blender.org/tracker/?atid=125&group_id=9&func=browse Feature request tracker: http://projects.blender.org/tracker/?atid=128&group_id=9&func=browse
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%