|
|
To anyone who is familiar with MegaPov,
I am interested in generating a depth map to test an algorithm I'm working with,
but I'm having a heck of a time trying to get it to work.
I've generated a basic scene:
<code>
#include "pprocess.inc"
#version unofficial MegaPov 1.21
global_settings{
post_process { PP_Depth(0,20) }
}
camera {
location <0,0,0>
look_at <0,0,1>
}
sphere {
<0,0,4>, 1
}
</code>
But all I get is black. I hear another approach is using povray with fog, which
works well with spheres. But when I use:
<code>
#include "colors.inc"
#include "textures.inc"
camera {
location <0,0,0>
look_at <0,0,1>
}
global_settings {
ambient_light rgb <10, 10, 10>
}
fog {
distance 10
color rgb<1,1,1>
}
plane {
<1,0,1>, 8
}
plane {
<-1,0,1>, 8
}
</code>
I get only a black image.
Anyone has any suggestions or comments?
-Vincent
Post a reply to this message
|
|