-
Notifications
You must be signed in to change notification settings - Fork 74
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
Prefer RGBA over CI toggle for automatic texture format #299
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
def getOptimalFormat(tex, curFormat, isMultitexture):
texFormat = "RGBA16"
if isMultitexture:
return curFormat
If you are adding a multi-texture, and one texture is already set, the optimal texture format of the second one is curFormat
unless the other texture is in opposition to the current format, in which case the optimal format is CI or whatever this function returns.
A CI multi-texture must use another CI texture and likewise an RGBA/Intensity texture must NOT use a CI texture.
I would also say that it is best if when choosing a new texture in a multi-texture, that it optimally chose the correct format between available options. If I swap between a color or intensity option, I would prefer if the texture format automatically updated. The only restriction is that I can't use a CI.
Wait why?? curFormat is just the format of the not updated texture format |
Currently it returns curFormat universally while making a multi-texture. This is fine but not under the circumstances I laid out before. I said optimal but really it isn't per se, I more meant that it was a valid return. |
Is this PR waiting on anything? (for what specifically?) If just waiting for lila to answer np I don't mean to rush you. Just want to make sure we're not in a confusingly-waiting-each-other deadlock scenario also bump again for the |
Invert the logic, account for multi texture, hopefully improve code, toggle to skip auto pick, better descriptions (i think)
Shouldn't the |
Oh yeah good call |
put anim range above texture format settings, dynamic ui, reduced repetition of context.scene.fast64.settings
Is there anything else missing @jesusyoshi54 ? |
I'll review tonight. First glance looks good |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok this is very nice I like a lot good job lila you are the best
Suggested by a ton of people.
Kinda of inconvenient for people who care about performance but with repo settings files (see settings rework pr) it will be no issue for anyone who cares.