POV-Ray : Newsgroups : povray.general : Strange cuts on rendered objects : Re: Strange cuts on rendered objects Server Time
27 Apr 2024 11:26:01 EDT (-0400)
  Re: Strange cuts on rendered objects  
From: Alain Martel
Date: 4 Feb 2020 14:33:38
Message: <5e39c712@news.povray.org>
Le 2020-02-04 à 03:55, Francescodario Cuzzocrea a écrit :

> 
> Hi Alain, and thanks for your reply !
> Thank for the union tip ! I was using union with split_union off before
> (otherwhise the object was splitted up in unpredictable way when
> rotated/translated), then I discovered merge and decided to go for it as it
> seemed more appropriate, but effectively using union rendering times are a bit
> faster :)
> 
> 
> 

If you have something like :

#declare Ship = union{
	object{...}
	object{...}
	object{...}
	object{...}
	object{...}
	object{...}
}

Then use :
object{Ship rotate SomeRotation translate Somewhere}

The whole object will be rotated and translated as a single unit.
If not, then, something is wrong in that object's definition.

If you have this :
#declare Ship = union{
	object{...}
	object{...}
	object{...}
	object{...}
	object{...}
	object{...}
rotate SomeRotation
}

The object will also get rotated as a single unit.

BUT, this will cause only part of it to be rotated :
#declare Ship = union{
	object{...}
	object{...}
	object{...}
rotate SomeRotation
	object{...}
	object{...}
	object{...}
}
The part before the rotate will be rotated, but the part after won't.

Maybe there was some stray rotation or translate lost in the object's 
definition.


Post a reply to this message

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