Complete Cylinder Hemisphere 61287pb002 and 61287pb001 (Earth map / Globe)


RE: Cylinder Hemisphere 61287pb002 and 61287pb001 (Earth map / Globe)
#39
(2021-02-08, 0:12)Travis Cobbs Wrote: The RGB in the PNG doesn't match any current color in LDConfig.ldr

Slightly off topic:

I've been thinking about supporting mapped pngs'  in LDCad, meaning using the combined RGBA color space as found in the decoded png as an LDraw number.

You could then map those numbers to the LDConfig RGBA defs before sending the raw image data to OpenGL.

Only real problem is how a renderer would know when to apply this.

Possible solution would to only allow <1024 colors, and apply this translation only if all RGBA pixel (uint) values are <1024
Reply
« Next Oldest | Next Newest »



Messages In This Thread
RE: Cylinder Hemisphere 61287pb002 and 61287pb001 (Earth map / Globe) - by Roland Melkert - 2021-02-08, 1:45

Forum Jump:


Users browsing this thread: 1 Guest(s)