Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removed UV bounds check #63

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kyavichev
Copy link
Contributor

say we have a tri with 3 verts that have these uvs:
[0.9, 0.95], [0.95, .9], [1.05, 1.05]
Currently nexus will adjust those UVs to be
[0.9, 0.95], [0.95, .9], [0.05, 0.05]
Which will look like we are dealing with a tri that spans most of the texture, which is incorrect

say we have a tri with 3 verts that have these uvs:
[0.9, 0.95], [0.95, .9], [1.05, 1.05]
Currently nexus will adjust those UVs to be
[0.9, 0.95], [0.95, .9], [0.05, 0.05]
Which will look like we are dealing with a tri that spans most of the texture, which is incorrect
@kyavichev
Copy link
Contributor Author

kyavichev commented Nov 7, 2019

OUT_test_13

Here is the sample texture generated by nexus. Notice thin strips of data on the right and top edges. Our input texture was 8192 and we have a mesh that has UV coords slightly out of bounds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant