|
|
Court-Jus <new### [at] court-jusnet> wrote:
> I've downloaded an object file that consists as a list of vertices with
> color in this format :
> x y z r g b
> and then a list of triangles with references to the vertices like that :
> id_vert1 id_vert2 id_vert3
> is there a way to use that sort of object in povray ???
If you append a comma to every value, you can read them from POV-Ray
and create an appropriate mesh.
For reading the values, see the help about #fopen and #read.
--
plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
<1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}// - Warp -
Post a reply to this message
|
|