Spherical texture mapping


Spherical texture mapping
#1
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?
Reply
RE: Spherical texture mapping
#2
Here is the first spherical texmap we made
https://forums.ldraw.org/thread-24132-po...l#pid38344

And the parts are here
https://www.ldraw.org/cgi-bin/ptscan.cgi...ope=header
Reply
RE: Spherical texture mapping
#3
(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.


.ldr   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.
Reply
RE: Spherical texture mapping
#4
(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.
Reply
RE: Spherical texture mapping
#5
(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.
Reply
RE: Spherical texture mapping
#6
(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
Reply
« Next Oldest | Next Newest »



Forum Jump:


Users browsing this thread: 1 Guest(s)