POV-Ray : Newsgroups : povray.general : Indentations/Lines on balls Server Time
14 Nov 2024 21:12:34 EST (-0500)
  Indentations/Lines on balls (Message 1 to 9 of 9)  
From: Rick Measham
Subject: Indentations/Lines on balls
Date: 7 Feb 2005 00:34:59
Message: <4206fe03@news.povray.org>
We've all use a tennis ball or basket ball. I'm trying to model some 
balls in pov and need some help. What's the best way to create the lines 
that go around them? (Like the white one on a tennis ball and the black 
ones on a basketball)

My main goal is to model a netball. They have a different pattern than 
most balls as the lines are really the stitch lines between each piece 
of leather that makes the ball.

See one here:
http://www.supertramp.co.uk/images/gilbert_all_weather_netball.jpeg

I can get the material right (or close enough) just by playing around. 
However, what advice can I get on the lines? They don't need to resemble 
stitches as only the top balls are REALLY stitched. The others are just 
pressed into the plastic.

Cheers!
Rick Measham


Post a reply to this message

From: Alf Peake
Subject: Re: Indentations/Lines on balls
Date: 7 Feb 2005 09:10:25
Message: <420776d1@news.povray.org>
"Rick Measham" wrote:
> We've all use a tennis ball or basket ball. I'm trying to model some 
> balls in pov and need some help. What's the best way to create the 
> lines that go around them? (Like the white one on a tennis ball and 
> the black

I've seen pov source that makes a tennis ball seam, and baseball or 
cricket ball. Probably around 4 or 5 years ago on Compuserve. I'll 
check my old archives.

Alf


Post a reply to this message

From: Alf Peake
Subject: Re: Indentations/Lines on balls
Date: 7 Feb 2005 10:47:49
Message: <42078da5@news.povray.org>
"Alf Peake" wrote:
> cricket ball. Probably around 4 or 5 years ago on Compuserve. I'll 
> check my old archives.

Sorry - nothing found back to '95.

Alf


Post a reply to this message

From: Maurice
Subject: Re: Indentations/Lines on balls
Date: 7 Feb 2005 12:04:43
Message: <42079fab@news.povray.org>
Rick Measham wrote:
> We've all use a tennis ball or basket ball. I'm trying to model some 
> balls in pov and need some help. What's the best way to create the lines 
> that go around them? (Like the white one on a tennis ball and the black 
> ones on a basketball)
> 
> My main goal is to model a netball. They have a different pattern than 
> most balls as the lines are really the stitch lines between each piece 
> of leather that makes the ball.
> 
> See one here:
> http://www.supertramp.co.uk/images/gilbert_all_weather_netball.jpeg
> 
> I can get the material right (or close enough) just by playing around. 
> However, what advice can I get on the lines? They don't need to resemble 
> stitches as only the top balls are REALLY stitched. The others are just 
> pressed into the plastic.
> 
> Cheers!
> Rick Measham

Looking for this:

http://objects.povworld.org/cgi-bin/search.cgi?X=ball

-- 
Maurice


Post a reply to this message

From: Rick Measham
Subject: Re: Indentations/Lines on balls
Date: 7 Feb 2005 18:16:04
Message: <4207F6B9.3020400@nomail>
Rick Measham wrote:
> We've all use a tennis ball or basket ball. I'm trying to model some 
> balls in pov and need some help. What's the best way to create the 
> lines that go around them? (Like the white one on a tennis ball and 
> the black ones on a basketball)

Maurice replied:
> Looking for this:
> http://objects.povworld.org/cgi-bin/search.cgi?X=ball

Exactly that! Thanks.

However, the method here uses a texture map around the ball -- which 
works well -- but I don't know how to properly create the lines for a 
netball. I can play around. I've worked out that a rectangular line run 
through photoshops rectangular-to-polar will give me something fairly 
useful, but I still need to work out what the pattern is. If there is a 
known, easy, way to do this can someone let me know?

Cheers!
Rick


Post a reply to this message

From: Slime
Subject: Re: Indentations/Lines on balls
Date: 7 Feb 2005 18:31:46
Message: <4207fa62$1@news.povray.org>
Doesn't look like there's going to be an easy way to do this.

One thing which you can benefit from is that the pattern is symmetrical with
6 sides, like a cube. The corners of that cube are marked on the ball by
where 3 seams come together (in the image you provided, in the upper left,
upper right, lower left, and lower right, and there are four more we can't
see). So it may be possible to "cut" the sphere into 6 parts by using
gradient patterns with normals like <1,0,1>, and then make a single, square
image map which, when overlaid on top of these parts properly, creates the
seams in the right places.

 - Slime
 [ http://www.slimeland.com/ ]


Post a reply to this message

From: Chris B
Subject: Re: Indentations/Lines on balls
Date: 8 Feb 2005 07:04:31
Message: <4208aacf$1@news.povray.org>
"Rick Measham" <nomail@nomail> wrote in message
news:4206fe03@news.povray.org...
> We've all use a tennis ball or basket ball. I'm trying to model some
> balls in pov and need some help. What's the best way to create the lines
> that go around them? (Like the white one on a tennis ball and the black
> ones on a basketball)
>
> My main goal is to model a netball. They have a different pattern than
> most balls as the lines are really the stitch lines between each piece
> of leather that makes the ball.
>
> See one here:
> http://www.supertramp.co.uk/images/gilbert_all_weather_netball.jpeg
>
> I can get the material right (or close enough) just by playing around.
> However, what advice can I get on the lines? They don't need to resemble
> stitches as only the top balls are REALLY stitched. The others are just
> pressed into the plastic.
>
> Cheers!
> Rick Measham

Hi Rick,

I've put my attempt at a netball on povray.binaries.images with the source
on povray.binaries.source.

Chris B.


Post a reply to this message

From: Rick Measham
Subject: Re: Indentations/Lines on balls
Date: 8 Feb 2005 15:21:48
Message: <42091F63.5010304@nomail>
Chris B wrote:
> I've put my attempt at a netball on povray.binaries.images with the source
> on povray.binaries.source.


What a legend!

This is terrific Chris. I'm slowly getting my head around how you did 
it, but the results are brilliant!

Thank you so much for your time and effort.

Cheers!
Rick


Post a reply to this message

From: Alf Peake
Subject: Re: Indentations/Lines on balls
Date: 24 Feb 2005 09:11:31
Message: <421de093@news.povray.org>
"Rick Measham" wrote:
> We've all use a tennis ball or basket ball. I'm trying to model some 
> balls in pov and need some help. What's the best way to create the 
> lines that go around them?

Still looking?  I've found the file I was looking for, (while looking 
for something else). Its in html by Daren Scot Wilson, 9KB, has full 
explanation and cut-and-paste SDL scene, pre-1998. If you want it, 
email me at the address in my sig.

-- 
Alf

http://www.peake42.freeserve.co.uk/
http://www.qsl.net/gw3srg/


Post a reply to this message

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