POV-Ray : Newsgroups : povray.binaries.images : Bottle Server Time
13 Aug 2024 19:21:10 EDT (-0400)
  Bottle (Message 1 to 10 of 11)  
Goto Latest 10 Messages Next 1 Messages >>>
From: Optium
Subject: Bottle
Date: 22 Jan 2003 00:57:38
Message: <3e2e32d2$1@news.povray.org>
This is looking pretty crappy so far, but the main problem is getting rid of
the overlapping shapes. I looked through some tutorials for a while but
couldn't find anything that worked, so I figured I'd post here before I go
to bed. Any input would be greatly appreciated.
Thanks in advance,
Optium


Post a reply to this message


Attachments:
Download 'Bottle.jpg' (15 KB)

Preview of image 'Bottle.jpg'
Bottle.jpg


 

From: hughes, b 
Subject: Re: Bottle
Date: 22 Jan 2003 01:20:36
Message: <3e2e3834$1@news.povray.org>
"Optium" <Opt### [at] coxnet> wrote in message
news:3e2e32d2$1@news.povray.org...
> This is looking pretty crappy so far, but the main problem is getting rid
of
> the overlapping shapes. I looked through some tutorials for a while but
> couldn't find anything that worked, so I figured I'd post here before I go
> to bed. Any input would be greatly appreciated.

The magic word is 'merge'. It removes the intersected surfaces. So if you
have the primitives in a union now just replace union with merge.


Post a reply to this message

From: Optium
Subject: Re: Bottle
Date: 22 Jan 2003 06:46:18
Message: <3e2e848a@news.povray.org>
I tried merge last night, and it does the same thing as union. I think this
may be because the objects are transparent...but I'm really not sure. But
thank you for the input.

"hughes, b." <omn### [at] charternet> wrote in message
news:3e2e3834$1@news.povray.org...
> "Optium" <Opt### [at] coxnet> wrote in message
> news:3e2e32d2$1@news.povray.org...
> > This is looking pretty crappy so far, but the main problem is getting
rid
> of
> > the overlapping shapes. I looked through some tutorials for a while but
> > couldn't find anything that worked, so I figured I'd post here before I
go
> > to bed. Any input would be greatly appreciated.
>
> The magic word is 'merge'. It removes the intersected surfaces. So if you
> have the primitives in a union now just replace union with merge.
>
>


Post a reply to this message

From: gilrain
Subject: Re: Bottle
Date: 22 Jan 2003 07:36:24
Message: <3e2e9048$1@news.povray.org>
Actually, I think this looks really great as a kind of abstract of a bottle.
I like being able to see the primitives... looks cool! :)


"Optium" <Opt### [at] coxnet> wrote in message
news:3e2e32d2$1@news.povray.org...
> This is looking pretty crappy so far, but the main problem is getting rid
of
> the overlapping shapes. I looked through some tutorials for a while but
> couldn't find anything that worked, so I figured I'd post here before I go
> to bed. Any input would be greatly appreciated.
> Thanks in advance,
> Optium
>
>
>


Post a reply to this message

From: Hugo Asm
Subject: Re: Bottle
Date: 22 Jan 2003 08:05:05
Message: <3e2e9701$1@news.povray.org>
> I tried merge last night, and it does the same thing as union.
> I think this may be because the objects are transparent..

Hughes is right. If you have nested unions, be sure to use merge only in
those who combine surfaces that overlap. For example:

union {
    // bottle
    merge {
        cylinder { .... }
        sphere { ... }
        cylinder { .... }
    }

    // black bottle head
    union {
        sphere { ... }
        cylinder { .... }
    }
}

This is a nested union. It allows the whole bottle (with head) to be moved
in one piece, but I put the merge only where it's needed. If this still
doesn't work, I guess it's because you've made the overlapping objects
hollow?  This will be another story.

Regards,
Hugo


Post a reply to this message

From: Optium
Subject: Re: Bottle
Date: 22 Jan 2003 12:31:17
Message: <3e2ed565$1@news.povray.org>
*such a moron*
I guess trying to make this at 12 last night wasn't the best idea, I put the
merge in the wrong place (replacing the union in the black bottle top with
merge...instead of the union of the bottle pieces) *sighs*
Heh, well it's starting to look ok. Thanks for the help everyone :)

"Hugo Asm" <hua### [at] post3teledk> wrote in message
news:3e2e9701$1@news.povray.org...
> > I tried merge last night, and it does the same thing as union.
> > I think this may be because the objects are transparent..
>
> Hughes is right. If you have nested unions, be sure to use merge only in
> those who combine surfaces that overlap. For example:
>
> union {
>     // bottle
>     merge {
>         cylinder { .... }
>         sphere { ... }
>         cylinder { .... }
>     }
>
>     // black bottle head
>     union {
>         sphere { ... }
>         cylinder { .... }
>     }
> }
>
> This is a nested union. It allows the whole bottle (with head) to be moved
> in one piece, but I put the merge only where it's needed. If this still
> doesn't work, I guess it's because you've made the overlapping objects
> hollow?  This will be another story.
>
> Regards,
> Hugo
>
>


Post a reply to this message

From: Optium
Subject: Re: Bottle
Date: 23 Jan 2003 22:38:51
Message: <3e30b54b@news.povray.org>
Well the bottle is coming out nicely, so I figure I'll share the newest
versions of it. I'm still working on getting good water for the 2nd picture,
but the stuff I have will have to do :P


Post a reply to this message


Attachments:
Download 'BottleOcean.jpg' (37 KB) Download 'Bottle2.jpg' (9 KB)

Preview of image 'BottleOcean.jpg'
BottleOcean.jpg

Preview of image 'Bottle2.jpg'
Bottle2.jpg


 

From: Optium
Subject: Re: Bottle
Date: 23 Jan 2003 22:39:27
Message: <3e30b56f$1@news.povray.org>
eh, well the water one ended up being the first picture :P whatever
"Optium" <Opt### [at] coxnet> wrote in message news:3e30b54b@news.povray.org...
> Well the bottle is coming out nicely, so I figure I'll share the newest
> versions of it. I'm still working on getting good water for the 2nd
picture,
> but the stuff I have will have to do :P
>
>
>


Post a reply to this message

From: St 
Subject: Re: Bottle
Date: 24 Jan 2003 01:28:54
Message: <3e30dd26@news.povray.org>
"Optium" <Opt### [at] coxnet> wrote in message
news:3e30b54b@news.povray.org...

       Coming along nicely, but at the moment, your glass looks like
plastic imo. Not sure if that's intended or not, but if not, try this:

  texture {
  T_Glass2
  finish {ambient 0 specular .03  roughness .001 reflection .02 }}
  interior { ior 1.28  caustics 2 }
  }

   (You can take the ior 1.28 up to 1.33 for glass)

   Also, I can't figure out if you have a glass wall thickness
there(?) - it doesn't look like it, so you might want to try that for
better effect.

    ~Steve~


Post a reply to this message

From: Johannes Dahlstrom
Subject: Re: Bottle
Date: 24 Jan 2003 01:34:02
Message: <3e30de5a@news.povray.org>
St. wrote:

>    (You can take the ior 1.28 up to 1.33 for glass)

Hmm, isn't 1.33 the ior of water? Glass has an ior of about 1.5.


Post a reply to this message

Goto Latest 10 Messages Next 1 Messages >>>

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