Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 4903 / 5574

July 9, 2008, 21:07 (GMT)
Draw node index
Retargetting, go to higher levels no nodes when no match is found
Fix bug in exterme threshold external filtering
July 9, 2008, 19:44 (GMT)
Multi resolution retargetting. Go back to lowest level on shared nodes.
July 9, 2008, 19:43 (GMT)
Add raycast ability for BLI_kdopbvh

small bvh fixes:
*allow to create any tree type >= 2
*save split axis

changed shrinkwrap to perform normal cast with raytree and bvh tree and print both times:

Shrinkwrap (OBCube)24578 over (OBSuzanne)504482
target = raytree_create_from_mesh(calc->target): 1260.000000ms
shrinkwrap_calc_normal_projection_raytree(&calc): 1850.000000ms
tree = bvhtree_from_mesh_tri(calc->target): 3330.000000ms
shrinkwrap_calc_normal_projection(&calc): 3780.000000ms

On general query time is bit smaller on bvh tree..
but the build time of bvh is pretty big.
(build time can be removed from both if a cache system is added)
But I am still trying to see how fast I can make the bvh build
July 9, 2008, 19:15 (GMT)
[#17298] surface normal direction compensation for objects with negative scale in rendering with radiosity
from Roelf De Kock (kiemdoder)

Fixes bug [#7969] Mirroring Object Breaks Radiosity Calculations

- copied from the tracker.
The code in this patch detects whether an object has negative scale (test the OB_NEG_SCALE bit in Object.transflag)
and then compensate for the negative scale when the surface normals are calculated for a radiosity render.

July 9, 2008, 18:36 (GMT)
Fix external arc merging bug (could mess up node degrees)
Revision 12c128a by Ben Batt
July 9, 2008, 15:54 (GMT)
Fixed bug #14510 - wave modifier crash

CDDM_apply_vert_coords needs a CDDerivedMesh, but it was getting a
CCGDerivedMesh from the preceding Subsurf modifier. This fix just makes
a CDDerivedMesh copy of the supplied DerivedMesh rather than using it directly.
July 9, 2008, 15:30 (GMT)
bugfix, vector was not checked for zero length before normalizing, closing blender instantly with an assert.
July 9, 2008, 15:25 (GMT)
Buhh... and now I left in testing print in exr code.

July 9, 2008, 13:12 (GMT)
Replaced strcasecmp with BLI_strcasecmp, to make msvc happy!


July 9, 2008, 10:51 (GMT)
Fix for reported openexr file reading failures.

For simple RGB(A) files, the channel names in openexr were supposed
to be simply "R" "G" "B" and "A" too.
Other programs like other names... like lower case, or like "ambient.r"

Tested with file from renderman.

July 9, 2008, 10:13 (GMT)

Fix for bugfix #12075: gamma node check for nan was always
checking red channel.

July 9, 2008, 09:21 (GMT)
added a factor argument for aligning to vector, this isn't correct since it does linear interpolation of the vector and renormalizes.
(can be improved to rotate correctly but for our use ist ok for now, would also be useful to have an argument to clamp the maximum rotation angle to get a constant rotation speed),

This will used to make franky upright when falling from an angle, to track to a surface when hanging onto a ledge and setting the glide pitch.
Without this rotation is instant and jerky.

currently this is done with Mathutils which isnt available in Blender Player.

def do_rotate_up(own):
own.alignAxisToVect([0,0,1], 2, 0.1)

replaces...

def do_rotate_up(own):
up_nor = Vector(0,0,1)
own_mat = Matrix(*own.getOrientation()).transpose()
own_up = up_nor * own_mat
ang = AngleBetweenVecs(own_up, up_nor)
if ang > 0.005:
# Set orientation
cross = CrossVecs(own_up, up_nor)
new_mat = own_mat * RotationMatrix(ang*0.1, 3, 'r', cross)
own.setOrientation(new_mat.transpose())


M source/gameengine/Ketsji/KX_GameObject.cpp
M source/gameengine/Ketsji/KX_GameObject.h
July 9, 2008, 08:24 (GMT)
soc-mx-2008: SWIG dependency - wrapper functions extracted from ModuleWrapper.cpp
July 9, 2008, 00:58 (GMT)
exiting wasnt working (was raising errors), also use dict.keys() rather then appending from iteritems,
July 8, 2008, 22:55 (GMT)
soc-2008-mxcurioni: first (blank) file upload for SWIG removal, in source/blender/freestyle/intern/python. The migration will be based on source/blender/freestyle/intern/swig/ModuleWrapper.{cpp,h}
July 8, 2008, 22:43 (GMT)
fix for crasher with touch sensor, ben you may want to look at this, should be ok since the ray sensor does NULL checks in for getNewClientInfo in a similar area.
July 8, 2008, 19:34 (GMT)
Rename some struct members to reduce confusion
Proper flag clearing for retarget on multi resolution
July 8, 2008, 17:57 (GMT)
bugfix - GameEngine PyObject methods did not all return when using dir(), because inherited methods were ignored, This made it incredibly annoying, not only having to search a C++ file to see what functions were available. but looking up methods inherited from other C++ classes.
There is still no __members__ attribute so dir() wont work at all for attributes.
July 8, 2008, 17:38 (GMT)
Introduced quality to GUI, not yet tested (WIP commit)
July 8, 2008, 17:04 (GMT)

Fix for crash in freeing group nodes, node trees have to be freed
before materials.

Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021