|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Im sorry to bother you with something so silly and stupid, but I simply
cannot get my media to work. I have checked the docs, checked other
people's media, fiddled with the parameters, fiddled with the controls,
the ouput is set to level 9 (the highest), and my media test (first try
with it) does not show. I know its going to be something stupid I
forgot to turn one, but anyways, here is the code, in case you need it.
thanks in advance,
Matt
camera
{
location <0,3,-12>
look_at <0,0,0>
}
light_source
{
<0,4,-1>
color rgb 4
}
plane
{
y,0
pigment
{
color rgb <.6,.6,.8>
}
}
sphere
{
<0,3,0> 3
texture
{
pigment
{
color rgbt <0,1,1,0>
}
}
interior
{
media
{
absorption <.8,.2,.1>
emission <.2,.7,.75>
scattering
{
2
color rgb <.2,.2,1>
}
density
{
spherical
density_map
{
[0.0 color rgb 0 ]
[1.0 color rgb 1 ]
}
}
}
}
}
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
How about adding "hollow" to the sphere?
--
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <3fb42f06@news.povray.org>, Warp <war### [at] tagpovrayorg>
wrote:
> How about adding "hollow" to the sphere?
Thanks. I knew it would be something stupid.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Nah not stupid but you'll soon learn to look for the keyword "hollow" where
there is a not_showing_f*cking_media :-)
Hope your headache is gone :)
Marc
mat### [at] netplexaussieorg...
> In article <3fb42f06@news.povray.org>, Warp <war### [at] tagpovrayorg>
> wrote:
>
> > How about adding "hollow" to the sphere?
>
> Thanks. I knew it would be something stupid.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Matthew Pace <mat### [at] lycoscom> wrote:
> > How about adding "hollow" to the sphere?
> Thanks. I knew it would be something stupid.
It's not stupid.
In my opinion it's more like a design flaw which is there for historical
reasons.
Firstly, the keyword itself is misleading and causes a lot of confusion
(people use it for the wrong reason in places where there's absolutely
no reason to use it, and when you really need to use it (like in this
case), it's very difficult to figure out). A better keyword would be,
for example, "allow_media".
Secondly, "hollow" (or better "allow_media") should be *on* by default
if the object has an interior with a media (and off by default for objects
without media defined in their interior). It's extremely unusual to define
a media for an object and not wanting it to show up (if you really want
it to behave like this, you could write "hollow off" explicitly).
Thirdly, the "hollow" ("allow_media") functionality should perhaps be
extended so that you could allow the media of the object itself to appear
inside of the object, but disallow any external media to show up inside
this object. This way you could have an object with its own media and which
does not allow any other media inside it (a glass ball with variable
coloration inside it is a good example: Even though it has a variable
coloration thorough its entire volume, which is achievable with media,
it still doesn't show eg. fog inside it because it's solid glass).
--
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <3fb54524@news.povray.org>, Warp <war### [at] tagpovrayorg>
wrote:
> Matthew Pace <mat### [at] lycoscom> wrote:
> > > How about adding "hollow" to the sphere?
>
> > Thanks. I knew it would be something stupid.
>
> It's not stupid.
> In my opinion it's more like a design flaw which is there for historical
> reasons.
>
> Firstly, the keyword itself is misleading and causes a lot of confusion
> (people use it for the wrong reason in places where there's absolutely
> no reason to use it, and when you really need to use it (like in this
> case), it's very difficult to figure out). A better keyword would be,
> for example, "allow_media".
>
> Secondly, "hollow" (or better "allow_media") should be *on* by default
> if the object has an interior with a media (and off by default for objects
> without media defined in their interior). It's extremely unusual to define
> a media for an object and not wanting it to show up (if you really want
> it to behave like this, you could write "hollow off" explicitly).
>
> Thirdly, the "hollow" ("allow_media") functionality should perhaps be
> extended so that you could allow the media of the object itself to appear
> inside of the object, but disallow any external media to show up inside
> this object. This way you could have an object with its own media and which
> does not allow any other media inside it (a glass ball with variable
> coloration inside it is a good example: Even though it has a variable
> coloration thorough its entire volume, which is achievable with media,
> it still doesn't show eg. fog inside it because it's solid glass).
Thanks a lot, I agree with all of that. I already had similar feelings
about the first and second parts, but the third suggestion is a good
point.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <3fb47bb9@news.povray.org>,
"Marc Jacquier" <jac### [at] wanadoofr> wrote:
> Nah not stupid but you'll soon learn to look for the keyword "hollow" where
> there is a not_showing_f*cking_media :-)
> Hope your headache is gone :)
> Marc
> mat### [at] netplexaussieorg...
> > In article <3fb42f06@news.povray.org>, Warp <war### [at] tagpovrayorg>
> > wrote:
> >
> > > How about adding "hollow" to the sphere?
> >
> > Thanks. I knew it would be something stupid.
>
>
Yes, it is, thanks!
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <3fb54524@news.povray.org>, Warp <war### [at] tagpovrayorg>
wrote:
> Thirdly, the "hollow" ("allow_media") functionality should perhaps be
> extended so that you could allow the media of the object itself to appear
> inside of the object, but disallow any external media to show up inside
> this object. This way you could have an object with its own media and which
> does not allow any other media inside it (a glass ball with variable
> coloration inside it is a good example: Even though it has a variable
> coloration thorough its entire volume, which is achievable with media,
> it still doesn't show eg. fog inside it because it's solid glass).
I agree completely. This is the system I suggested some time ago:
Specifying media in an object makes that media visible. Specifying
hollow allows media from outside the object to penetrate it. This is the
only way that makes sense to me. I can not conceive of any reason to
have media in an object which has no way of ever being rendered.
I don't think fixing this would break many, if any scenes. All that
would be required is for non-hollow objects with media to have visible
media. Hollow objects would work the same, and non-hollow objects with
media probably weren't working the way they were intended anyway.
Think of a marble in a bowl of milk: the marble has media because it has
varying coloration throughout it, the milk has media because it is
translucent. The marble certainly should not be hollow, but it makes
perfect sense for it to contain media.
--
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|