LDView POV output


LDView POV output
#1
Some of my parts are written as having color "LDXColor60_slope", but this color is not defined anywhere in the POV file. What should I do in the meantime? Is there a workaround?

[edit]

This is the change to the POV code I did to fix it. Instead of this:

Code:
#ifndef (LDXSkipChromeColorMacro)
#macro LDXChromeColor(r, g, b)
#if (version >= 3.1) material { #end
    texture {
        pigment { rgbf <r,g,b,0> }
#if (LDXQual > 1)
        finish { ambient LDXAmb diffuse LDXDif }
        finish { phong LDXPhong phong_size LDXPhongS reflection LDXChromeRefl brilliance LDXChromeBril metallic specular LDXChromeSpec roughness LDXChromeRough}
#end
    }
#if (version >= 3.1) } #end
#end
#end


I did this:

Code:
#ifndef (LDXSkipChromeColorMacro)
    #macro LDXChromeColor(r, g, b)
        #if (version >= 3.1) material { #end
            texture {
                pigment { rgbf <r,g,b,0> }
        #if (LDXQual > 1)
                finish { ambient LDXAmb diffuse LDXDif }
                finish { phong LDXPhong phong_size LDXPhongS reflection LDXChromeRefl brilliance LDXChromeBril metallic specular LDXChromeSpec roughness LDXChromeRough}
        #end
            }
        #if (version >= 3.1) } #end
    #end
    #macro LDXChromeColor_slope(r, g, b)
        #if (version >= 3.1) material { #end
            texture {
                pigment { rgbf <r,g,b,0> }
        #if (LDXQual > 1)
                finish { ambient LDXAmb diffuse LDXDif }
                finish { phong LDXPhong phong_size LDXPhongS reflection LDXChromeRefl brilliance LDXChromeBril metallic specular LDXChromeSpec roughness LDXChromeRough}
                normal { bumps 0.3 scale 25*0.02 }
        #end
            }
        #if (version >= 3.1) } #end
    #end
#end

And then I did this:

Code:
#ifndef (LDXColor60) // Chrome Antique Brass
    #declare LDXColor60 = LDXChromeColor(0.392157,0.352941,0.298039)
    #declare LDXColor60_slope = LDXChromeColor_slope(0.392157,0.352941,0.298039)
#end
Reply
« Next Oldest | Next Newest »



Messages In This Thread
LDView POV output - by Michael Horvath - 2014-01-05, 21:26
Re: LDView POV output - by Stephen - 2014-01-06, 20:54
Re: LDView POV output - by Travis Cobbs - 2014-01-06, 21:28
Re: LDView POV output - by Michael Horvath - 2014-01-06, 23:44
Re: LDView POV output - by Travis Cobbs - 2014-01-07, 0:11
Re: LDView POV output - by Michael Horvath - 2014-01-07, 0:17
Re: LDView POV output - by Travis Cobbs - 2014-01-07, 18:20
Re: LDView POV output - by Michael Horvath - 2014-01-07, 18:49
Re: LDView POV output - by Michael Horvath - 2014-01-07, 23:51
Re: LDView POV output - by Travis Cobbs - 2014-01-08, 0:44
Re: LDView POV output - by Michael Horvath - 2014-01-08, 1:13
Re: LDView POV output - by Travis Cobbs - 2014-01-08, 5:40
Re: LDView POV output - by Michael Horvath - 2014-01-09, 21:01
Re: LDView POV output - by Travis Cobbs - 2014-01-09, 22:55
Re: LDView POV output - by Steffen - 2014-01-15, 1:11
Re: LDView POV output - by Michael Horvath - 2014-01-15, 6:52

Forum Jump:


Users browsing this thread: 1 Guest(s)