POV-Ray : Newsgroups : povray.newusers : this is very strange!! : Re: this is very strange!! Server Time
31 Jul 2024 06:18:34 EDT (-0400)
  Re: this is very strange!!  
From: Fidel viegas
Date: 12 Dec 2002 09:13:31
Message: <BA1E48AF.803C%fidel.viegas@artrecognition.co.uk>
in article 3df86929@news.povray.org, Warp at war### [at] tagpovrayorg wrote on
12/12/02 10:47 am:

> Lenx <lenx_@hotmail.com> wrote:
>> box{ <0,0,0> <.1,6,.1> rotate <30,0,-30> translate <-2,0,-2> pigment{Grey}}
> 
>> When you render this scene, you see a grey rod next to a green one. I don't
>> understand why they don't intersect?! Looking to the rotation of the grey
>> rod, it should be crossing a point where x=0 and z=0 (the green rod).
>> But it doesn't...
> 
> You are assuming that after rotating 30 degrees around the x-axis and
> then -30 degrees around the z-axis, the rod will be 45 degrees from both
> axes (only that way it would cross the y axis when translated to <-2,0,-2>).
> This isn't so.
> 
> If you want the rod to cross the y-axis, you need to truely rotate it
> 45 degrees around the y-axis. That is:
> 
> box{ <0,0,0> <.1,6,.1> rotate <30,45,0> translate <-2,0,-2> pigment{Grey}}

I guess I misread the question. Sorry, I thought he was looking for CSG
stuff.

Thanks for clearing that out Warp.

All the best

Fidel.


Post a reply to this message

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