(2022-03-16, 14:50)Max Murtazin Wrote: Hello everyone! I am having trouble with understanding how spherical texture mapping in LDraw works. I tried to use both guide from the specifications and also looking for some examples on the forum, but for some reason neither are willing to show up after I load them in any LDraw viewer. Is spherical mapping broken, or I might be missing something?
Spherical textures support was added to LDView in version 4.4. As far as I know they are also supported by LDCad. Not sure what other viewers support it.
The attached moon.ldr works in LDView as long as it can fine a moon.png file. I don't know the copyright status of the moon.png that I used for my testing, so I'm not going to attach it here.
moon.ldr (Size: 503 bytes / Downloads: 2)
You can find a moon texture here:
https://svs.gsfc.nasa.gov/4720
Right click on the image and then select "Save image as" (or whatever your browser's equivalent it). Then convert the file to PNG and save it as moon.png, saved in the same directory as moon.ldr.