-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Texture.load() doesn't trigger mipmap generation #2132
Labels
defect
Something that is supposed to work, but doesn't. Less severe than a "bug"
Milestone
Comments
You are right, this is what caused incorrect texture filtering + mipmapping results when rendering j3o. I tested it locally. see:https://hub.jmonkeyengine.org/t/gltf-to-j3o-texture-filtering-issue/47197/73 |
JohnLKkk
added a commit
to JohnLKkk/jmonkeyengine
that referenced
this issue
Oct 27, 2023
JohnLKkk
added a commit
to JohnLKkk/jmonkeyengine
that referenced
this issue
Oct 27, 2023
…ng textures embedded in j3o)
JohnLKkk
added a commit
to JohnLKkk/jmonkeyengine
that referenced
this issue
Oct 27, 2023
I have fixed it here:#2134 |
stephengold
changed the title
Texture.java setMinFilter() contains glued code should be also executed by texture.read()
Texture.load() doesn't trigger mipmap generation
Oct 27, 2023
stephengold
added
the
defect
Something that is supposed to work, but doesn't. Less severe than a "bug"
label
Oct 27, 2023
stephengold
pushed a commit
that referenced
this issue
Oct 30, 2023
riccardobl
pushed a commit
that referenced
this issue
Nov 9, 2023
* Fixes Issue #2132 * jme3-core:Adding support for Specular-AA * jme3-core:del Specular_Anti_Aliasing2 * jme3-core:update Specular_Anti_Aliasing * jme3-core:update Specular_Anti_Aliasing * jme3-core:add MatParam:Sigma,Kappa * jme3-terrain:Adding support for Specular-AA * jme3-core:update PBRLighting.j3md(with SpecularAA) * jme3-terrain:update PBRTerrain.j3md(with SpecularAA) * jmee-core:remove the "f" suffix * jmee-terrain:remove the "f" suffix * jme3-core:Updated parameter names in PBRLighting.j3md * jme3-terrain:Updated parameter names in PBRTerrain.j3md/AdvacedPBRTerrain.j3md * jme3-core:Updated macro definitions in PBRLighting.j3md * jme3-terrain:Updated macro definitions in PBRTerrain.j3md/AdvancedPBRTerrain.j3md --------- Co-authored-by: chenliming <liming.chen@yingxiong.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
initially: Simsilica/JmeConvert#4
I still might be wrong, but it seems like an issue.
Texture.java
That is executed always first time by:
GLTFLoader execute it second time for setting proper filtering by:
BUT J3O importer when using texture.read capsule do not execute it second time, causing not setting proper bollean for generateMipMaps.
Here is texture.read:
and after setting minificationFilter this do not execute same glued code as setMinFilter() do.
The text was updated successfully, but these errors were encountered: