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

What are these red borders in the atlas? #183

Open
mali-tintash opened this issue Oct 8, 2021 · 2 comments
Open

What are these red borders in the atlas? #183

mali-tintash opened this issue Oct 8, 2021 · 2 comments

Comments

@mali-tintash
Copy link

So I've been playing with the code. I've made a lot of changes to the code understand some concepts. And I didn't notice until just recently that the atlas being formed has these "Red" borders around the rects.
It's not there in the original code. But since there are a lot of changes in my version, I am unable to trace where this could be coming from.
Any pointers ?
atlas1_material0000_map_Kd

@18892021125
Copy link

generate_texture_patches().cpp/generate_candidate(),
byte_image = mve::image::crop(view_image, width, height, min_x, min_y, *math::Vec3uc(255, 0, 255));
(255.0.255)is pink,

@mali-tintash
Copy link
Author

generate_texture_patches().cpp/generate_candidate(), byte_image = mve::image::crop(view_image, width, height, min_x, min_y, *math::Vec3uc(255, 0, 255)); (255.0.255)is pink,

But is the border supposed to be visible? I didn't notice it in the atlases generated using original code.

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

No branches or pull requests

2 participants