|
|
Hi,
I need some nice bubbles for a nearly finished illustration, so I've checked out
the "Carbonated fluid bubble generator" from the objects collection.
I just dumped a camera and two area lights and a background into the scene (see
below) and added the lines with the example from the .inc file.
However, I can't find a single bubble in the rendered image (tried to fiddle
around with the camera position and lights abit, but still I don't see
anything).
Any suggestions, what could be the problem?
Thanks a lot,
Simone
--------
// perspective (default) camera
camera {
location <0.0, 2.0, -8.0>
look_at <0.0, 0.0, 0.0>
right x*image_width/image_height
}
// An area light (creates soft shadows)
// WARNING: This special light can significantly slow down rendering times!
light_source {
0*x // light's position (translated below)
color rgb 1.0 // light's color
area_light
<8, 0, 0> <0, 0, 8> // lights spread out across this distance (x * z)
4, 4 // total number of lights in grid (4x*4z = 16 lights)
adaptive 0 // 0,1,2,3...
jitter // adds random softening of light
circular // make the shape of the light circular
orient // orient light
translate <40, 80, -40> // <x y z> position of light
}
// An area light (creates soft shadows)
// WARNING: This special light can significantly slow down rendering times!
light_source {
0*x // light's position (translated below)
color rgb 1.0 // light's color
area_light
<8, 0, 0> <0, 0, 8> // lights spread out across this distance (x * z)
4, 4 // total number of lights in grid (4x*4z = 16 lights)
adaptive 0 // 0,1,2,3...
jitter // adds random softening of light
circular // make the shape of the light circular
orient // orient light
translate <40, 80, 40> // <x y z> position of light
}
// set a color of the background (sky)
background { color rgb <0.4, 0.4, 0.4> }
#include "bubble.inc"
// Example from bubble.inc file
#declare bblTexture = texture {finish {ambient 0.3 diffuse 0.1 reflection 0.25
specular 1 roughness 0.001} pigment {color rgbf <1,1,1,0.7>}}
#declare bubbleGenerator =
mBubbleGenerator(0,0.9,0,0,6.5,0,2.4,2.7,0.0005,0.0006,70,bblTexture)
Post a reply to this message
|
|