Commit: edad4778094ba19b6241128535064b689e6c9382
Author: Nicholas Bishop
Date:   Mon Feb 9 18:04:51 2015 +0100
Branches: cycles-ptex-49
https://developer.blender.org/rBedad4778094ba19b6241128535064b689e6c9382

Increase Ptex default packing width

===================================================================

M       extern/ptex/BPX_packed_layout.h

===================================================================

diff --git a/extern/ptex/BPX_packed_layout.h b/extern/ptex/BPX_packed_layout.h
index 015c3fc..ad8ea08 100644
--- a/extern/ptex/BPX_packed_layout.h
+++ b/extern/ptex/BPX_packed_layout.h
@@ -56,7 +56,7 @@ struct BPXPackedLayout {
 
                // Decide on output width, TODO(nicholasbishop): extremely
                // arbitrary for now
-               width = std::max(u_max_res + 2, 1024);
+               width = std::max(u_max_res + 2 * border, 4096);
 
                // For now only packing mipmap level zero

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to