Blender Git Commit Log
Git Commits -> Revision f2f514d
Revision f2f514d by Ton Roosendaal (master) January 7, 2004, 20:29 (GMT) |
Fix for cube map error subsurf. - cubemap relied on pointer to MFace, which is only available for Mesh when directly converted to renderfaces. It then checked the 'puno' flag where also bits were set to indicate the optimal projection for a face (XY, XZ or YZ). - I found out the renderface also has a puno flag, so the mface pointer in a renderface is redundant. Is removed now - added code in texture cubemap call, which checks on a projection flag in 'puno'. If not set, it uses the orco's to calculate one. - this means, that cubemap now also works for other objects than meshes, provided they have an orco block while render. - if no orco block available, it uses the 'global' projection to find which of the cube sides map. I couldnt find other errors with subsurf & orco though... |
Commit Details:
Full Hash: f2f514d1d432c8c3fd018f2b55ceb2555fbdf686
SVN Revision: 1859
Parent Commit: 7aeb986
Lines Changed: +30, -16
5 Modified Paths:
/source/blender/render/extern/include/render_types.h (+0, -2) (Diff)
/source/blender/render/intern/source/ray.c (+4, -2) (Diff)
/source/blender/render/intern/source/renderHelp.c (+2, -1) (Diff)
/source/blender/render/intern/source/texture.c (+21, -5) (Diff)
/source/blender/renderconverter/intern/convertBlenderScene.c (+3, -6) (Diff)
/source/blender/render/intern/source/ray.c (+4, -2) (Diff)
/source/blender/render/intern/source/renderHelp.c (+2, -1) (Diff)
/source/blender/render/intern/source/texture.c (+21, -5) (Diff)
/source/blender/renderconverter/intern/convertBlenderScene.c (+3, -6) (Diff)