|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi, I am working on the lighting and shading of the lava, which is expressed
in mesh. The lava surface is closed and I was wondering if I can make it
solid (instead of hollow).
Thanks,
Connie
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In POV 3.5 meshes are considered as solid objects to my knowledge. Try
adding:
inside_vector <0,0,1>
inside the mesh{} brackets (see section 6.5.2.3.1) in the POV docs for more
info on this. With this one line added you should be able to use the mesh
in CSG operations. Make sure it's a mesh, by the way... not a union of
triangles. Two totally different things.
--
Doug Eichenberg
www.getinfo.net/douge
dou### [at] nlsnet
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Connie <kni### [at] umailucsbedu> wrote:
> Hi, I am working on the lighting and shading of the lava, which is expressed
> in mesh. The lava surface is closed and I was wondering if I can make it
> solid (instead of hollow).
You should be more specific about what do you mean by solid because it's
not an unambiguous term.
Do you mean that the surface of the mesh is partially transparent and
because of that you can see that the object is only a surface and not
thoroughly filled with substance?
Or are you talking about CSG?
--
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> You should be more specific about what do you mean by solid because it's
>not an unambiguous term.
> Do you mean that the surface of the mesh is partially transparent and
>because of that you can see that the object is only a surface and not
>thoroughly filled with substance?
> Or are you talking about CSG?
I declare lava in an include file and the following is the texture,
finish...for the lava.
It turned out the object is only a surface and not thoroughly filled with
substance.
I also replaced lava by a sphere and it turned out nice.
object{ lava
texture {
pigment {color MediumSpringGreen transmit 0.7 }
}
finish{ diffuse 0.65 specular 0.35 roughness 0.02}
interior { ior 3.1
media {
emission <0.5, 0.2, 1.0>
}
}
double_illuminate
}
Thanks,
Connie
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Connie wrote:
>
> > You should be more specific about what do you mean by solid because it's
> >not an unambiguous term.
> > Do you mean that the surface of the mesh is partially transparent and
> >because of that you can see that the object is only a surface and not
> >thoroughly filled with substance?
> > Or are you talking about CSG?
>
> I declare lava in an include file and the following is the texture,
> finish...for the lava.
>
> It turned out the object is only a surface and not thoroughly filled with
> substance.
>
> I also replaced lava by a sphere and it turned out nice.
>
> object{ lava
>
> texture {
> pigment {color MediumSpringGreen transmit 0.7 }
> }
> finish{ diffuse 0.65 specular 0.35 roughness 0.02}
> interior { ior 3.1
> media {
> emission <0.5, 0.2, 1.0>
> }
> }
> double_illuminate
> hollow
> }
You need to add 'hollow' to your lava object to enable the media (see above).
This is covered in section "6.5.9.5 Hollow" of the docs.
--
Ken Tyler
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Ken wrote:
> > interior { ior 3.1
P.S. you might get better results if you lower your ior value to something
a little more realistic. Say somewhere between 1.5 and 2.0.
--
Ken Tyler
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |