|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Re Mouse3 final(ish) in pbi
The mousetrap base in pbi is a box{} unioned with the metalwork. If I
replace it with an isosurface as shown below, the base vanishes in the
scene leaving the wire stuff. The union is OK on its own, or with the
isosurface floor removed. Moving the invisible base around the scene,
it will sometimes show a section of the lower surface "stuck" to the
floor. Neither syntax shown below seems to make a difference. All my
INCludes use #local except where the objects need to be #declared.
Can anyone suggest what I should be looking for?
I'm using DOS version megapov 0.7, Win98SE, celeron 500, and the scene
takes 74MB out of 128.
// Extract from my BASE.INC
#local SizeB = <2.8,0.15,1.5>;
#declare Base =
// isosurface{ function{ "rounded_box", <0.02, SizeB.x, SizeB.y,
SizeB.z> }
// contained_by{ box{ -SizeB*1.05, SizeB*1.05 } }
isosurface{ function{ "rounded_box", <0.02>}
contained_by{ box{ -SizeB, SizeB } }
texture{ TWood13 }
translate <0,-SizeB.y,0>
}
/* // No problems with this.
box{ -1, 1 scale SizeB
texture{ TWood13 }
translate <0,-SizeB.y,0>
}
*/
--
Alf
http://www.peake42.freeserve.co.uk/
http://ourworld.compuserve.com/homepages/Alf_Peake/
gw3### [at] thersgbnet
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <3b23fa8b@news.povray.org> , "Alf Peake"
<alf### [at] peake42freeservecouk> wrote:
> Can anyone suggest what I should be looking for?
The max_gradient documentation.
Thorsten
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
----- Original Message -----
From: "Alf Peake" <alf### [at] peake42freeservecouk>
[snip]
> Can anyone suggest what I should be looking for?
Just noticed my stats with the base as the *only* isosurface.
Base visible, complete trap OK, most other objects removed:
Ray->Shape Intersection Tests Succeeded Percentage
Isosurface Bound 15811 7873 49.79
Isosurface 7703 7653 99.35
Isosurface Cache 7580 0 0.00
Base missing, most permutations of objects in scene:
Isosurface Bound 13618 7750 56.91
Isosurface 7744 0 0.00
Isosurface Cache 7743 7743 100.00
Alf
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Thorsten Froehlich" <tho### [at] trfde> wrote
> "Alf Peake" <alf### [at] peake42freeservecouk> wrote:
> > Can anyone suggest what I should be looking for?
> The max_gradient documentation.
Yes, I did read megapov_07.html and played with the isosurface values
without much luck. For an input between 0.01 and 10, stats reports
eval max_gradient between 0.806 and 0.999
Later...
I have a bad feeling. I can alter the mousetrap base by changing
camera settings or declareing an unused texture. Pigment{checker}
within the iso can sometimes be bad but pigment{Red} will be OK.
I'm trying to make a simple file which shows the problem but it may
take a coupla days as I have around 15 INCs to play with :(
Alf
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <3b254f8c$1@news.povray.org> , "Alf Peake"
<alf### [at] peake42freeservecouk> wrote:
> Yes, I did read megapov_07.html and played with the isosurface values
> without much luck. For an input between 0.01 and 10, stats reports
> eval max_gradient between 0.806 and 0.999
You should use "eval" to find the best max_gradient. Try method 2 with a
max_gradient of 1000 or more and see if it goes away...
Thorsten
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I've uploaded "isosurface problem" to p.b.s-f
Hopefully I've included all needed pieces. Ever tried to untangle a
ball of string? Includes were involved that I had forgotten about!
Running MAIN.POV should give a half-base image unless the error is
specific to my system.
Alf
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Thorsten Froehlich" <tho### [at] trfde> wrote in message
news:3b262104$1@news.povray.org...
> In article <3b254f8c$1@news.povray.org> , "Alf Peake"
> <alf### [at] peake42freeservecouk> wrote:
>
> > Yes, I did read megapov_07.html and played with the isosurface
values
> > without much luck. For an input between 0.01 and 10, stats reports
> > eval max_gradient between 0.806 and 0.999
>
> You should use "eval" to find the best max_gradient. Try method 2
with a
> max_gradient of 1000 or more and see if it goes away...
Never occured to go that high. Tried with 10000, no luck.
Alf
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Your files show it correctly (using Windows, don't know about with DOS).
Maybe you could try putting #version unofficial MegaPov 0.7; at the end of
your base.inc to be certain it takes. There was some talk of some such
thing long ago anyhow.
Bob H.
"Alf Peake" <alf### [at] peake42freeservecouk> wrote in message
news:3b26a08f@news.povray.org...
> I've uploaded "isosurface problem" to p.b.s-f
>
> Hopefully I've included all needed pieces. Ever tried to untangle a
> ball of string? Includes were involved that I had forgotten about!
>
> Running MAIN.POV should give a half-base image unless the error is
> specific to my system.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Bob H." <omn### [at] msncom> wrote in message
news:3b26bd86@news.povray.org...
> Your files show it correctly (using Windows, don't know about with
DOS).
OK. Thanks for that. As you can see from the jpegs I have no problem
getting it to mis-behave. Guess I'll try an old 486 box here that
doesn't know about pov or Windows, just in case there's a file in my
path I've not noticed. Pov.ini, colors.inc and megapov7.exe should be
enuf.
> Maybe you could try putting #version unofficial MegaPov 0.7; at the
end of
> your base.inc to be certain it takes. There was some talk of some
such
> thing long ago anyhow.
I'll try that. Peculiar thing tho', the floor in my p.b.i scene uses
rounded_box and previously I've used it to make floor patterns with
2:1 wood blocks. No problems noticed there.
Alf
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |