รูปกล่องดำ
SOURCE CODE ของ .pov, .ini
// Persistance of Vision Raytracer V3.1 // World definition file. // // Contains 1 lights, 32 materials and 6 primitives. // // This file was generated for POV-Ray V3.1 by // Moray V3.1 For Windows (c) 1991-1998 Lutz + Kretzschmar // // Date : 02/07/2000 (07.02.2000) // /* 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 < -6.800, -23.700, 17.800> 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, -20.000, 20.000> color rgb <1.000, 1.000, 1.000> } // // ******** MATERIALS ******* // #include "exe 6.inc" // // ******** REFERENCED OBJECTS ******* // // // ******** OBJECTS ******* // plane { // Plane001 z,0 material { Electricity } scale -13.1 translate <-0.2, 0.0, -5.1> } text { // TText002 ttf "C:\WINDOWS\Fonts\Angsab.ttf", "BOX", 1.0, // Depth <0.0, 0.0, 0.0> // Offset material { Solar } scale 3.2 rotate <90.0, 0.0, 0.0> translate <-2.9, -0.4, 1.3> } text { // TText001 ttf "C:\WINDOWS\Fonts\Angsai.ttf", "OFFICE", 1.0, // Depth <0.0, 0.0, 0.0> // Offset material { Solar } scale 2.6 rotate <-89.981117, -180.019043, -180.435272> translate <-4.2, -0.8, 4.0> } box { // Cube001 <-1, -1, -1>, <1, 1, 1> material { Negativ5 } scale 3.6 translate <-1.2, 1.0, 3.2> } disc { // Disc001 <0,0,0>, <0,0,1>, 1.0 material { Negativ3 } scale -2.8 rotate <-90.0, -180.0, -180.0> translate <1.7, -0.7, 5.7> }
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 = exe 6.pov Output_File_Type = N Preview_Start_Size=1 Preview_End_Size=1
ภาพนี้เกิดจากการสร้าง Cube กำหนด Object ที่ Folder Texlibs
เป็นชนิด Tex Special - Effect แล้วใช้ Text มาเขียนตัวหนังสือ OFFICE BOX
วางทับรูป Cube ซึ่งสามารถกำหนดขนาด ความหนาของตัวหนังสือได้
แล้วนำรูป Disc มาซ้อนกับ Cube ทำให้เห็นว่า
เป็น Disc นั้นได้ตัดที่กล่องดำ ซึ่ง Object ทั้งหมดได้จาก
Tex Special - Effect