Skip to content

removed UV bounds check#63

Open
kyavichev wants to merge 1 commit intocnr-isti-vclab:masterfrom
ubiquity6:kon/out_of_bounds_uv_fix
Open

removed UV bounds check#63
kyavichev wants to merge 1 commit intocnr-isti-vclab:masterfrom
ubiquity6:kon/out_of_bounds_uv_fix

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