POV-Ray : Newsgroups : povray.binaries.images : WIP: Balloon Trip (higher quality) Server Time
13 Aug 2024 17:28:45 EDT (-0400)
  WIP: Balloon Trip (higher quality) (Message 1 to 10 of 10)  
From: Greg Edwards
Subject: WIP: Balloon Trip (higher quality)
Date: 2 Feb 2003 19:26:18
Message: <1n9s1rv5119aq$.irz6fsgrawv5.dlg@40tude.net>
Some aspects are still lacking but this took a full week to render! The 
water looks milky because of bad media settings but I don't think this will 
interfere much in the rad load render. (dat's right, this WAS ONLY THE 
SAVE!) I've really gotta cut back on these effects...


Post a reply to this message


Attachments:
Download 'wip_balloon_trip_02.jpg' (118 KB)

Preview of image 'wip_balloon_trip_02.jpg'
wip_balloon_trip_02.jpg


 

From: Greg Edwards
Subject: Re: WIP: Balloon Trip (higher quality)
Date: 3 Feb 2003 16:29:57
Message: <xv2eemapfqfd.gmv1u29w90wu$.dlg@40tude.net>
Full quality render of Balloon Trip is attached. It's still a WIP because I 
still need to make the burner and possibly some other details and add a few 
more balloons. Comments and suggestions welcome!


Post a reply to this message


Attachments:
Download 'wip_balloon_trip_03.jpg' (104 KB)

Preview of image 'wip_balloon_trip_03.jpg'
wip_balloon_trip_03.jpg


 

From: Ryan Mooney
Subject: Re: WIP: Balloon Trip (higher quality)
Date: 3 Feb 2003 20:07:56
Message: <3E3F126F.3FC98329@earthlink.net>
CARTOONEY... =]

Greg Edwards wrote:

> Some aspects are still lacking but this took a full week to render! The
> water looks milky because of bad media settings but I don't think this will
> interfere much in the rad load render. (dat's right, this WAS ONLY THE
> SAVE!) I've really gotta cut back on these effects...
>
>   ------------------------------------------------------------------------
>                                  Name: wip_balloon_trip_02.jpg
>    wip_balloon_trip_02.jpg       Type: JPEG Image (image/JPEG)
>                              Encoding: Base64
>                           Description: Attached file: wip_balloon_trip_02.jpg


Post a reply to this message

From: obj
Subject: Re: WIP: Balloon Trip (higher quality)
Date: 17 Feb 2003 15:05:04
Message: <web.3e513f3a259c916c28514b50@news.povray.org>
Greg Edwards wrote:
>Some aspects are still lacking but this took a full week to render! The
>water looks milky because of bad media settings but I don't think this will
>interfere much in the rad load render. (dat's right, this WAS ONLY THE
>SAVE!) I've really gotta cut back on these effects...
>

hi greg ...

found your post via a search for balloon ...
just beginning to try building one and how to go about it.
any chance of sharing the isosurface portion of the code?

thanks
-obj-


Post a reply to this message

From: Greg Edwards
Subject: Re: WIP: Balloon Trip (higher quality)
Date: 17 Feb 2003 19:44:41
Message: <1bu6m9t87dsi8.1calxuyeh3uqf$.dlg@40tude.net>
On Mon, 17 Feb 2003 14:59:55 EST, obj wrote:

> Greg Edwards wrote:
>>Some aspects are still lacking but this took a full week to render! The
>>water looks milky because of bad media settings but I don't think this will
>>interfere much in the rad load render. (dat's right, this WAS ONLY THE
>>SAVE!) I've really gotta cut back on these effects...
>>
> 
> hi greg ...
> 
> found your post via a search for balloon ...
> just beginning to try building one and how to go about it.
> any chance of sharing the isosurface portion of the code?
> 
> thanks
> -obj-

Well the basics of it was to take a cylinder and add a sine wave about the 
theta to it. All the troughs of the sine wave were inverted by taking the 
absolute value (making 2 bumps per sine wave repeat). The rest was playing 
with functions to get the width right and clipping with ordinary CSG. 
Here's the function I used, and I might make the whole thing available if 
people want it and I can manage to clean up the cancerously messy code 
(1609 lines ATM).

#declare f_Balloon =
function
 {
  x*x+y*y*y-y*y+z*z-abs(sin(atan2(x,z)*12))*-(pow(((y*2.1)-1.1), 2)-1)*0.02
 }

Good luck! Just make sure to give me credit where you happen to use it, and 
let me see your results! :-)


Post a reply to this message

From: obj
Subject: Re: WIP: Balloon Trip (higher quality)
Date: 17 Feb 2003 23:40:06
Message: <web.3e51b833259c916c5668f520@news.povray.org>
Greg Edwards wrote:
>On Mon, 17 Feb 2003 14:59:55 EST, obj wrote:
>#declare f_Balloon =
>function
> {
>  x*x+y*y*y-y*y+z*z-abs(sin(atan2(x,z)*12))*-(pow(((y*2.1)-1.1), 2)-1)*0.02
> }
>
>Good luck! Just make sure to give me credit where you happen to use it, and
>let me see your results! :-)

thanks ...
just a fun thing for my grandaughter ...
wanted to project her face onto a balloon for her and
place it in a photograph of an actual balloon race.
will see what we come up with.
i'll tell her it came from you ;)

-ob-


Post a reply to this message

From: obj
Subject: Re: WIP: Balloon Trip (higher quality)
Date: 18 Feb 2003 16:15:09
Message: <web.3e52a17b259c9165526473a0@news.povray.org>
Greg Edwards wrote:

>The rest was playing with functions to get the width right and clipping
>with ordinary CSG.

hello greg ...

played with it a bit today.
rather than clip using csg here's what i did:
with the threshold set at 0.003, i got a nice taper at the
bottom of the balloon instead of having it pinch off at zero.
the box containing it also serves to cut it off without having
to later do some difference function with it as an object to
lose the surface below zero Y. this uncomplicates things.
that also dropped the max_gradient from 6 or 7 to 1.4 or so
and that helped me speed up the render. ( however, looks like
that is dependant on the final location of the balloon in the
scene and not just the isosurface function.
just when i thought i had figured out how max_gradient worked. ;)
perhaps you will find some of this of use now or in the future.
(no way to post attachments from here right now.)

thanks again for getting me headed in the right direction.

isosurface {
  function {
  x*x+y*y*y-y*y+z*z-abs(sin(atan2(x,z)*12))*-(pow(((y*2.1)-1.1),
  2)-1)*0.02}
     threshold 0.003
     max_gradient 1.5
     contained_by {box { <-0.45,-0.03,-0.45>,<0.45,1,0.45> }}
}

-ob-


Post a reply to this message

From: Roy
Subject: Re: WIP: Balloon Trip (higher quality)
Date: 2 Mar 2003 19:00:10
Message: <web.3e6299d6259c916727bafae0@news.povray.org>
Greg Edwards wrote:
>Some aspects are still lacking but this took a full week to render! The
>water looks milky because of bad media settings but I don't think this will
>interfere much in the rad load render. (dat's right, this WAS ONLY THE
>SAVE!) I've really gotta cut back on these effects...
>

Hi Greg

I'm very impressed with "Balloon Trip".  I'm trying to create a beach ball
and have used your code to create the ball.  Just changed to 6 sections
(panels) instead of 12 and look down on the top of the balloon.  This works
fairly well but I have only been able to create a one color ball.  I am a
newbie to POV-Ray and have absolutely no idea how to give a different color
to each panel as your balloon has; not much of a beach ball with only one
color.  Could you please let me know how to apply multiple colors.

  Thanks
    Roy


Post a reply to this message

From: Greg Edwards
Subject: Re: WIP: Balloon Trip (higher quality)
Date: 2 Mar 2003 19:59:45
Message: <14jvj8x21y6gn$.hlsxzud9j6kt$.dlg@40tude.net>
On Sun,  2 Mar 2003 18:55:03 EST, Roy wrote:

> Greg Edwards wrote:
>>Some aspects are still lacking but this took a full week to render! The
>>water looks milky because of bad media settings but I don't think this will
>>interfere much in the rad load render. (dat's right, this WAS ONLY THE
>>SAVE!) I've really gotta cut back on these effects...
>>
> 
> Hi Greg
> 
> I'm very impressed with "Balloon Trip".  I'm trying to create a beach ball
> and have used your code to create the ball.  Just changed to 6 sections
> (panels) instead of 12 and look down on the top of the balloon.  This works
> fairly well but I have only been able to create a one color ball.  I am a
> newbie to POV-Ray and have absolutely no idea how to give a different color
> to each panel as your balloon has; not much of a beach ball with only one
> color.  Could you please let me know how to apply multiple colors.
> 
>   Thanks
>     Roy

Use a radial pattern type. It works a lot like the gradient pattern only 
it's ...radial! Your code could be something like this:

pigment
 {
  radial frequency 6
  colour_map
   {
    [1/6 FirstColour]
    [2/6 FirstColour]
    [2/6 SecondColour]
    [3/6 SecondColour]
    // and so on...
   }
 }

Another hint is to only use the abs(sin(atan2(x,z)*12)) part of my code and 
subtract it from a sphere (x*x+y*y+z*z-1) to make your ball round. :-)

I know, it took me a while to figure this out, too!


Post a reply to this message

From: Roy
Subject: Re: WIP: Balloon Trip (higher quality)
Date: 3 Mar 2003 00:20:03
Message: <web.3e62e521259c916727bafae0@news.povray.org>
Greg Edwards wrote:
>On Sun,  2 Mar 2003 18:55:03 EST, Roy wrote:
>
>> Greg Edwards wrote:
>>>Some aspects are still lacking but this took a full week to render! The
>>>water looks milky because of bad media settings but I don't think this will
>>>interfere much in the rad load render. (dat's right, this WAS ONLY THE
>>>SAVE!) I've really gotta cut back on these effects...
>>>
>>
>> Hi Greg
>>
>> I'm very impressed with "Balloon Trip".  I'm trying to create a beach ball
>> and have used your code to create the ball.  Just changed to 6 sections
>> (panels) instead of 12 and look down on the top of the balloon.  This works
>> fairly well but I have only been able to create a one color ball.  I am a
>> newbie to POV-Ray and have absolutely no idea how to give a different color
>> to each panel as your balloon has; not much of a beach ball with only one
>> color.  Could you please let me know how to apply multiple colors.
>>
>>   Thanks
>>     Roy
>
>Use a radial pattern type. It works a lot like the gradient pattern only
>it's ...radial! Your code could be something like this:
>
>pigment
> {
>  radial frequency 6
>  colour_map
>   {
>    [1/6 FirstColour]
>    [2/6 FirstColour]
>    [2/6 SecondColour]
>    [3/6 SecondColour]
>    // and so on...
>   }
> }
>
>Another hint is to only use the abs(sin(atan2(x,z)*12)) part of my code and
>subtract it from a sphere (x*x+y*y+z*z-1) to make your ball round. :-)
>
>I know, it took me a while to figure this out, too!
>
Greg

Thanks for the reply.  I'm going to give this a try.  I'll let you know how
I  make out.

  Roy


Post a reply to this message

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