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?
(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.
[
attachment=7683]
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.
(2022-03-16, 16:25)Travis Cobbs Wrote: [ -> ] I don't know the copyright status of the moon.png
If it's a work created by the US Government, of which NASA is a part, then it's by law in the public domain.
(2022-03-16, 16:29)Orion Pobursky Wrote: [ -> ]If it's a work created by the US Government, of which NASA is a part, then it's by law in the public domain.
I don't know where I got the file that I was using locally. I suspect it came from NASA, but I don't know that for sure.
(2022-03-16, 16:25)Travis Cobbs Wrote: [ -> ]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.
Oh, that must be the reason, I had LDView 4.3. Updating to 4.4 fixed the problem, thanks