You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seems to generate TextureStage that differs from the default in a way that the compose does not apply. I've attempted to simply rename the texture stage generated by this converter to what the default is named ("default") but this does not work. I've had to recreate the TextureStage via TextureStage.getDefault() and then re-apply the sort, mode, texcoordName, and even the name. This worked.
A fix for the converter would be to use the TextureStage.getDefault() method of creating a TextureStage and then rename the texture stage to the index. Perhaps its also worth looking upstream to see why the constructor and the getDefault methods of creating TextureStages differ.
when running the demo script, press "Space" to see the working fix applied to the texture stage. Press "alt" to see what happens if you just rename the texture stage demo.zip
The text was updated successfully, but these errors were encountered:
UvScrollNodes do not apply to texture stages on GeomNodes generated by this converter. Demo is attached. Tested with Panda3D 1.10.14 using Python 3.10
This seems to be because UvScrollNodes only apply their texture matrix transform to the "default" TextureStage https://github.com/panda3d/panda3d/blob/adb92428856853019583f398d27c5d34e44a9343/panda/src/pgraphnodes/uvScrollNode.cxx#L119
The converter creates TextureStages via the
TextureStage(str)
constructor.panda3d-gltf/gltf/_converter.py
Line 770 in da1db08
This seems to generate TextureStage that differs from the default in a way that the compose does not apply. I've attempted to simply rename the texture stage generated by this converter to what the default is named ("default") but this does not work. I've had to recreate the TextureStage via
TextureStage.getDefault()
and then re-apply the sort, mode, texcoordName, and even the name. This worked.A fix for the converter would be to use the
TextureStage.getDefault()
method of creating a TextureStage and then rename the texture stage to the index. Perhaps its also worth looking upstream to see why the constructor and thegetDefault
methods of creating TextureStages differ.when running the demo script, press "Space" to see the working fix applied to the texture stage. Press "alt" to see what happens if you just rename the texture stage
demo.zip
The text was updated successfully, but these errors were encountered: