POV-Ray : Newsgroups : povray.binaries.images : UV mapping of spheresweep : Re: UV mapping of spheresweep Server Time
29 Jul 2024 22:23:27 EDT (-0400)
  Re: UV mapping of spheresweep  
From: LanuHum
Date: 2 Mar 2014 14:00:02
Message: <web.53137f3230311f0c7a3e03fe0@news.povray.org>
Le_Forgeron <jgr### [at] freefr> wrote:

> >
> If you can provide the source of the scene, it would help to try to look
> at the problem.

Yes, please:

global_settings {
    assumed_gamma 1.0
    max_trace_level 3
}
background {rgbt<0.0446, 0.393, 0.0561, 0>}
#declare Material_finish = finish {
    specular 0.5
    roughness 0.01
    diffuse  0.8
    conserve_energy
}

#declare Texture = pigment{ uv_mapping
    image_map {
        "/home/leonid/grid.png"
    map_type 0 interpolate 2 filter all 0 transmit all 0 }
    frequency 2
}
#declare Material_tex =
texture {pigment {Texture} finish{Material_finish}}
#declare NurbsCurve_ob =
sphere_sweep { b_spline 7,
    <-3.249,-2.335,3.579>,0.3,
    <1.725,-0.3244,-3.686>,0.3,
    <0.06965,0.4773,-0.3503>,0.3,
    <0.9734,-1.185,1.429>,0.3,
    <4.175,-0.5368,-1.268>,0.3,
    <1.912,1.562,-1.22>,0.3,
    <-1.916,2.099,-1.6>,0.3
    scale <2.075,2.075,2.075>
    rotate <-2.504e-06,-0,0>
    translate <-2.452184, 1.506530, 1.531251>
}
object {NurbsCurve_ob
    texture{Material_tex}
}
light_source {
    <4.08,5.9,-1.01>
    color rgb<1, 1, 1>
}
camera {
    location  <0, 0, 0>
    look_at  <0, 0, -1>
    right <-1.6077777759896383, 0, 0>
    up <0, 1, 0>
    angle  49.134343
    rotate  <-27.098163, 46.688390, -0.903519>
    translate <7.481132, 5.343666, 6.507640>
}


Post a reply to this message

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