|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi folks,
I am having difficulty filling a closed mesh (made in Rhino v1.1,
exported as "pov-mesh") with media of any kind. Am I missing something?
I have checked the docs and there is no mention (that I can find) of
this issue.
thanks,
paul
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
paul jones <pdj### [at] psuedu> wrote:
: I am having difficulty filling a closed mesh (made in Rhino v1.1,
: exported as "pov-mesh") with media of any kind. Am I missing something?
Meshes have no inside, which means they have no interior, which means
they can't have media.
--
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
well, that is no good.... :-(
thanks!
paul
Warp wrote:
> paul jones <pdj### [at] psuedu> wrote:
> : I am having difficulty filling a closed mesh (made in Rhino v1.1,
> : exported as "pov-mesh") with media of any kind. Am I missing something?
>
> Meshes have no inside, which means they have no interior, which means
> they can't have media.
>
> --
> #macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
> rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
> ],13),8)-3,10>#end blob{N(array[6]{11117333955,
> 7382340,3358,3900569407,970,4254934330},0)}// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Warp <war### [at] tagpovrayorg> wrote:
> Meshes have no inside, which means they have no interior, which means
> they can't have media.
Almost right - except a quick experiment reveals that media can indeed be
placed inside a closed mesh, provided the hollow keyword is specified for
the mesh object (3.1 and 3.5).
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
made hollow ?
--
Jan Walzer <jan### [at] lzernet>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Which means that Gilles is a god.
--
Jonathan.
"Warp" <war### [at] tagpovrayorg> ha scritto nel messaggio
news:3bf910ea@news.povray.org...
> paul jones <pdj### [at] psuedu> wrote:
> : I am having difficulty filling a closed mesh (made in Rhino v1.1,
> : exported as "pov-mesh") with media of any kind. Am I missing something?
>
> Meshes have no inside, which means they have no interior, which means
> they can't have media.
>
> --
> #macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
> rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
> ],13),8)-3,10>#end blob{N(array[6]{11117333955,
> 7382340,3358,3900569407,970,4254934330},0)}// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On 19 Nov 2001 09:02:19 -0500, Warp wrote:
> paul jones <pdj### [at] psuedu> wrote:
>: I am having difficulty filling a closed mesh (made in Rhino v1.1,
>: exported as "pov-mesh") with media of any kind. Am I missing something?
>
> Meshes have no inside, which means they have no interior, which means
> they can't have media.
This is one of those oft-misunderstood things. Patch objects do have an
interior, because none of the interior effects (media, IOR, attenuation, etc.)
care about whether a point is inside or outside the object. I've demonstrated
this before, but just for the heck of it...
#include "textures.inc"
plane {-z,-5
pigment {Hex_Tiles_Ptrn() color_map {[.1 rgb 1][.1 rgb 0]} rotate 90*x
scale .5}
finish {ambient 1}
}
union {
bicubic_patch {type 1 u_steps 3 v_steps 3
<-1,-1,0> <-1,-.5,0> <-1,.5,0> <-1,1,0>
<-.5,-1,0> <-.5,-.5,.5> <-.5,.5,.5> <-.5,1,0>
<.5,-1,0> <.5,-.5,.5> <.5,.5,.5> <.5,1,0>
<1,-1,0> <1,-.5,0> <1,.5,0> <1,1,0>
}
bicubic_patch {type 1 u_steps 3 v_steps 3
<-1,-1,0> <-1,-.5,0> <-1,.5,0> <-1,1,0>
<-.5,-1,0> <-.5,-.5,-.5> <-.5,.5,-.5> <-.5,1,0>
<.5,-1,0> <.5,-.5,-.5> <.5,.5,-.5> <.5,1,0>
<1,-1,0> <1,-.5,0> <1,.5,0> <1,1,0>
}
pigment {color rgbt 1}
interior {ior 1.5}
}
camera {location -5*z look_at 0}
--
plane{-z,-3normal{crackle scale.2#local a=5;#while(a)warp{repeat x flip x}rotate
z*60#local a=a-1;#end translate-9*x}pigment{rgb 1}}light_source{-9red 1rotate 60
*z}light_source{-9rgb y rotate-z*60}light_source{9-z*18rgb z}text{ttf"arial.ttf"
"RP".01,0translate-<.6,.4,.02>pigment{bozo}}light_source{-z*3rgb-.2}//Ron Parker
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
3bf910ea@news.povray.org...
> Meshes have no inside, which means they have no interior, which means
> they can't have media.
Media work very well with meshes, even non closed ones. There's really
nothing special here.
See my (and other people's) subsurface scattering posts in p.b.i. of some
weeks ago. The head is an open mesh. Yep, it looks funky where the mesh is
open but nobody's obliged to look there.
Now repeat after me : "Test first, then answer, Test first, then answer..."
;-)
G.
--
**********************
http://www.oyonale.com
**********************
- Graphic experiments
- POV-Ray and Poser computer images
- Posters
> --
> #macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
> rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
> ],13),8)-3,10>#end blob{N(array[6]{11117333955,
> 7382340,3358,3900569407,970,4254934330},0)}// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> Now repeat after me : "Test first, then answer, Test first, then answer..."
> ;-)
*LoL*
--
Jan Walzer <jan### [at] lzernet>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Ron Parker <ron### [at] povrayorg> wrote:
: This is one of those oft-misunderstood things.
No-one is perfect. Not even me. :P
--
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|