Spherical texture mapping - Printable Version +- LDraw.org Discussion Forums (https://forums.ldraw.org) +-- Forum: General (https://forums.ldraw.org/forum-12.html) +--- Forum: General LDraw.org Discussion (https://forums.ldraw.org/forum-6.html) +--- Thread: Spherical texture mapping (/thread-26122.html) |
Spherical texture mapping - Max Murtazin - 2022-03-16 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? RE: Spherical texture mapping - Magnus Forsberg - 2022-03-16 Here is the first spherical texmap we made https://forums.ldraw.org/thread-24132-post-38344.html#pid38344 And the parts are here https://www.ldraw.org/cgi-bin/ptscan.cgi?q=61287p&scope=header RE: Spherical texture mapping - Travis Cobbs - 2022-03-16 (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. RE: Spherical texture mapping - Orion Pobursky - 2022-03-16 (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. RE: Spherical texture mapping - Travis Cobbs - 2022-03-16 (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. RE: Spherical texture mapping - Max Murtazin - 2022-03-16 (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 |