|
|
See attached pic. Notice the superellipsoid doesn't show up?
How can I fix this without changing the lighting of the scene dramatically?
Code follows.
//
#version unofficial MegaPOV 0.5;
global_settings { assumed_gamma 2.2 radiosity {}
photons{count 40000 autostop 0 jitter .4}
}
#include "colors.inc"
#include "textures.inc"
#include "woods.inc"
#include "metals.inc"
#include "stones.inc"
#include "glass.inc"
#declare A=<0,60,0>;
#declare B=<-50,50,-30>;
#declare Random=seed(tick_count)
camera {
location B
look_at
<0,0,0>}
light_source {
<-50,51,-30>
//notice the light is to the far left, but shows up the most on the right
side of the floor.
color White*1.5
//area_light <-20,0,-20>,<20,0,20>,5,5
//photons { refraction on reflection on}
}
#declare Row = union {
#declare Count = 0;
#while (Count < 10)
height_field{
tga "HFTest"
translate -.5
scale <10,.5,80>
texture{
//image_map {tga "HFTest"}
T_Wood10 //turbulence .1
translate Count*rand(Random)*4*<1,1,1>
rotate z*rand(Random)*20
normal {
bump_map {tga "HFTest"}}
finish{phong .3 phong_size 20}}
translate -2.25*y translate z*80.3*Count
}
#declare Count = Count + 1;
#end
}//end row union
#declare Planks1 = union {
#declare Count = 0;
#while (Count < 5)
object {Row translate <20.1*Count,0,40>}
object {Row translate <10,0,0> translate <20.1*Count,0,0>}
#declare Count = Count + 1;
#end
}//end Planks1 union
#declare Wall =
height_field{
tga "HFTest2"
translate -.5
scale <500,.3,500>
texture{
pigment {White}
}
}
// and here's the problem piece .... why doesn't it show up?
superellipsoid {
<0,0> scale <1,3,100> translate <40,1,0>
texture {T_Wood1}
finish {phong 1 phong_size 300}
}
object {Planks1 translate <-50,0,-50>}
object {Wall rotate <0,0,90> translate <50,-30,50>}
Post a reply to this message
Attachments:
Download 'HFTest2.bmp.dat' (226 KB)
|
|