[Bf-blender-cvs] [edad477] cycles-ptex-49: Increase Ptex default packing width
Nicholas Bishop
noreply at git.blender.org
Mon Feb 9 18:05:19 CET 2015
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
More information about the Bf-blender-cvs
mailing list