POV-Ray : Newsgroups : povray.tools.poser : Dynamic Hair and PoseRay : Re: Dynamic Hair and PoseRay Server Time
23 Jan 2022 16:42:18 EST (-0500)
  Re: Dynamic Hair and PoseRay  
From: TawnyOwl
Date: 10 Nov 2011 14:05:01
Message: <web.4ebc1eba2b1201fb80ccb1a0@news.povray.org>
Hm, hm, hm,

I didn't like to correct you, but the tubes are uv-mapped which allowed for my
cheap trick. I used the "sausages" by intention and created a very simple
texture with my favorite graphics software:

#include "colors.inc"

camera{
   orthographic
   location <0,0,-1000>
   look_at <0,0,0>

   right 1024*x
   up 1024*y
}
light_source { <0,0,-1000>, color White }

box { <-1024,-100,-1>,<1024,50,1> rotate <0,0,-45> translate <0,512,0> pigment {
color Red } }
box { <-1024,-100,-1>,<1024,50,1> rotate <0,0,-45> translate <0,-512,0> pigment
{ color Red } }

I saved it as a GIF (teststraehne.gif) and used the following texture for the
tubes:

#declare tube_material1_=
material{
texture{ uv_mapping pigment { image_map { gif "teststraehne.gif" transmit 0,1  }
scale <1,1/16,1>}
        finish{specular 0 roughness 0.09632328 ambient rgb <0.00,0.00,0.00>
diffuse 0.6   reflection{0 } conserve_energy}}
}

That's all.

Regards,
Michael


Post a reply to this message

Copyright 2003-2021 Persistence of Vision Raytracer Pty. Ltd.