|
|
Try this:
camera { location y*4-z*4 look_at 0 angle 35 }
light_source { <100,200,-300> 1 }
#declare Granite = texture { pigment { rgb x } normal { granite 1 } }
plane
{ y,0 texture { Granite }
}
And now try this:
camera { location y*4-z*4 look_at 0 angle 35 }
light_source { <100,200,-300> 1 }
#declare Granite = texture { pigment { rgb x } normal { granite } }
plane
{ y,0
texture
{ gradient x texture_map
{ [0 Granite scale .01][1 Granite scale .01]
}
scale 100
}
}
The result should be identical, but it isn't.
I remember reading about problems when scaling normals. Is this the one?
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
|