POV-Ray : Newsgroups : povray.general : an extraordinary rotation question : an extraordinary rotation question Server Time
30 Jul 2024 08:21:32 EDT (-0400)
  an extraordinary rotation question  
From: mysdn
Date: 19 Jun 2009 06:10:00
Message: <web.4a3b62de84d4e97f8813d5ca0@news.povray.org>
Hello everybody,
 I'm new at this forum and very interested in ray tracing. Currently, I'm using
Povray for ray tracing. But I have a huge problem understanding its rotation
logic. Let's say I have 2 walls each 250 cm in length. Suppose we stand in
front of 1st wall and 2nd wall is attached to 1st on the right side. Now rotate
2nd wall 45 degrees AND it loses position, no more their tips are attached like
they should as an angled wall. The 2nd wall moves towards us and forward.

Obviously I don't understand rotation in povray, I do use povray for many things
for over a year but rotation always eluded me. I attached sample pov file at
http://ompf.org/forum/viewtopic.php?f=6&t=1343
If you take a look and show me some direction, I will be grateful. If you take a
look at sample, you will see it's not just a simple matter of placing objects by
just translate to <0,0,0> then rotate to .. then translate back to etc. Cause
final translation values are assigned by 2D API Piccolo. Thank you very much.

P:S This is for an app that writes SDL, so it's important.
I also read a lot about povray rotate keyword but still dont get it and I can be
considered pretty smart as the huge 2D-3D C# app I wrote will testify.

Any type of help will be greatly appreciated.
ibrahim dogan
Turkey


Post a reply to this message

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