Blender Git Commits

Blender Git "master" branch commits.

Page: 5194 / 5574

July 28, 2006, 09:57 (GMT)
removing this uv relax python script until it has better all round results.
July 28, 2006, 09:27 (GMT)

fixed stupid error in flt_import (only allowed 15 materials, not 16)
added an option to Bake From UV's - Selected Faces Only
July 28, 2006, 08:59 (GMT)
fixed flt_import problem adding materials to the mesh, made untextured faces not go pink.
removed mesh_bbrush, Not worth maintaining anymore with recent developments.
July 28, 2006, 08:17 (GMT)

Much needed update to flt_import.py
* NMesh to Mesh
* Optimized vertex importing
* Import NGons properly and make them blender FGons
* lots of other small updates

image_bake_from_uvs - ignore meshes without faceUV's
July 28, 2006, 07:08 (GMT)
faces faces added had vertex colors set to black.
use default_tface(tface) on all extended faces when tfaces exist.
July 28, 2006, 02:51 (GMT)
added a slot in the uv/image's "Image" menu for pyscripts.
July 28, 2006, 02:38 (GMT)

removed kloputils, was too old/broken/messy to maintain- functionality needs to be split into a number of scripts.
bvh2arm was for importing empties in a BVH, direct bvh armature import should be good for next release. and Iv removed the Old bvh importer anyway.

Will add a slot in the imaeg meny for image scripts, renamed scripts to go there.
July 28, 2006, 02:08 (GMT)
renamed texture baker to "Bake Image from UVs"
Added options to use material colors (can be multiplied with vcol)
Added wire option for UV Export type functionality. (implys no bleeding)
Added Option to render with no oversampling
changed alpha blending
July 28, 2006, 00:56 (GMT)

Image Paint:

- Code for brush spacing and timing was rewritten, making spacing more even.
Example: http://users.pandora.be/blendix/brush_spacing.jpg
- Instead of Stepsize for regular brushes and Flow for airbrushes, there is
now Spacing for both, and Rate for airbrushes.
- Airbrush now works more like it does in the Gimp now, by maintaining the
spacing even if the brush moves faster than the painting rate.

- Some preparations to make brushes work in texture paint mode.
July 27, 2006, 17:29 (GMT)

uv_vcol_to_image.py
Added optional support for baking more then 1 unique mesh objects at once.
July 27, 2006, 14:17 (GMT)
Moved this importer to the Mesh module and dropped meshtools dep's
Now imports ngons as fgons and dosent mess up with '#' comments at the start of the file.
July 27, 2006, 12:23 (GMT)
Updated epydocs to reflect changes in the API
Also made links to wikipedia pages explaining what a these functions do mathamaticaly
July 27, 2006, 03:15 (GMT)
updated py scripts for changes in mathutils
July 27, 2006, 02:33 (GMT)
matrix .inverted() and .transposed() didnt work because the matrix was wrongly copied.
2 more memory leaks in matrix multiplication fixed.
July 27, 2006, 01:18 (GMT)
Addition to Mathutils
vec.normalized()
mat.inverted()
mat.transposed()
made vec/float possible

normalize/invert/transpose now return None because they modify the data in place.
use the ...(ed) versions to return a modified copy.


Fixed Memory leaks from not decreffing PyFloat_AS_DOUBLE from these python functions...
(found when testing above functions)
ob.rbMass
ob.rbRadius
matrix.determinant()
quat*float
vec*float
matrix.transpose()
EXPP_setModuleConstant

Checked all instances of PyFloat_AS_DOUBLE so I dont think there are any mroe leaks there.
July 26, 2006, 22:29 (GMT)

Brush Datablock:

- Added a new Brush datablock, only used by image paint, but intended
to be used in texture paint, vertex paint, weight paint and sculpt
mode also.
- Being a datablock, these brushes can be saved, appended and linked.
They have a fake user by default, to make sure they are saved even if
not selected.

Image Painting:

- Replaced the img module with C code in imagepaint.c
- Airbrush is no longer a separate tool, but rather an option that can
be used for soften, smear and clone also.
- Blend modes mix, add, subtract, multiply, darken and lighten have been
added, code taken directly from vertex paint.

Note to project files maintainers:

- The img module was removed from SCons and Makefiles, and this should
be done in other build systems also. I'll wait to remove the module
from cvs, to not break compilation.
July 26, 2006, 17:43 (GMT)
10-20% speedup with better logic and limit the cache size for box intersections.
July 26, 2006, 12:54 (GMT)
removed the now unneeded resize4d operation for instant 2.43 incompatability. :/
Revision 1df2871 by Ken Hughes
July 26, 2006, 12:34 (GMT)


===Python API===
Multiplication of 3D vectors by 4x4 matrices converts the vector to 4D but
did not make the vector homogenous. Fixing that so the translation part of
the matrix will also be applied.
July 26, 2006, 11:39 (GMT)
removed reload,
BPyRender accedentaly left the scene rather then removing it.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021