Comments (3)
See the wiki:
gutter: The minimum distance, in texels between two charts on the atlas. This gets scaled by the width, so if gutter is 2.5, and it is used on a 512x512 texture, then the minimum distance will be 2.5 / 512 in u-v space.
from uvatlas.
I saw the wiki, but I wrote here as that is not enough. So now it is clear this is an issue and not a misunderstanding. How is anybody able to add any extra pixels around the charts (for bilinear interpolation, etc) if they extend to the image limits??? The gutter should be between charts but ALSO between charts and the image limits! the only option now is to give you a smaller image resolution, and after your lib to shift all texture coordinates!!! Possible, but not too smart, right?
from uvatlas.
And after looking into the code trying to fix it myself, it turns out even the documentation is wrong, 2 mistakes:
- it can not be a float value like 2.5, as the first thing that happens inside the lib is to convert it to int
- second the empty space seems to be 2*gutter (as it should be normal actually) and not just gutter as in the docs
- and for completeness, no gutter between the charts and image limits
from uvatlas.
Related Issues (20)
- GCC Wstringop-overflow warnings HOT 7
- Issues building static library with vcpkg HOT 1
- Support macos? HOT 1
- loading an obj doesnt work HOT 10
- Why 2 partitions in 1 iteration?
- Export UV map in Numpy format
- Why the number of vertices is increased? HOT 5
- How to make consistent UV atlases? HOT 1
- Retire VS 2017 support HOT 1
- ARM64 version of uvatlastool HOT 2
- UVAtlas exe stuck on 33.3% HOT 1
- How to compile UVAtlasTool under linux? HOT 4
- Why divided by f3dArea in IMT computation? HOT 1
- How to flatten a partitioned 3D mesh onto 2D UV map? HOT 17
- Non-deterministic UVAtlas parameterization HOT 4
- vertex correspondences saved in _map.txt look incorrect HOT 8
- uvatlastool generates additional vertices with already-unique faces HOT 2
- How to use the new texture coordinates (UV) generated by UVAtlas to render the 3D object? HOT 3
- [problem] UV triangles will overlap/conflict HOT 2
- Retire legacy Xbox One XDK support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uvatlas.