Blender Git Loki
Git Commits -> Revision 0797532
Revision 0797532 by Dalai Felinto (tile) January 4, 2012, 19:18 (GMT) |
MapUV Node - Tile This node requires an EWA filter to read the final value. In COM_MemoryBuffer.cpp I copied the functions from texture.c The reason for copying and not re-using from a header is to allow for further refactoring. Basically the codes should be independent. The EWA happens automatically when you call the read function with two extra arguments (dx and dy, calculated from a differential filter pass before in the operation). Good news, the result works better than trunk. In trunk the edges of the image get black, here it works all fine. |
Commit Details:
Full Hash: 079753252bad20807fd72801ea5fb2daa602278b
SVN Revision: 43140
Parent Commit: 02f17cf
Lines Changed: +494, -0
4 Added Paths:
/source/blender/compositor/nodes/COM_MapUVNode.cpp (+40, -0) (View)
/source/blender/compositor/nodes/COM_MapUVNode.h (+36, -0) (View)
/source/blender/compositor/operations/COM_MapUVOperation.cpp (+155, -0) (View)
/source/blender/compositor/operations/COM_MapUVOperation.h (+62, -0) (View)
/source/blender/compositor/nodes/COM_MapUVNode.h (+36, -0) (View)
/source/blender/compositor/operations/COM_MapUVOperation.cpp (+155, -0) (View)
/source/blender/compositor/operations/COM_MapUVOperation.h (+62, -0) (View)
7 Modified Paths:
/source/blender/compositor/CMakeLists.txt (+5, -0) (Diff)
/source/blender/compositor/intern/COM_Converter.cpp (+4, -0) (Diff)
/source/blender/compositor/intern/COM_MemoryBuffer.cpp (+168, -0) (Diff)
/source/blender/compositor/intern/COM_MemoryBuffer.h (+1, -0) (Diff)
/source/blender/compositor/intern/COM_SocketReader.h (+15, -0) (Diff)
/source/blender/compositor/operations/COM_ReadBufferOperation.cpp (+7, -0) (Diff)
/source/blender/compositor/operations/COM_ReadBufferOperation.h (+1, -0) (Diff)
/source/blender/compositor/intern/COM_Converter.cpp (+4, -0) (Diff)
/source/blender/compositor/intern/COM_MemoryBuffer.cpp (+168, -0) (Diff)
/source/blender/compositor/intern/COM_MemoryBuffer.h (+1, -0) (Diff)
/source/blender/compositor/intern/COM_SocketReader.h (+15, -0) (Diff)
/source/blender/compositor/operations/COM_ReadBufferOperation.cpp (+7, -0) (Diff)
/source/blender/compositor/operations/COM_ReadBufferOperation.h (+1, -0) (Diff)