Descriptions and Examples for the POV-Ray Raytracer by Friedrich A. Lohmüller
    POV-Ray Examples - How To Make Objects for POV-Ray
Italiano Italiano
Français français
Deutsch Deutsch

Home
- POV-Ray Tutorial
  - POV-Ray Examples
   Index of Content
  - Geometry
  - Architecture
    - House
    - Roof
    - Tower
    - Castle
    - Window + Door
        - Window
        - Door
        - Shoji
        - Paravent
    - Stairs
    - Pyramid
    - Columns
    - Arch
    - Fences
    - Furnitur
    - Household
  - Engineering
                                       
 
Paravent

Paravent

Objects: "box".
Methods: "union", "#declare", "macro".
Regarding of a single shoji element (a Japanese paperwall element) see here: Shoji.
A single shoji element 450x600
3 Shoji elements = one folding screen
Click here for a scene description
for POV-Ray:
".txt" file or ".pov" file
The construction:
3 Shoji elements paravent as macro:
The unification of the outer frame and the inner grid with a paperwall forms a single shoji element, here named "Frame".
#macro Frame(Wide_X,Wide_Y,Frame_XY,Frame_Z,X_Nr,Y_Nr)
union{
 object{Shoji(Wide_X-2*Frame_XY,Wide_Y-2*Frame_XY,X_Nr,Y_Nr)
        translate<Frame_XY,Frame_XY,Frame_Z*3/4>}
 object{Window1(Wide_X,Wide_Y,Frame_XY,Frame_Z)  }
}
#end //--------------------------------------------------------
3 Shoji elements are now added together with according preceding elements using the angles "angle1" and "angle2".
#macro Paravent_3( Wide_x, Wide_y, Frame_xy, Frame_z,
                        X_n, Y_n, Angle1, Angle2)
#local Win_D = Frame_z/2;
union{
 object{ Frame (Wide_x, Wide_y, Frame_xy, Frame_z, X_n, Y_n)}
  union{ object{ Frame (Wide_x,Wide_y,Frame_xy,Frame_z,X_n,Y_n)}
         object{ Frame (Wide_x,Wide_y,Frame_xy,Frame_z,X_n,Y_n)
                 translate<Win_D,0,0>
                 rotate<0,Angle1,0>
                 translate<Wide_x+Win_D,0,0>}
         translate<Win_D,0,0>
         rotate<0,Angle2,0>
         translate<Wide_x+Win_D,0,0>
       }
      }
#end //---------------------------------------------------------
top

© Friedrich A. Lohmüller, 2012
www.f-lohmueller.de