Parcourir la source

Rename TransformBegin/End to AttributeBegin/End

Matt Pharr il y a 3 ans
Parent
commit
b321cdc601

+ 2 - 2
bunny-cloud/bunny-cloud.pbrt

@@ -22,13 +22,13 @@ LightSource "infinite"
   "string filename" "textures/sky.exr" "float scale" 4
 AttributeEnd
 
-TransformBegin
+AttributeBegin
 Rotate 180 0 0 1
 Rotate 90 1 0 0
 MakeNamedMedium "foo" "string type" "nanovdb"
    "string filename" "bunny_cloud.nvdb"
    "spectrum sigma_s" [200 10 900 10] "spectrum sigma_a" [200 .5 900 .5]
-TransformEnd
+AttributeEnd
 
 AttributeBegin
 MediumInterface "foo" ""

+ 2 - 2
disney-cloud/disney-cloud.pbrt

@@ -41,7 +41,7 @@ AttributeBegin
   Shape "disk"  
 AttributeEnd
 
-TransformBegin
+AttributeBegin
   MakeNamedMedium "cloud" "string type" "nanovdb" 
     "string filename" "wdas_cloud_quarter.nvdb"
     "spectrum sigma_a" [200 0 900 0]
@@ -57,4 +57,4 @@ TransformBegin
       #Bounding sphere of a unit cube (of diameter equal to the cubic root of 3).
       Shape "sphere" "float radius" [1.44224957031]
   AttributeEnd
-TransformEnd
+AttributeEnd

+ 2 - 2
explosion/explosion.pbrt

@@ -23,14 +23,14 @@ LightSource "infinite"
   "string filename" "textures/sky.exr" "float scale" 2
 AttributeEnd
 
-TransformBegin
+AttributeBegin
 Scale 1 1 1.6
 Rotate 90 1 0 0
 MakeNamedMedium "kaboom" "string type" "nanovdb"
    "string filename" "fire.nvdb"
    "spectrum sigma_s" [200 10 900 10] "spectrum sigma_a" [200 10 900 10]
    "float LeScale" .005  "float temperaturecutoff" 1 "float temperaturescale" 100
-TransformEnd
+AttributeEnd
 
 AttributeBegin
 MediumInterface "kaboom" ""

+ 4 - 4
villa/materials.pbrt

@@ -149,13 +149,13 @@ MakeNamedMaterial "Inox.002"
                    1.28 546.167 1.43 598.937 1.62 662.99506 1.84 751.394 2.19 860.972 
                    2.56 ]
     "float roughness" [ 0.01 ]
-TransformBegin
+AttributeBegin
     Scale 3 3 3
     Texture "couch-disp" "float" "wrinkled"
     Texture "scaled-couch-disp" "float" "scale"
         "texture tex" [ "couch-disp" ]
         "float scale" [ 0.005 ]
-TransformEnd
+AttributeEnd
 # Material 'AssiseLem'  seat lem
 # Material 'MetalRough'
 MakeNamedMaterial "Cuir"
@@ -512,7 +512,7 @@ MakeNamedMaterial "Zinc"
     "spectrum eta" [ "metal-Ag-eta" ]
     "spectrum k" [ "metal-Ag-k" ]
     "float roughness" [ 0.01 ]
-TransformBegin
+AttributeBegin
     Scale 6 6 6
     Texture "water" "float" "windy"
     Texture "sc" "float" "constant"
@@ -520,7 +520,7 @@ TransformBegin
     Texture "swater" "float" "scale"
         "texture tex" [ "water" ]
         "texture scale" [ "sc" ]
-TransformEnd
+AttributeEnd
 # Material 'Plafond' ceiling
 # Material 'FrontCol'
 MakeNamedMaterial "Eau"