|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
To Joe (p.general)
This is what happens when you push the fluid through the bottle wall.
Thomas
Post a reply to this message
Attachments:
Download 'fluid_test.png' (274 KB)
Preview of image 'fluid_test.png'
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Le 22/08/2012 10:14, Thomas de Groot a écrit :
> To Joe (p.general)
>
> This is what happens when you push the fluid through the bottle wall.
>
> Thomas
I'm sure I can correct it, with a different approach.
can you provide the scene file, please ?
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On 22-8-2012 12:15, Le_Forgeron wrote:
>
> I'm sure I can correct it, with a different approach.
> can you provide the scene file, please ?
>
>
I'll be delighted :-)
Note that I only tried to see what happened in case the fluid
intersected the bottle thickness. I have not tried your previous
suggestions.
The only important code used is this. I experimented by switching on or
off the different hollow terms. Only with the fluid scale commented out
is the scene /realistic/.
//start code
union {
//bottle:
difference {
box {-1, 1 hollow}
box {-0.8, <0.8, 1.1, 0.8> hollow}
material {
texture {pigment {rgbt 1}}
interior {
ior 1.5
media {samples 100 scattering {1, srgb <0, 1, 1>*0.5}}
}
}
}
//fluid:
box {
-0.799, <0.799, 0.5, 0.799> scale 1.1
hollow
material {
texture {pigment {rgbt 1}}
interior {
ior 1.3
media {samples 100 scattering {1, srgb <1,0,0>}}
}
}
}
rotate 35*y
}
//end code
Thomas
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On 22-8-2012 10:14, Thomas de Groot wrote:
> To Joe (p.general)
>
> This is what happens when you push the fluid through the bottle wall.
>
> Thomas
With the same code, this would be the object with the fluid just inside
the glass. Additionally I made the glass a bit more opaque (transmit 0.9).
Thomas
Post a reply to this message
Attachments:
Download 'fluid_test.png' (250 KB)
Preview of image 'fluid_test.png'
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Le 22/08/2012 13:29, Thomas de Groot a écrit :
> I'll be delighted :-)
>
> Note that I only tried to see what happened in case the fluid
> intersected the bottle thickness. I have not tried your previous
> suggestions.
That's what I intend to do.
>
> The only important code used is this. I experimented by switching on or
> off the different hollow terms. Only with the fluid scale commented out
> is the scene /realistic/.
I was rather interested in the environment setting (so as to provide at
the end a very similar picture).
Any chance to get full scene in p.b.scene-files ?
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On 22-8-2012 13:59, Le_Forgeron wrote:
> I was rather interested in the environment setting (so as to provide at
> the end a very similar picture).
>
> Any chance to get full scene in p.b.scene-files ?
>
Can do.
Thomas
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Le 22/08/2012 10:14, Thomas de Groot nous fit lire :
> To Joe (p.general)
>
> This is what happens when you push the fluid through the bottle wall.
>
> Thomas
No need to have more than one surface per boundary, illustrated.
The fine eyes will spot the excess of liquid in the corners (here on
purpose, scene in p.b.scene-files, to exaggerate the overlap of air &
liquid)
Post a reply to this message
Attachments:
Download 'fluid_test2.png' (286 KB)
Preview of image 'fluid_test2.png'
|
|
| |
| |
|
|
|
|
| |