POV-Ray : Newsgroups : povray.binaries.images : CGSE (Golf Ball) Server Time
4 Nov 2024 15:43:03 EST (-0500)
  CGSE (Golf Ball) (Message 1 to 10 of 12)  
Goto Latest 10 Messages Next 2 Messages >>>
From: Allen
Subject: CGSE (Golf Ball)
Date: 21 Jun 2007 17:00:02
Message: <web.467ae5a399fd8ad3b59da54c0@news.povray.org>
Here it is.  ^.^

----
View My Portfolio At
http://allen.emailnuts.com/


Post a reply to this message


Attachments:
Download 'cgsphere_top_medium.jpg' (52 KB)

Preview of image 'cgsphere_top_medium.jpg'
cgsphere_top_medium.jpg


 

From: Trevor G Quayle
Subject: Re: CGSE (Golf Ball)
Date: 21 Jun 2007 20:15:01
Message: <web.467b142e7fa6236f5e73ab330@news.povray.org>
"Allen" <nomail@nomail> wrote:
> Here it is.  ^.^
>
> ----
> View My Portfolio At
> http://allen.emailnuts.com/

Hmm, my post didn't go through.  Hope this doesn't come up twice...

Looking pretty good.  Two pieces of advice:

1) Rotate the ball out of vertical a bit so it doesn't look so regular.

2)  You need to maintain the camera perspective and sphere size as well as
render at a 800x800 resolution.  I would suggest fixing this and
resubmitting so you don't get hit too hard in the ratings

(BTW, thanks for keeping the grid plane as is.  This is one of the rules
most widely ignored, even in top rated images...)

-tgq


Post a reply to this message

From: Simon
Subject: Re: CGSE (Golf Ball)
Date: 21 Jun 2007 20:29:38
Message: <467b17f2$1@news.povray.org>
How did you distribute the dimples in the end?

"Allen" <nomail@nomail> wrote in message 
news:web.467ae5a399fd8ad3b59da54c0@news.povray.org...
> Here it is.  ^.^
>
> ----
> View My Portfolio At
> http://allen.emailnuts.com/
>


--------------------------------------------------------------------------------


Post a reply to this message

From: Allen
Subject: Re: CGSE (Golf Ball)
Date: 22 Jun 2007 02:00:11
Message: <web.467b64227fa6236fb59da54c0@news.povray.org>
"Simon" <povray@*NOSPAM*SOWare.co.uk> wrote:
> How did you distribute the dimples in the end?

I had to end up using a macro to place a bunch of difference spheres around
the larger sphere.  Ate up memory at render, but was faster than the
geodesic macro.


"You need to maintain the camera perspective and sphere size as well as
render at a 800x800 resolution.  I would suggest fixing this and
resubmitting so you don't get hit too hard in the ratings"

Yeah, right as soon as I tried to upload it, it said "needs to be 800x800"
It'll be another two days before the 800x800 is done... so I just added
some black bars for now.

I'll rotate the sphere as well... thanks ^.^
----
View My Portfolio At
http://allen.emailnuts.com/


Post a reply to this message

From: Arno
Subject: Re: CGSE (Golf Ball)
Date: 22 Jun 2007 13:30:01
Message: <web.467c06e57fa6236f7875dea70@news.povray.org>
I absolutely love the grass!! How did you do that? Is that an isosurface?


Post a reply to this message

From: Allen
Subject: Re: CGSE (Golf Ball)
Date: 22 Jun 2007 16:20:02
Message: <web.467c2d077fa6236f1298e5960@news.povray.org>
"Arno" <nomail@nomail> wrote:
> I absolutely love the grass!! How did you do that? Is that an isosurface?

Thank you!  I modeled a couple of grass blades, then just randomly traced
them to an invisible box.  For the texture, I added it to the union of
blades so I could get patches of yellow grass as well as green grass.

----
View My Portfolio At
http://allen.emailnuts.com/


Post a reply to this message

From: Thomas de Groot
Subject: Re: CGSE (Golf Ball)
Date: 23 Jun 2007 03:58:57
Message: <467cd2c1$1@news.povray.org>
"Allen" <nomail@nomail> schreef in bericht 
news:web.467ae5a399fd8ad3b59da54c0@news.povray.org...
> Here it is.  ^.^
>
> ----
> View My Portfolio At
> http://allen.emailnuts.com/
>

Excellent!  What about the shadow of a golf stick?

Thomas


Post a reply to this message

From: Allen
Subject: Re: CGSE (Golf Ball)
Date: 25 Jun 2007 15:55:01
Message: <web.468018907fa6236f4dc153cb0@news.povray.org>
"Thomas de Groot" <t.d### [at] internlDOTnet> wrote:
>
> Excellent!  What about the shadow of a golf stick?
>
> Thomas

Maybe, I'm not totally sure about that.  The ball itself is around 30units
in radius.  So, if I did a golf stick, it would be like 30*40units tall.
That's just huge.  To get it to the right scale, it just wouldn't work in
this image.  Good idea though.

I have updated the image.
http://www.cgsphere.com/gallery/details/?submission_id=3330
Please comment and rate it ^.^

----
View My Portfolio At
http://allen.emailnuts.com/


Post a reply to this message

From: Trevor G Quayle
Subject: Re: CGSE (Golf Ball)
Date: 25 Jun 2007 17:00:03
Message: <web.46802c887fa6236fc150d4c10@news.povray.org>
"Allen" <nomail@nomail> wrote:
>
> Maybe, I'm not totally sure about that.  The ball itself is around 30units
> in radius.  So, if I did a golf stick, it would be like 30*40units tall.
> That's just huge.  To get it to the right scale, it just wouldn't work in
> this image.  Good idea though.
>
> I have updated the image.
> http://www.cgsphere.com/gallery/details/?submission_id=3330
> Please comment and rate it ^.^
>

I see your new one, while you've resized the image itself properly, the ball
(sphere) should still have the same size as the template.  (In the POV
template this is 40 units).  Other than that, it looks pretty good and
follows all the other rules.  Sorry to make you maybe render it agin.

BTW, why is the render so long?  Is it just from the area lighting and focal
blur?  Try manual bounding of the CSG of the sphere, sometimes this can help
considerably, especially when you are differencing a whole lot of objects
like the dimples.

-tgq


Post a reply to this message

From: Trevor G Quayle
Subject: Re: CGSE (Golf Ball)
Date: 25 Jun 2007 17:10:02
Message: <web.46802f0e7fa6236fc150d4c10@news.povray.org>
"Trevor G Quayle" <Tin### [at] hotmailcom> wrote:
>
> BTW, why is the render so long?  Is it just from the area lighting and focal
> blur?  Try manual bounding of the CSG of the sphere, sometimes this can help
> considerably, especially when you are differencing a whole lot of objects
> like the dimples.
>
> -tgq

To follow up on this, I have a similar type object (holes in a shell rather
than dimples) that I've worked on and instead of differencing  the holes, I
used blobs (give the dimple blobs a negative strength), and it is *much*
faster.

Compare Ball1 (blobs) to Ball2 (CSG) in the following:

//START

#macro GeodesicBlob(n,R,Obj,k)
    #if (n=0)
      cylinder{-z,z,Obj,k}
    #else
      #local nL=pow(2,(n-1));
      #local i=-nL;
      #while (i<=nL)
        #local nS=4*(nL-abs(i));
        #if (nS=0)
            cylinder{-z,z,Obj,k translate<0,0,-R> rotate x*i*90/nL}
        #else

          #local j=0;
          #while (j<nS)
            cylinder{-z,z,Obj,k translate<0,0,-R> rotate x*i*90/nL rotate
y*j*360/nS}
            #local j=j+1;
          #end

        #end
        #local i=i+1;
      #end
    #end
#end

#macro Geodesic(n,R,Obj)
    #if (n=0)
      cylinder{-z,z,Obj}
    #else
      #local nL=pow(2,(n-1));
      #local i=-nL;
      #while (i<=nL)
        #local nS=4*(nL-abs(i));
        #if (nS=0)
            cylinder{-z,z,Obj translate<0,0,-R> rotate x*i*90/nL}
        #else

          #local j=0;
          #while (j<nS)
            cylinder{-z,z,Obj translate<0,0,-R> rotate x*i*90/nL rotate
y*j*360/nS}
            #local j=j+1;
          #end

        #end
        #local i=i+1;
      #end
    #end
#end


#declare R0=40;
#declare R2=0.5;
#declare OS=5;
#declare X0=sqrt(pow(R0,2)-pow(OS,2));

#declare OS1=OS*(R0-R2)/R0;
#declare R1=X0*(R0-R2)/R0;
#declare RR=R0-2*R2;

#declare D=0.1;

#declare Ball1=
difference{
  blob{
    threshold D
    sphere{0,RR/sqrt(1-sqrt(D)),1}
    GeodesicBlob(5,RR,2,-0.01)
  }
  bounded_by{sphere{0,40}}
  rotate y*40
  pigment{rgb 1}
}


#declare Ball2=
difference{
  sphere{0,RR}
  Geodesic(6,RR,1)
  bounded_by{sphere{0,40}}
  rotate y*40
  pigment{rgb 1}
}

object{Ball2}

//END

-tgq


Post a reply to this message

Goto Latest 10 Messages Next 2 Messages >>>

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