Subject:
|
Re: Problem when rendering custom colors
|
Newsgroups:
|
lugnet.cad
|
Date:
|
Fri, 22 Jan 2010 21:36:44 GMT
|
Viewed:
|
15877 times
|
| |
| |
In lugnet.cad, Andre Classen wrote:
|
to further explain my problem Ive rendered a scene.
http://www.brickshelf.com/gallery/Flens83/Misc/rendertest.jpg
|
It looks to me like a texture issue rather than the color itself. I would
recommend adding your color directly to the lg_color.inc file. Copy the
definition for the existing blue and change nothing but the RGB color values for
the pigment.
Personally, I use the custom colors of Todd Lehman found
here, so my section of the lg_color.inc file
looks like this for blue:
#include "lg_color_B00.inc"
#declare Color1 = material { texture {lg_color_B00} }
#declare Color1_slope = material { texture {lg_color_B00 normal { bumps 1 scale 25*0.02 }}}
|
|
and the referenced file lg_color_B00.inc looks like this:
#declare lg_color_B00 = texture {
pigment { rgbft <0, 0.2, 0.7, 0, 0> }
normal { bumps .01 scale .10 turbulence 0 }
finish {
ambient .0
diffuse 1
brilliance 1
phong 1 phong_size 40
specular 1
reflection { .05 falloff 1 exponent 1 }
conserve_energy
}
|
|
So to make a new blue I would make a new include file called lg_color_B162.inc
for instance and I would just change the rgbft values. Then I would add a line
in lg_color.inc to reference it and then I could just use Color162 in my models
from then on.
You didnt post the submodel sRenderTor.dat so I couldnt completely duplicate
your model, but here is a picture showing a regular blue minifig and another
using your Royal Blue following the process I just described.
|
|
Message has 1 Reply: | | Re: Problem when rendering custom colors
|
| (...) I tried to add my custom colors to the lg_color.inc file. It works now This is how my lg_color.inc looks: ___...___ // 0 #declare lg_black = texture { pigment { rgb <33/255, 33/255, 33/255> } finish { lg_solid_finish } } // 1 #declare lg_blue (...) (15 years ago, 23-Jan-10, to lugnet.cad)
|
Message is in Reply To:
| | Re: Problem when rendering custom colors [DAT]
|
| (...) Hello Eric, to further explain my problem Ive rendered a scene. (URL) left part of the fig uses the normal blue (color 1). Teh right part uses my personal color 162 (a darker blue) As you can see, the color 2 part of the torso front looks (...) (15 years ago, 22-Jan-10, to lugnet.cad)
|
6 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|