diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-10-19 18:59:58 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-10-19 19:12:29 +0300 |
commit | d7d3233715503ecc15b8dd1973f7e73257e2cbda (patch) | |
tree | f9f9ab24b89fe574b3f972e45c8337bcd791a9b1 /render_povray | |
parent | 84b817117328b3193533324846ec389b1f5fe5c4 (diff) |
Spelling fixes in comments and descriptions, patch by luzpaz.
Differential Revision: https://developer.blender.org/D3746
Diffstat (limited to 'render_povray')
-rw-r--r-- | render_povray/__init__.py | 6 | ||||
-rw-r--r-- | render_povray/df3.py | 6 | ||||
-rw-r--r-- | render_povray/render.py | 8 | ||||
-rw-r--r-- | render_povray/templates_pov/abyss.pov | 2 | ||||
-rw-r--r-- | render_povray/templates_pov/biscuit.pov | 2 | ||||
-rw-r--r-- | render_povray/templates_pov/chess2.pov | 2 | ||||
-rw-r--r-- | render_povray/templates_pov/diffract.pov | 2 | ||||
-rw-r--r-- | render_povray/templates_pov/diffuse_back.pov | 2 | ||||
-rw-r--r-- | render_povray/templates_pov/grenadine.pov | 2 | ||||
-rw-r--r-- | render_povray/templates_pov/isocacti.pov | 2 | ||||
-rw-r--r-- | render_povray/templates_pov/mediasky.pov | 2 | ||||
-rw-r--r-- | render_povray/templates_pov/wallstucco.pov | 4 | ||||
-rw-r--r-- | render_povray/update_files.py | 2 |
13 files changed, 21 insertions, 21 deletions
diff --git a/render_povray/__init__.py b/render_povray/__init__.py index 099d2fcc..a8b07887 100644 --- a/render_povray/__init__.py +++ b/render_povray/__init__.py @@ -91,7 +91,7 @@ class RenderPovSettingsScene(PropertyGroup): default=True) pov_editor = BoolProperty( name="POV-Ray editor", - description="Don't Close POV-Ray editor after rendering (Overriden" + description="Don't Close POV-Ray editor after rendering (Overridden" " by /EXIT command)", default=False) deletefiles_enable = BoolProperty( @@ -2172,7 +2172,7 @@ class RenderPovSettingsCamera(PropertyGroup): dof_aperture = FloatProperty( name="Aperture", description="Similar to a real camera's aperture effect over focal blur (though not " - "in physical units and independant of focal length). " + "in physical units and independent of focal length). " "Increase to get more blur", min=0.01, max=1.00, default=0.50) @@ -2199,7 +2199,7 @@ class RenderPovSettingsCamera(PropertyGroup): min=0.01, max=0.99, default=0.20) normal_enable = BoolProperty(name="Perturbated Camera", default=False) - cam_normal = FloatProperty(name="Normal Strenght", min=0.0, max=1.0, default=0.0) + cam_normal = FloatProperty(name="Normal Strength", min=0.0, max=1.0, default=0.0) normal_patterns = EnumProperty( name="Pattern", description="", diff --git a/render_povray/df3.py b/render_povray/df3.py index bc721ae8..b8434287 100644 --- a/render_povray/df3.py +++ b/render_povray/df3.py @@ -26,9 +26,9 @@ # clone(indf3) : make this df3 look like indf3 # # Info functions -# sizeX(): returns X dimention -# sizeY(): returns Y dimention -# sizeZ(): returns Z dimention +# sizeX(): returns X dimension +# sizeY(): returns Y dimension +# sizeZ(): returns Z dimension # # Scalar functions # mult(): diff --git a/render_povray/render.py b/render_povray/render.py index 3640bc2b..26352b2d 100644 --- a/render_povray/render.py +++ b/render_povray/render.py @@ -578,7 +578,7 @@ def write_pov(filename, scene=None, info_callback=None): matrix = global_matrix * ob.matrix_world - # Color is modified by energy #muiltiplie by 2 for a better match --Maurice + # Color is modified by energy #multiplied by 2 for a better match --Maurice color = tuple([c * (lamp.energy) for c in lamp.color]) tabWrite("light_source {\n") @@ -595,7 +595,7 @@ def write_pov(filename, scene=None, info_callback=None): tabWrite("radius %.6f\n" % \ ((degrees(lamp.spot_size) / 2.0) * (1.0 - lamp.spot_blend))) - # Blender does not have a tightness equivilent, 0 is most like blender default. + # Blender does not have a tightness equivalent, 0 is most like blender default. tabWrite("tightness 0\n") # 0:10f tabWrite("point_at <0, 0, -1>\n") @@ -2303,7 +2303,7 @@ def write_pov(filename, scene=None, info_callback=None): print("This is an instance of " + name) continue - print("Writing Down First Occurence of " + name) + print("Writing Down First Occurrence of " + name) ############################################Povray Primitives # special exportCurves() function takes care of writing @@ -3468,7 +3468,7 @@ def write_pov(filename, scene=None, info_callback=None): #if world.light_settings.use_indirect_light: # scene.pov.radio_enable=1 - # Maybe change the above to a funtion copyInternalRenderer settings when + # Maybe change the above to a function copyInternalRenderer settings when # user pushes a button, then: #scene.pov.radio_enable = world.light_settings.use_indirect_light # and other such translations but maybe this would not be allowed either? diff --git a/render_povray/templates_pov/abyss.pov b/render_povray/templates_pov/abyss.pov index 6cb39da8..690d7737 100644 --- a/render_povray/templates_pov/abyss.pov +++ b/render_povray/templates_pov/abyss.pov @@ -39,7 +39,7 @@ camera{ location PdV angle 65 // direction z*2 up y - right x*image_width/image_height // keep propotions with any aspect ratio //right 8*x/3 + right x*image_width/image_height // keep proportions with any aspect ratio //right 8*x/3 look_at <-20, 30, 0> } diff --git a/render_povray/templates_pov/biscuit.pov b/render_povray/templates_pov/biscuit.pov index aab90fab..ffd2eee3 100644 --- a/render_povray/templates_pov/biscuit.pov +++ b/render_povray/templates_pov/biscuit.pov @@ -31,7 +31,7 @@ global_settings{ assumed_gamma 1.3 max_trace_level 5} camera{ location <20,40,28> angle 40 // direction 2*z - right x*image_width/image_height // keep propotions with any aspect ratio + right x*image_width/image_height // keep proportions with any aspect ratio look_at <0,2,0> } diff --git a/render_povray/templates_pov/chess2.pov b/render_povray/templates_pov/chess2.pov index b52070d6..02398143 100644 --- a/render_povray/templates_pov/chess2.pov +++ b/render_povray/templates_pov/chess2.pov @@ -49,7 +49,7 @@ camera { location <59, 20, -55> direction <0, 0, 2> up <0, 1, 0> - right x*image_width/image_height // keep propotions with any aspect ratio + right x*image_width/image_height // keep proportions with any aspect ratio look_at <0, -1, 1> #if(FB_Quality != FB_Quality_Off) diff --git a/render_povray/templates_pov/diffract.pov b/render_povray/templates_pov/diffract.pov index 0c7a0228..ea5a74c4 100644 --- a/render_povray/templates_pov/diffract.pov +++ b/render_povray/templates_pov/diffract.pov @@ -83,7 +83,7 @@ camera { // Camera StdCam direction <0.0, 0.0, 1.6542> sky <0.0, 0.0, 1.0> // Use right handed-system! up <0.0, 0.0, 1.0> // Where Z is up - right x*image_width/image_height // keep propotions with any aspect ratio + right x*image_width/image_height // keep proportions with any aspect ratio look_at <0.000, 0.000, -2.7500> } diff --git a/render_povray/templates_pov/diffuse_back.pov b/render_povray/templates_pov/diffuse_back.pov index 4aa70aef..e9144604 100644 --- a/render_povray/templates_pov/diffuse_back.pov +++ b/render_povray/templates_pov/diffuse_back.pov @@ -59,7 +59,7 @@ global_settings { #declare OverallScale = 100; camera { - right x*image_width/image_height // keep propotions with any aspect ratio + right x*image_width/image_height // keep proportions with any aspect ratio location < 1,1.6,-2.5>*OverallScale look_at <-2.0,1.2,0>*OverallScale } diff --git a/render_povray/templates_pov/grenadine.pov b/render_povray/templates_pov/grenadine.pov index 1c409b13..c61d13d8 100644 --- a/render_povray/templates_pov/grenadine.pov +++ b/render_povray/templates_pov/grenadine.pov @@ -40,7 +40,7 @@ light_source { camera { location <-0.5, 2.5, -7.0> - right x*image_width/image_height // keep propotions with any aspect ratio + right x*image_width/image_height // keep proportions with any aspect ratio look_at <-0.5, 0.5, 0.0> } diff --git a/render_povray/templates_pov/isocacti.pov b/render_povray/templates_pov/isocacti.pov index c0e8cde0..a98fc25f 100644 --- a/render_povray/templates_pov/isocacti.pov +++ b/render_povray/templates_pov/isocacti.pov @@ -31,7 +31,7 @@ sky_sphere { #declare CamLoc = < 5, 10,-10>; camera { location CamLoc - right x*image_width/image_height // keep propotions with any aspect ratio + right x*image_width/image_height // keep proportions with any aspect ratio angle 45 look_at <0, 0, 0> } diff --git a/render_povray/templates_pov/mediasky.pov b/render_povray/templates_pov/mediasky.pov index 9347424e..3c7d1d7e 100644 --- a/render_povray/templates_pov/mediasky.pov +++ b/render_povray/templates_pov/mediasky.pov @@ -35,7 +35,7 @@ global_settings { camera { location CamPos up y - right x*image_width/image_height // keep propotions with any aspect ratio + right x*image_width/image_height // keep proportions with any aspect ratio look_at < 0, 7.5, 0> angle 90 } diff --git a/render_povray/templates_pov/wallstucco.pov b/render_povray/templates_pov/wallstucco.pov index b6231266..2f5735d8 100644 --- a/render_povray/templates_pov/wallstucco.pov +++ b/render_povray/templates_pov/wallstucco.pov @@ -25,7 +25,7 @@ light_source { camera { location <0.2, 0.0,-25.0> look_at <0.0, 0.0, 0.0> - right x*image_width/image_height // keep propotions with any aspect ratio + right x*image_width/image_height // keep proportions with any aspect ratio angle 65 } @@ -132,7 +132,7 @@ camera { #declare Wall=pigment { BrickWall(<4,1,1>,0.2,<0.05,0.1,0>,6,0.5,0.5) function{FBrickWall(x,y,z).gray} - pigment_map { // give some stucture to the joint ... + pigment_map { // give some structure to the joint ... [0, granite scale 0.1 colour_map { diff --git a/render_povray/update_files.py b/render_povray/update_files.py index 53eea545..2c7beb60 100644 --- a/render_povray/update_files.py +++ b/render_povray/update_files.py @@ -485,7 +485,7 @@ def register(): #Aperture (Intensity of the Blur) Cam.pov_dof_aperture = FloatProperty( name="Aperture", - description="Similar to a real camera's aperture effect over focal blur (though not in physical units and independant of focal length).Increase to get more blur", + description="Similar to a real camera's aperture effect over focal blur (though not in physical units and independent of focal length).Increase to get more blur", min=0.01, max=1.00, default=0.25) #Aperture adaptive sampling |