POV-Ray : Newsgroups : povray.newusers : Crazy lighting : Re: Crazy lighting Server Time
29 Jul 2024 12:16:09 EDT (-0400)
  Re: Crazy lighting  
From: Ian Crofoot
Date: 12 Dec 2005 14:55:00
Message: <web.439dd44e9249257b265c44900@news.povray.org>
"Chris B" <c_b### [at] btconnectcomnospam> wrote:
>
> Another thought is whether you have tried isolating the offending surface,
> removing everything else except the light and camera. If it looks OK in
> isolation you could gradually add the other elements back into the scene
> until the problem reappears.
>
> Regards,
> Chris B.

http://img.photobucket.com/albums/v505/imcmonkey/desksurface.jpg

No luck.

And yes, it is a mesh, but a very simple one.  It's just a box, with each
face being, well, a single solid face.  So the surface of the desk would
have one normal, correct?  Banding isn't possible in this case, is it?

I'm exporting from wings 3D, and am not well versed with the mechanics of
this stuff.  Here's the entire code for the desk surface.  Perhaps one of
you can spot something funky:

// Exported from Wings 3D 0.98.29b

camera {
  perspective
  location <-14.0917608784, 8.4138755804, -7.1058150950>
  right < -1.33333, 0, 0>
  look_at <-2.1919112017, 2.4624901781, -10.8578232859>
}
light_source {
  <52.5, -6.2, -20>
  rgb <1,.97,.9>

}
#declare wood_WingsMat =
  texture{
      pigment{ rgbf <0.726940, 0.646726, 0.436164, 0.00000e+0>}
      finish{
        ambient 0
        diffuse 1
        brilliance 0
        specular 0.500000 roughness .05
        }
}
#declare cube1_sep207 = mesh2 {
vertex_vectors
{8,<46.7685,-18.5011,-40.1951>,<46.7685,-17.5011,-40.1951>,
<46.7685,-17.5011,7.80493>,<46.7685,-18.5011,7.80493>,
<70.7685,-18.5011,-40.1951>,<70.7685,-17.5011,-40.1951>,
<70.7685,-17.5011,7.80493>,<70.7685,-18.5011,7.80493>}

normal_vectors
{8,<-0.408248,-0.816497,-0.408248>,<-0.666667,0.333333,-0.666667>,
<-0.408248,0.816497,0.408248>,<-0.666667,-0.333333,0.666667>,
<0.666667,-0.333333,-0.666667>,<0.408248,0.816497,-0.408248>,
<0.666667,0.333333,0.666667>,<0.408248,-0.816497,0.408248>}

texture_list { 1,
 texture { wood_WingsMat }
}
face_indices
{12,<0,4,7>,0,<0,7,3>,0,<1,0,3>,0,<1,4,0>,0,<1,5,4>,0,<2,6,5>,0,
<3,2,1>,0,<3,7,6>,0,<4,5,6>,0,<5,1,2>,0,<6,2,3>,0,<6,7,4>,0}
normal_indices
{12,<0,4,7>,<0,7,3>,<1,0,3>,<1,4,0>,<1,5,4>,<2,6,5>,
<3,2,1>,<3,7,6>,<4,5,6>,<5,1,2>,<6,2,3>,<6,7,4>}
}
cube1_sep207

Again, your guys' assistance is very much appreciated. :)


Post a reply to this message

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