POV-Ray : Newsgroups : povray.general : scaling unions : Re: scaling unions Server Time
19 Apr 2024 10:56:26 EDT (-0400)
  Re: scaling unions  
From: Hexhall
Date: 25 May 2020 09:20:01
Message: <web.5ecbc5b0d630142447ce6450@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:
> "Hexhall" <n/a> wrote:
> > I have a union object that is made up of a cylinder with two spheres, one sphere
> > on each end of the cylinder.
>
> The only (practical) thing I can see doing is cutting your object in two,
> translating one or either end along the axis, and pasting a new cylinder into
> the gap to cover up the hack-job.
> To get it looking right, if it's a mesh or something, you could cut it into 3,
> and scale the central cylinder to fill the gap.
>
>
>
> > Is there any keyword that prevents
> > dimensions of objects being affected in unions, but allows their positions to
> > change when a scale is being applied?
>
> That would indeed be a cool feature to have - "un-union".
>
>
> But that's the best I can think of right now.

Thanks for the input, you are right, it would be a cool feature to have an
"un-union" that would shield things like size and/or position in a union group.
Looks like I will have to write a c++ program for my particular situation....


Post a reply to this message

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