POV-Ray : Newsgroups : povray.text.scene-files : Golf Ball Help : Re: Golf Ball Help Server Time
17 May 2024 06:47:50 EDT (-0400)
  Re: Golf Ball Help  
From: Trevor G Quayle
Date: 18 Jun 2007 19:35:01
Message: <web.4677167dbc62bf835e73ab330@news.povray.org>
"Allen" <nomail@nomail> wrote:
> Hey World,
>
> Well, you have gotten me started on CGSphere stuff.  I'm trying to model a
> small scene, but I have gotten stuck early on.  I am attempting to model a
> golfball, but I can't find any resources on one.  I just can't seem to
> figure out how to get the dimples on the ball.  I can get one row, but then
> I still have tons others to hand place.
>
> Can anyone help me develop a macro for this?  I can't figure out the formula
> that would allow this to be simplified.  I'll post anything I do figure
> out... this isn't something that is easy to find information on.
>
> Thanks in advance,
> Allen

Have a look at the geodesic dome macro I posted a while ago here:
http://news.povray.org/povray.newusers/message/%3Cweb.45ba5cd1a6cc4078c150d4c10%40news.povray.org%3E/#%3Cweb.45ba5cd1a6
cc4078c150d4c10%40news.povray.org%3E

Not necessarily the best layout for real golf balls, but will give you a
fairly homogenous looking layout.  There are other packings that can be
developed too, then it's just a matter of mapping them to a sphere.

You may want to do a little bit of trig and CSG if you can to add to this so
you get rounded dimples rather than sharp edged ones.  Right now I don't
have time to help you lay this out, maybe later or perhaps someone else can
point you in the right direction.

-tgq


Post a reply to this message

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