New Parts for LGEO Library


Re: New Parts for LGEO Library
#96
Your solution doesn't work for all the *other* colors though. How is lg_color_slope.inc going to help for colors like this (from LP3 output):

Code:
//// Color 46 Trans_Yellow (from lg_color.inc)
#ifndef (L3Texture46)
#declare L3Texture46 = texture { lg_clear_yellow }
#end
#ifndef (L3Texture46_slope)
#declare L3Texture46_slope = L3TextureSlope(L3Texture46)
#end
#ifndef (L3Color46)
#declare L3Color46 = L3MaterialT(L3Texture46)
#end
#ifndef (L3Color46_slope)
#declare L3Color46_slope = L3MaterialT(L3Texture46_slope)
#end


//// Color 4 Red (from lg_color.inc)
#ifndef (L3Texture4)
#declare L3Texture4 = texture { lg_red }
#end
#ifndef (L3Texture4_slope)
#declare L3Texture4_slope = L3TextureSlope(L3Texture4)
#end
#ifndef (L3Color4)
#declare L3Color4 = L3Material(L3Texture4)
#end
#ifndef (L3Color4_slope)
#declare L3Color4_slope = L3Material(L3Texture4_slope)
#end


//// Color 14 Yellow (from lg_color.inc)
#ifndef (L3Texture14)
#declare L3Texture14 = texture { lg_yellow }
#end
#ifndef (L3Texture14_slope)
#declare L3Texture14_slope = L3TextureSlope(L3Texture14)
#end
#ifndef (L3Color14)
#declare L3Color14 = L3Material(L3Texture14)
#end
#ifndef (L3Color14_slope)
#declare L3Color14_slope = L3Material(L3Texture14_slope)
#end

So you're creating three different sets of colors because you don't want to stick with the existing standard?
Reply
« Next Oldest | Next Newest »



Messages In This Thread
New Parts for LGEO Library - by Damien Roux - 2015-04-28, 0:14
Re: New Parts for LGEO Library - by Gerhard - 2015-05-27, 20:43
Re: New Parts for LGEO Library - by Gerhard - 2015-05-28, 16:04
Re: New Parts for LGEO Library - by Gerhard - 2015-05-29, 17:05
Re: New Parts for LGEO Library - by Michael Horvath - 2015-09-21, 20:20
RE: New Parts for LGEO Library - by Zoltan - 2020-04-25, 0:57
RE: New Parts for LGEO Library - by Zoltan - 2020-04-25, 23:21
RE: New Parts for LGEO Library - by Ber - 2020-10-21, 1:31
RE: New Parts for LGEO Library - by Tomasz - 2022-01-02, 21:37

Forum Jump:


Users browsing this thread: 19 Guest(s)