|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
When I try to render this object Povray tells me it is infinite. The
"bounded_by"
seems to have no effect on this object. Why does Povray think this is
infinite?
#declare One =
difference {
height_field {
tga "MyPicture.tga"
smooth
hierarchy on
translate <-0.5, -0.5, -0.5>
rotate <-90,0,0>
scale <0.3,1,0.1>
photons {target reflection on}
}
box{<-0.2,-0.6,-0.02>,<0.2,0.6,2> pigment {rgbft <1,1,1,0,1>}
no_shadow no_reflection no_image photons {collect off}
}
bounded_by { box{<-5,-5,-5>,<5,5,5>}}
}
object{One}
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Patrick Dugan <pat### [at] usnetcomcorpcom> wrote:
> When I try to render this object Povray tells me it is infinite.
So?
> The "bounded_by" seems to have no effect on this object.
Why should it?
bounded_by does not change the shape or dimensions of an object. It's
not CSG.
> Why does Povray think this is infinite?
Because it is?
--
#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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I'm trying to use it with photons and reduce the time it requires. That is
why. I see no reason why this
would be infinite.
"Warp" <war### [at] tagpovrayorg> wrote in message
news:3caa048e@news.povray.org...
> Patrick Dugan <pat### [at] usnetcomcorpcom> wrote:
> > When I try to render this object Povray tells me it is infinite.
>
> So?
>
> > The "bounded_by" seems to have no effect on this object.
>
> Why should it?
> bounded_by does not change the shape or dimensions of an object. It's
> not CSG.
>
> > Why does Povray think this is infinite?
>
> Because it is?
>
> --
> #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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Ah, I see.
The problem is that the box is inverted. (It's implicitly inverted because
you are using a difference.)
But there's a solution to the problem: Clip the entire CSG with for
example a box.
--
#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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
The inverted box should still not be infinite. Clipping the entire csg
results in no image!
"Warp" <war### [at] tagpovrayorg> wrote in message
news:3caa07cd@news.povray.org...
> Ah, I see.
> The problem is that the box is inverted. (It's implicitly inverted
because
> you are using a difference.)
> But there's a solution to the problem: Clip the entire CSG with for
> example a box.
>
> --
> #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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Patrick Dugan <pat### [at] usnetcomcorpcom> wrote:
> The inverted box should still not be infinite.
An inverted box is infinite.
> Clipping the entire csg
> results in no image!
How did you clip it?
Just add something like clipped_by { box { -1,1 } } at the end of the CSG
or whatever.
--
#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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Warp" wrote:
> Patrick Dugan <pat### [at] usnetcomcorpcom> wrote:
> > The inverted box should still not be infinite.
>
> An inverted box is infinite.
No, it's not.
At least not from POV-Ray's point of view (just try).
--
Jonathan.
Home: http://digilander.iol.it/jrgpov
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Tue, 2 Apr 2002 23:50:35 +0200, "JRG" <jrg### [at] hotmailcom> wrote:
> > An inverted box is infinite.
>
> No, it's not.
it is
> At least not from POV-Ray's point of view (just try).
ok, try inverse box - it is hole in everything
// begin scene
box{-1 1 translate z*10 inverse}
// end scene
Warning: Camera is _inside_ a non-hollow object.
And put camera anywhere to test where box will finish.
But You can be mistaken by:
// begin scene
#include "strings"
#local B=box{-1 1 translate z*10 inverse}
#warning VStr(min_extent(B))
#warning VStr(max_extent(B))
// end scene
but min/max_extent returns coordinates of _bounding box_ which isn't object but
speed trick - as documentation says: "the bounding box does not represent the
actual dimensions of the object".
ABX
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
That does not make it an infinite object.
I can read:
"scene contains 1 frame level objects; 0 infinite".
Either an inverted object isn't infinite, or that message is wrong.
BTW, I used difference many times, and my CSG objects never happened to become
infinte.
--
Jonathan.
Home: http://digilander.iol.it/jrgpov
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <f1akau43uc8teqpiq8pcch83k4s23rjkui@4ax.com>,
W?odzimierz ABX Skiba <abx### [at] babilonorg> wrote:
> ok, try inverse box - it is hole in everything
>
> // begin scene
> box{-1 1 translate z*10 inverse}
> // end scene
>
> Warning: Camera is _inside_ a non-hollow object.
> And put camera anywhere to test where box will finish.
You are mistaken. This message means exactly what it says, the camera is
inside the box. It has nothing to do with finite-vs-infinite, any solid
shape can produce it. If you put it at < 0, 0, 0>, you won't get this
message.
> but min/max_extent returns coordinates of _bounding box_ which isn't
> object but speed trick - as documentation says: "the bounding box
> does not represent the actual dimensions of the object".
But infinite objects don't have finite bounding boxes. And anyway, the
bounding box of an axis-aligned box is pretty accurate.
--
Christopher James Huff <chr### [at] maccom>
POV-Ray TAG e-mail: chr### [at] tagpovrayorg
TAG web site: http://tag.povray.org/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |