POV-Ray : Newsgroups : povray.general : Glass and Text Problem : Glass and Text Problem Server Time
31 Jul 2024 04:19:44 EDT (-0400)
  Glass and Text Problem  
From: NightHawk
Date: 17 Oct 2007 17:55:01
Message: <web.4716841afb2e10107be156420@news.povray.org>
Hi Im having a problem with a double textured glass sphere. Basically, I
create a glass sphere, texture it with glass texture, and then add some
text texture on top of it. The problem is that when rendered at qualities
higher than 6, the sphere glass gets colors the same color as text. If I
add multiple text textures, the sphere becomes almost white. What am I
doing wrong? here is the code for just the sphere and text.

global_settings {
   max_trace_level 8
   assumed_gamma 2
   ambient_light 0.2
   max_intersections 128
   adc_bailout 1/255 }

#declare R1 = text {ttf "OHIO_SCR.ttf", "Test", 2, 0
  translate <-1.35,0.4,-3> }

union{
object { sphere {<0,0,0>,3 material {SF_Glass}
                           texture {pigment {object {R1 rgbt 1 rgb <1,1,0> }
 scale 1.6} finish {ambient 2 diffuse 0.95 specular 0.9 roughness 0.01
reflection{P_Gold3*.3,P_Gold3.gray*.5}}}
                                                    }
                           scale 0.33}
}

object{tree_sphere2}

camera {

   location <1.2, 3, -2.5>
   look_at  <2.15, 0.65, 0>
   angle 51
}


Post a reply to this message

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