POV-Ray : Newsgroups : povray.newusers : Trace and Normal : Trace and Normal Server Time
4 Sep 2024 18:19:24 EDT (-0400)
  Trace and Normal  
From: Tim McMurdo
Date: 28 Sep 2002 10:21:54
Message: <3d95bb02$1@news.povray.org>
I am using the trace feature to place an object on top of a wave. I have
figured that part out fairly well.

However, I want to make the object rock back and forth on the wave by
aligning the object with the normal at the point it sits on the wave.

I know tat the trace function will find the normal for me, but I can't
figure out how to use that normal to rotate my object.

Can anybody show me some sample code that will do this for me?

Thanks,

Tim


Post a reply to this message

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