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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

ogt_vox: Merge materials #39

Merged
merged 3 commits into from
May 24, 2022
Merged

Conversation

jibjoub
Copy link
Contributor

@jibjoub jibjoub commented May 23, 2022

Add the materials of the scenes into the merge scene in ogt_vox_merge_scenes. I added the materials when the color of the master palette is added in previous update_master_palette_from_scene funtion

#38

PS: this is my first PR 馃檪

Add the materials of the scenes into the merge scene in ogt_vox_merge_scenes. I added the materials when the color of the master palette is added in previous update_master_palette_from_scene funtion
Remove the const on the cameras of the ogt_vox_scene
This reverts commit cb38f7c.
@jpaver
Copy link
Owner

jpaver commented May 24, 2022

Looks great, thanks for the contribution. Currently palette matching considers only color (see find_exact_color_in_palette and find_closest_color_in_palette), so if you have two palette entries that are both orange but different materials, only one will be transmitted to the final palette. Feel free to take a stab at solving that if you're interested, otherwise no worries, I'll get to it later. Thanks again!

@jpaver jpaver merged commit d6f1fff into jpaver:master May 24, 2022
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.

None yet

2 participants