POV-Ray : Newsgroups : povray.binaries.animations : povgolf (642 kbbu) : Re: povgolf (642 kbbu) Server Time
5 Nov 2024 03:20:38 EST (-0500)
  Re: povgolf (642 kbbu)  
From: Bob Hughes
Date: 30 May 2000 13:17:55
Message: <3933f7c3@news.povray.org>
"Greg M. Johnson" <gre### [at] my-dejanewscom> wrote in message
news:3933A3FD.894E51D0@my-dejanews.com...
| BUT WAIT!
| You specify ONLY an INITIAL vector! Kind of like an initial velocity. The ball is
then
| affected by gravity and bounces & rolls off the surface.  Note  the rolling hills:
there is
| no straight line possible.  Then, if /when you miss the hole, you get to specify a
new
| initial velocity.

Ah ha, okay, I see now.  Similar to many such software games of golf I've seen, less
the
interface.

| In Putt-putt, you would be cheating if you specified the entire trajectory, if you
kept the
| club touching the ball the whole time from tee to hole!

You've seen me play then.  Putt-putt I have done.

| I spent a lot of time on this over the weekend. After I implemented Jan's
suggestions,
I
| found that the algorithm did not correctly handle a ball that had rolled to a stop.
| Bouncing worked perfect, but a stationary ball kept falling through the surface.
Rendering
| my nth fix as we speak...

You also need a gopher popping out of the hole when a ball makes it in.

Bob


Post a reply to this message

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