รูปพีรมิต
SOURCE CODE ของ .pov, .ini
// Persistance of Vision Raytracer V3.1 // World definition file. // // Contains 1 lights, 172 materials and 9 primitives. // // This file was generated for POV-Ray V3.1 by // Moray V3.1 For Windows (c) 1991-1998 Lutz + Kretzschmar // // Date : 12/28/1999 (28.12.1999) // /* The text between these two comments is in MorayPOV.INC and is automatically included in all POV files that Moray exports. */ default { texture { pigment { rgb <1,0,0> } } } /* // Scene Comment This scene was created with Moray For Windows. */ // End Scene Comment global_settings { adc_bailout 0.003922 ambient_light <1.0,1.0,1.0> assumed_gamma 1.9 hf_gray_16 off irid_wavelength <0.247059,0.176471,0.137255> max_intersections 64 max_trace_level 10 number_of_waves 10 radiosity { brightness 3.3 count 100 distance_maximum 0.0 error_bound 0.4 gray_threshold 0.5 low_error_factor 0.8 minimum_reuse 0.015 nearest_count 6 recursion_limit 1 } } background { color <0.000,0.000,0.000> } camera { // Camera StdCam location < -37.900, 39.300, 20.400> direction < 0.0, 0.0, 1.8317> // Aperture is 0.53 degrees sky < 0.00000, 0.00000, 1.00000> // Use right handed-system up < 0.0, 0.0, 1.0> // Where Z is up right < 1.33333, 0.0, 0.0> // Aspect ratio look_at < 0.000, 0.000, 0.000> } // // ******* L I G H T S ******* // light_source { // Light1 <0.000, 23.600, 34.700> color rgb <1.000, 1.000, 1.000> } // // ******** MATERIALS ******* // #include "project 4.inc" // // ******** REFERENCED OBJECTS ******* // // // ******** OBJECTS ******* // box { // Cube006 <-1, -1, -1>, <1, 1, 1> material { DryGrass } scale 1.6 translate <-7.1, 4.5, 9.1> } box { // Cube005 <-1, -1, -1>, <1, 1, 1> material { DryGrass } scale 2.4 translate <-7.1, 4.5, 6.9> } box { // Cube001 <-1, -1, -1>, <1, 1, 1> material { DryGrass } scale 3.4 translate <-7.0, 4.4, 4.2> } box { // Cube004 <-1, -1, -1>, <1, 1, 1> material { DryGrass } scale <6.3, 5.088461, 1.332692> translate <-7.2, 4.3, 1.0> } box { // Cube003 <-1, -1, -1>, <1, 1, 1> material { DryGrass } scale <5.6, 4.26087, 2.313044> translate <-7.3, 4.5, 1.7> } box { // Cube002 <-1, -1, -1>, <1, 1, 1> material { DryGrass } scale <4.2, 3.8, 2.8> translate <-7.2, 4.5, 3.2> } plane { // Plane001 z,0 material { DryGrass } scale -14.6 } prism { // TaperSweep001 conic_sweep linear_spline 0.0,1.0 5 // control points <-1.0, -1.0>, <1.0, -1.0>, <1.0, 1.0>, <-1.0, 1.0>, <-1.0, -1.0> rotate <90,0,90> material { DryGrass } scale <-10.898991, 9.89293, -33.200001> translate <-7.1, 4.6, 14.2> }
All_Console=On All_File= Bounding=On Bounding_Threshold=3 Buffer_Output=Off Buffer_Size=0 Clock=0 Create_Ini=rerun.ini Cyclic_Animation=Off Debug_Console=On Debug_File= Display_Gamma=2.2 Draw_Vistas=Off Fatal_Console=On Fatal_Error_Command= Fatal_Error_Return= I Fatal_File= Field_Render=Off Output_Alpha=On Output_File_Name= Output_to_File=On Output_File_Type=N Final_Clock=1 Final_Frame=-1 Histogram_Name= Histogram_Grid_Size=0.0 Histogram_Type=X ; NONE Initial_Clock=0 Initial_Frame=1 Library_Path= Light_Buffer=On Odd_Field=Off Palette=3 Post_Frame_Command= Post_Frame_Return= I Post_Scene_Command= Post_Scene_Return= I Preview_End_Size=1 Preview_Start_Size=1 Pre_Frame_Command= Pre_Frame_Return= I Pre_Scene_command= Pre_Scene_Return= I Quality=9 Remove_Bounds=On Render_Console=On Render_File= Sampling_Method=1 Split_Unions=Off Statistic_Console=On Statistic_File= Subset_End_Frame=-1 Subset_Start_Frame=-1 Test_Abort_Count=100 User_Abort_Command= User_Abort_Return= I Version=3 Video_Mode=0 Vista_Buffer=On Warning_Console=On Warning_File= Bits_Per_Color=8 Radiosity=Off Width = 320 Height = 240 Antialias=Off Pause_When_Done = Off Display = On Verbose = Off Continue_Trace = Off Test_Abort = On Input_File_Name = project 4.pov Output_File_Type = N Preview_Start_Size=1 Preview_End_Size=1
ภาพนี้เกิดจากการนำเอารูป Cube 6 อัน
มาซ้อนกัน ขยายขนาดให้ใหญ่ไล่ไปจนเล็กตามลำดับแล้วนำรูป
Taper มาซ้อนที่หัวพีรมิตเป็นอันดับสุดท้ายกำหนด
Object และBackground ที่ Folder Texlibs เป็นชนิด TexSoil