PDA

View Full Version : Create a Golf ball type Texture


Marie*
03-02-2006, 10:31 AM
Hi !

I would like to recreate this kind of deformation for a texture :

http://img473.imageshack.us/img473/2574/golfball0pp.jpg (http://imageshack.us)


But in this example, the circles are too small for me.
I've already tried a lot of techniques before I decide to post, but none really worked nice.
The best result I got is using a subdivision sphere to map my texture on the 6 planes , but it's too hard to fix the distortion near the corners.

I've also tried the polar coordinate filter in photoshop ( oups, sorry for the translation), without success.


So, if somebody's got a idea too keep my circles really round ... it will be really great.

For information I use Maya.

Thanks !

Marie*
03-03-2006, 11:31 AM
somebody give me that :

http://img48.imageshack.us/img48/2850/golfballprincipe8ri.jpg (http://imageshack.us)

Thanks to Maia !

I'm trying to stick on with this theory but believe me ... it's hard to have a proper result.

Marie*
03-04-2006, 01:15 PM
hop, here the result :

http://img161.imageshack.us/img161/8460/testmapping040ly.jpg (http://imageshack.us)


The round shape needs to be distorted a littel bit like that

http://img219.imageshack.us/img219/8866/02ronds0rp.jpg (http://imageshack.us)

tedious
03-05-2006, 01:07 AM
Just a thought: maybe you could arrange small spheres around your larger ball where you would want the dimples to go, and then bake the areas they overlap into a texture as baked occlusion?

-tedious

TrueBlue
03-06-2006, 12:23 AM
How on earth do you make a texture from scratch to look like this:
http://img473.imageshack.us/img473/2574/golfball0pp.jpg

And how did you get this result Marie*:
http://img161.imageshack.us/img161/8460/testmapping040ly.jpg

You can't be serious that you just estimated distorting those circles in the texture map using vector lines in Illustrator! That's crazy!

There must be a program or plug-in/tool to help map an image into a panorama-like texture so you can map it to a sphere. How do you go about it?

This been driving me nuts for a while now :S, because basically, if only i could make a texture into a panorama then it can be applied to a sphere easily.

Marie*
03-07-2006, 11:00 AM
Hi TrueBlue !
Hummm, i've made just few test to obtain this result with vectors.
But it's more simple to create the golf ball (with a lot of point)
I'm still working on this because THIS DRIVE ME NUTS too ^^ !

For the moment, I'm trying all I can to obtain something better (I wish I have less interval between each circle ) ... and it's really hard.
If I find someting better i'll tell you . (I'm trying to find a way - like you suggest- to map an image into a panorama-like )
And if I don't find something better I'll explain properly how I've proced for the pink ball.
I promise.
(sorry guys , I feel so ashamed about my english)

Ps : Thanks tedious, I've tried this first but without good result...

Marie*
03-16-2006, 01:05 PM
hi!

I've made a tutorial but ... i'm really really sorry, it's in french :shrug:. Too much text I just can't translate.

Maybe the pictures can help some of you to achieve the effect.

http://img97.imageshack.us/img97/9673/01balletutorial9oc.jpg (http://imageshack.us)

http://www.workwithmarie.com/tuto/balledegolf.htm

I know the golf ball is not perfect (too much holes), but it was just a pretext to find how map circles on a sphere.

I'll post soon few textures map for other applications.

SHEPEIRO
03-16-2006, 02:32 PM
my french aint too good but that seems along way round.

i would use the technique that tedious stated, place little spheres around the ball, then bake and ambient occlusion lighting map and that will give you good results.

or even bake to a normal map using the projection setup to bake from the little spheres (making sure they are flipped normals) you will then have to fill the red sections of the map in PS afterwards (with 128r 128g 255b if i remember correctly), sounds complicated but easier than illustrating it IMO

jbradley
03-16-2006, 02:35 PM
So, if somebody's got a idea too keep my circles really round ... it will be really great.

For information I use Maya.

Thanks !

Why don't you just model it instead of texturing it? Maya can do it, but it's a bit of a pain. You need to start with a geosphere object (download the dnPolyhedron or GeoSphere MEL scripts for Maya).

A typical golf ball is based on an icosahedron, though newer balls are based on dodecahedral shapes. Golf ball dimples are not regular in size, they increase in size toward the center of the area between intersections of the great circle on the icosahedron. I didn't bother in my test to do it exact with the millimeter size of the dimples - just eyeballed it.

Take a look at the attached render.

It's not perfect because I only did this in a matter of a few minutes - the small dimples, at the apex of each intersection of great circles, were goofed. That didn't result in a nice subdivision. Easy to fix, but didn't have enough time this morning.

This ball is based on the Titleist 362 dimple pattern patent.

http://freepatentsonline.com/5957786.html

I have a version done in Maya that's for a commercial project. This one here is rendered and subdivided in the upcoming version of Strata CX 5.0 which supports catmullrom subdivisions (http://www.strata.com). Great software with an incredible rendering engine.

Marie*
03-18-2006, 08:47 PM
Jbradley > it's a good solution if you want smothing fast. I have ever tried soccer balls (for bigger rounds). But with those geometrical objetcs, if you look closer, you can see that some pieces (rounds) are smaller than others, it's logical, it is the way to compensate the deformation.
Thanks to have try out !

Shepeiro > it's a really good solution I haven't try ( I feel unconfortable with the fact to bake ... i'm still a beginner with some 3d aspects)

So the solution I've find is in adequation with my knoledge. Sure, I have to feel one 's way to find good placement etc ... but I feel so confortable with 2dvector ^^ !
And it alow to create good effetcs too.
sorry to reply so late,
Thanks everyone !

ThirdEye
03-19-2006, 10:34 AM
In case someone wants to model it there's this :)
http://forums.cgsociety.org/showthread.php?t=278498
http://www.turx.com/gallery/tutorial/minitutorial_golfball_by_turx.gif

PhuongDPh
03-19-2006, 04:43 PM
ah, thank ThirdEye for your tut
http://forums.cgsociety.org/images/icons/icon10.gif thank Marie* for your tut, I can use http://babelfish.altavista.com/ to translate it http://forums.cgsociety.org/images/icons/icon10.gif

CGTalk Moderation
03-19-2006, 04:43 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.