Re: JavaFX 3D Feature request: Ability to set texture wrap mode for PhongMaterial

2024-06-09 Thread Nir Lisker
Hi Risto, There is some work on this already here: https://github.com/openjdk/jfx/pull/1281. I didn't have time to continue with it, so it was auto-closed. To answer your points specifically: Hi, sometimes it is useful to clamp texture coordinates that exceed the > normal 0-1 range, however curre

JavaFX 3D Feature request: Ability to set texture wrap mode for PhongMaterial

2024-06-08 Thread Risto Vaher
Hi, sometimes it is useful to clamp texture coordinates that exceed the normal 0-1 range, however currently the default behaviour is to repeat them and there is no way to configure it. It would be useful to have a TextureWrap property in the PhongMaterial class that would have options like REPEAT,