|
 |
"Bald Eagle" <cre### [at] netscape net> wrote:
> yesbird wrote:
> > Working on file converter, I am importing vertex colors from FBX,
> > but cant figure out why POV-Ray rendering is so much different from
> > ZBrush. Maybe there is a way to control color distribution and
> > smoothness ?
> >
> > Please find images and scene in attachment.
> > --
> > YB
>
> You might not want to color by vertex.
> Maybe color the entire cube with a gradient and use blend_mode.
>
> https://wiki.povray.org/content/Reference:Pigment_Map
>
> That's all I have - for the moment.
>
> - BW
#version 3.8;
global_settings {assumed_gamma 1.0}
#include "functions.inc"
camera {
location <0, 0, -20>
look_at <0, 0, 0>
right x*image_width/image_height
up y
sky y
}
sky_sphere {pigment {rgb 1}}
light_source {<0, 50, -50> rgb 1}
box {-5, 5
pigment {
gradient x
pigment_map {
blend_mode 0 // or 3
[0, rgb y]
[0.5, rgb 1]
[1, rgb z]
}
scale sqrt (200)
translate x*sqrt (200)/2
rotate z*45
}
}
Post a reply to this message
Attachments:
Download 'yesbirdcolorcube.png' (29 KB)
Preview of image 'yesbirdcolorcube.png'

|
 |