POV-Ray : Newsgroups : povray.binaries.scene-files : Unrolled : Re: Unrolled Server Time
2 Sep 2024 16:18:58 EDT (-0400)
  Re: Unrolled  
From: Batronyx
Date: 14 Jan 2002 23:38:53
Message: <3c43b25d$1@news.povray.org>
"Hugo" <hua### [at] post3teledk> wrote in message news:3c42a240@news.povray.org...
>
> > #declare Wrapobject = MySphereObject
> >      file://finish{ambient 1}
> >      Center_Trans(Wrapobject, x+y+z)}
>
> As far as I'm aware, you can't declare an object + finish like that.. Put an
> object { } wrapper around them.. Concerning the transformation error, I
> haven't got that line to work either, so I comment out Center_Trans.. The
> line is not necessary if your object is already at origin, which would be
> the case most of the time.
>

Thanks for catching my syntax error. Your problem with the Center_Trans macro
may be to another of my mistakes; Do you see the unmatched closing brace at the
end of the line? It would of course disappear when you comment/delete that line.

Also, it isn't enough for your object to merely encompass the origin, it must be
precisely centered or the FitScaleY transform won't behave properly. You may
have meant that . . . but . . .I wrote it :D


--
light_source{0,1}#macro c(J,a)sphere{0,1pigment{rgb z}scale a translate J+O}
#end#macro B(R,V,O)c(0,4)intersection{c(V,R)difference{c(-z*4x+10)c(-z*4.1x+
10)c(0<7.5,45,5>)}}#end B(12,0z*25)B(8y*4<0,12,50>)          // Batronyx ^"^


Post a reply to this message

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