forked from POV-Ray/povray
-
Notifications
You must be signed in to change notification settings - Fork 2
fs324
LeForgeron edited this page Jun 20, 2018
·
4 revisions
Rendering mesh/mesh2/triangle artefact, regression from 3.6
#version 3.7;
global_settings {
assumed_gamma 1.0
max_trace_level 30
}
#local lookat = <0,0,0>;
#local base_lookfrom = <0.1, 0.2, -0.8>;
#local lookfrom = base_lookfrom*.6;
camera {
location lookfrom
look_at lookat
right x*1.0/1.0
}
#declare P1= <0.03249196962329062993, -0.05257311121191336062, -0.19021130325903071179>;
#declare P2= <0.08792183440801312755, -0.05433868201739210785, -0.17584366881602625510>;
#declare P3= <0.05433868201739210785, 0.00000000000000000000, -0.19659919844279735712>;
#declare P4= <0.03429496250085656284, -0.08978537747014557480, -0.17957075494029114959>;
#declare P5= <0.00000000000000000000, -0.03429496250085656284, -0.20076620740872361259>;
#declare T1=texture { pigment { rgb<1,0,0> transmit 0.5 } finish { ambient 0.5 } }
union{
triangle { P1, P2, P3 texture {T1} }
triangle { P2, P3, P5 texture {T1} }
triangle { P2, P5, P4 texture {T1} }
transform { rotate z*60 scale 1.3 }
no_shadow
}
#version 3.6;
global_settings { assumed_gamma 1.0 max_trace_level 30 }
#local Lookfrom = <0.1, 0.2, -0.8>;
#declare P1= <0.03249196962329062993, -0.05257311121191336062, -0.19021130325903071179>;
#declare P2= <0.08792183440801312755, -0.05433868201739210785, -0.17584366881602625510>;
#declare P3= <0.05433868201739210785, 0.00000000000000000000, -0.19659919844279735712>;
#declare P4= <0.00000000000000000000, -0.03429496250085656284, -0.20076620740872361259>;
#declare C=(P1+P2+P3+P4)/4;
camera {
location Lookfrom
look_at C
right x*image_width/image_height
angle 10
}
#declare T1=texture { pigment { rgb<1,0,0> transmit 0.5 } finish { ambient 0.5 } }
triangle { P1, P2, P3 texture {T1} no_shadow }
triangle { P2, P3, P4 texture {T1} no_shadow }