Nieminen Mika wrote:
>
> Ken <tyl### [at] pacbellnet> wrote:
> : #declare Final_Shape =
> : difference {
> : Loop stuff
> : object { Diff_Obj }
> : object { Diff_Shape
> : bounded_by {
> : object { Diff_Shape_bound }
> : }
> : }
> : #end loop stuff }
>
> Sorry for whining about indentation again, but here we have an excellent
> example of a very simple structure where it's very difficult to see what
> the bounding object is bounding. Is it bounding the difference? Or the second
> object? I had to watch the code several minutes before I saw it.
>
> Note: I'm not saying that you should change your indentation style. I just
> liked this example.
When scripting for my own use it would more likely have looked like this:
#declare Final_Shape =
difference {
#Loop stuff
object { Diff_Obj }
object { Diff_Shape bounded_by{object{Diff_Shape_bound}}}
#end }
--
Ken Tyler
See my 700+ Povray and 3D Rendering and Raytracing Links at:
http://home.pacbell.net/tylereng/index.html
Post a reply to this message
|