/dports/graphics/megapov/megapov-1.2.1/source/ |
H A D | normal.cpp | 134 index = length * Tnormal->Frequency + Tnormal->Phase; in ripples() 183 index = length * Tnormal->Frequency * frequency[i] + Tnormal->Phase; in waves() 677 if (Tnormal != NULL) in Destroy_Tnormal() 681 POV_FREE(Tnormal); in Destroy_Tnormal() 709 void Post_Tnormal (TNORMAL *Tnormal) in Post_Tnormal() argument 714 if (Tnormal != NULL) in Post_Tnormal() 716 if (Tnormal->Flags & POST_DONE) in Post_Tnormal() 721 if (Tnormal->Type == NO_PATTERN) in Post_Tnormal() 726 Tnormal->Flags |= POST_DONE; in Post_Tnormal() 802 if (Tnormal==NULL) in Perturb_Normal() [all …]
|
H A D | txttest.cpp | 233 void bumpy1 (VECTOR EPoint, TNORMAL *Tnormal, VECTOR normal) in bumpy1() argument 238 Tnormal = Tnormal; in bumpy1() 274 void bumpy2 (VECTOR EPoint, TNORMAL *Tnormal, VECTOR normal) in bumpy2() argument 279 Tnormal = Tnormal; in bumpy2() 315 void bumpy3 (VECTOR EPoint, TNORMAL *Tnormal, VECTOR normal) in bumpy3() argument 320 Tnormal = Tnormal; in bumpy3()
|
H A D | normal.h | 69 void Translate_Tnormal (TNORMAL *Tnormal, VECTOR Vector); 70 void Rotate_Tnormal (TNORMAL *Tnormal, VECTOR Vector); 71 void Scale_Tnormal (TNORMAL *Tnormal, VECTOR Vector); 72 void Transform_Tnormal (TNORMAL *Tnormal, TRANSFORM *Trans); 73 void Destroy_Tnormal (TNORMAL *Tnormal); 74 void Post_Tnormal (TNORMAL *Tnormal); 75 void Perturb_Normal (VECTOR Layer_Normal, TNORMAL *Tnormal, VECTOR IPoint, INTERSECTION *Intersecti…
|
H A D | camera.cpp | 244 New->Tnormal = NULL; in Create_Camera() 296 Destroy_Tnormal(New->Tnormal); in Copy_Camera() 300 New->Tnormal = NULL; // clear in case the copy fails in Copy_Camera() 301 if(Old->Tnormal != NULL) in Copy_Camera() 302 New->Tnormal = Copy_Tnormal(Old->Tnormal); in Copy_Camera() 357 Destroy_Tnormal(Camera->Tnormal); in Destroy_Camera()
|
H A D | txttest.h | 72 void bumpy1 (VECTOR EPoint, TNORMAL *Tnormal, VECTOR normal); 73 void bumpy2 (VECTOR EPoint, TNORMAL *Tnormal, VECTOR normal); 74 void bumpy3 (VECTOR EPoint, TNORMAL *Tnormal, VECTOR normal);
|
H A D | parstxtr.cpp | 92 #define ADD_TNORMAL if (Tnormal == NULL) {if ((Default_Texture->Tnormal) != NULL) \ 93 Tnormal = Copy_Tnormal ((Default_Texture->Tnormal)); else Tnormal = Create_Tnormal ();\ 94 Texture->Tnormal=Tnormal;}; 716 Tnormal->Vals.Image=Image; in Parse_Bump_Map() 2670 Texture->Tnormal = NULL; in Parse_Tiles() 2754 Texture->Tnormal = NULL; in Parse_Material_Map() 2852 TNORMAL *Tnormal; in Parse_Vers1_Texture() local 2904 Tnormal = Texture->Tnormal; in Parse_Vers1_Texture() 3113 if (!(Tnormal->Type == RIPPLES_PATTERN || Tnormal->Type == WAVES_PATTERN)) in Parse_Vers1_Texture() 3122 if (!(Tnormal->Type == RIPPLES_PATTERN || Tnormal->Type == WAVES_PATTERN)) in Parse_Vers1_Texture() [all …]
|
H A D | colour.cpp | 229 New[i].Vals.Tnormal = Copy_Tnormal(Old[i].Vals.Tnormal); in Copy_BMap_Entries() 655 Destroy_Tnormal(BMap->Blend_Map_Entries[i].Vals.Tnormal); in Destroy_Blend_Map()
|
H A D | texture.cpp | 1115 Transform_Tpattern((TPATTERN *)Layer->Tnormal, Trans); in Transform_Textures() 1258 New->Tnormal = NULL; in Create_Texture() 1343 New->Tnormal = Copy_Tnormal(Layer->Tnormal); in Copy_Textures() 1475 Destroy_Tnormal(Layer->Tnormal); in Destroy_Textures() 1537 if(Layer->Tnormal) in Post_Textures() 1539 Layer->Tnormal->Flags |= in Post_Textures() 1543 Post_Tnormal(Layer->Tnormal); in Post_Textures()
|
/dports/graphics/povray36/povray-3.6.1/source/ |
H A D | normal.cpp | 129 index = length * Tnormal->Frequency + Tnormal->Phase; in ripples() 178 index = length * Tnormal->Frequency * frequency[i] + Tnormal->Phase; in waves() 359 t = quilt_cubic(t, Tnormal->Vals.Quilted.Control0, Tnormal->Vals.Quilted.Control1); in quilted() 672 if (Tnormal != NULL) in Destroy_Tnormal() 676 POV_FREE(Tnormal); in Destroy_Tnormal() 704 void Post_Tnormal (TNORMAL *Tnormal) in Post_Tnormal() argument 709 if (Tnormal != NULL) in Post_Tnormal() 711 if (Tnormal->Flags & POST_DONE) in Post_Tnormal() 721 Tnormal->Flags |= POST_DONE; in Post_Tnormal() 797 if (Tnormal==NULL) in Perturb_Normal() [all …]
|
H A D | txttest.cpp | 228 void bumpy1 (VECTOR EPoint, TNORMAL *Tnormal, VECTOR normal) in bumpy1() argument 233 Tnormal = Tnormal; in bumpy1() 269 void bumpy2 (VECTOR EPoint, TNORMAL *Tnormal, VECTOR normal) in bumpy2() argument 274 Tnormal = Tnormal; in bumpy2() 310 void bumpy3 (VECTOR EPoint, TNORMAL *Tnormal, VECTOR normal) in bumpy3() argument 315 Tnormal = Tnormal; in bumpy3()
|
H A D | normal.h | 64 void Translate_Tnormal (TNORMAL *Tnormal, VECTOR Vector); 65 void Rotate_Tnormal (TNORMAL *Tnormal, VECTOR Vector); 66 void Scale_Tnormal (TNORMAL *Tnormal, VECTOR Vector); 67 void Transform_Tnormal (TNORMAL *Tnormal, TRANSFORM *Trans); 68 void Destroy_Tnormal (TNORMAL *Tnormal); 69 void Post_Tnormal (TNORMAL *Tnormal); 70 void Perturb_Normal (VECTOR Layer_Normal, TNORMAL *Tnormal, VECTOR IPoint, INTERSECTION *Intersecti…
|
H A D | camera.cpp | 239 New->Tnormal = NULL; in Create_Camera() 282 Destroy_Tnormal(New->Tnormal); in Copy_Camera() 286 New->Tnormal = NULL; // clear in case the copy fails in Copy_Camera() 287 if(Old->Tnormal != NULL) in Copy_Camera() 288 New->Tnormal = Copy_Tnormal(Old->Tnormal); in Copy_Camera() 334 Destroy_Tnormal(Camera->Tnormal); in Destroy_Camera()
|
H A D | txttest.h | 67 void bumpy1 (VECTOR EPoint, TNORMAL *Tnormal, VECTOR normal); 68 void bumpy2 (VECTOR EPoint, TNORMAL *Tnormal, VECTOR normal); 69 void bumpy3 (VECTOR EPoint, TNORMAL *Tnormal, VECTOR normal);
|
H A D | parstxtr.cpp | 73 #define ADD_TNORMAL if (Tnormal == NULL) {if ((Default_Texture->Tnormal) != NULL) \ 74 Tnormal = Copy_Tnormal ((Default_Texture->Tnormal)); else Tnormal = Create_Tnormal ();\ 75 Texture->Tnormal=Tnormal;}; 644 Tnormal->Vals.Image=Image; in Parse_Bump_Map() 2371 Texture->Tnormal = NULL; in Parse_Tiles() 2455 Texture->Tnormal = NULL; in Parse_Material_Map() 2553 TNORMAL *Tnormal; in Parse_Vers1_Texture() local 2605 Tnormal = Texture->Tnormal; in Parse_Vers1_Texture() 2807 if (!(Tnormal->Type == RIPPLES_PATTERN || Tnormal->Type == WAVES_PATTERN)) in Parse_Vers1_Texture() 2816 if (!(Tnormal->Type == RIPPLES_PATTERN || Tnormal->Type == WAVES_PATTERN)) in Parse_Vers1_Texture() [all …]
|
H A D | colour.cpp | 224 New[i].Vals.Tnormal = Copy_Tnormal(Old[i].Vals.Tnormal); in Copy_BMap_Entries() 650 Destroy_Tnormal(BMap->Blend_Map_Entries[i].Vals.Tnormal); in Destroy_Blend_Map()
|
/dports/graphics/povray37/povray-3.7.0.10/source/backend/texture/ |
H A D | normal.cpp | 131 index = length * Tnormal->Frequency + Tnormal->Phase; in ripples() 180 index = length * Tnormal->Frequency * Thread->waveFrequencies[i] + Tnormal->Phase; in waves() 361 t = quilt_cubic(t, Tnormal->Vals.Quilted.Control0, Tnormal->Vals.Quilted.Control1); in quilted() 666 if (Tnormal != NULL) in Destroy_Tnormal() 670 POV_FREE(Tnormal); in Destroy_Tnormal() 703 if (Tnormal != NULL) in Post_Tnormal() 705 if (Tnormal->Flags & POST_DONE) in Post_Tnormal() 710 if (Tnormal->Type == NO_PATTERN) in Post_Tnormal() 715 Tnormal->Flags |= POST_DONE; in Post_Tnormal() 791 if (Tnormal==NULL) in Perturb_Normal() [all …]
|
H A D | normal.h | 63 void Destroy_Tnormal (TNORMAL *Tnormal); 64 void Post_Tnormal (TNORMAL *Tnormal); 65 void Perturb_Normal (VECTOR Layer_Normal, const TNORMAL *Tnormal, const VECTOR IPoint, Intersection…
|
/dports/graphics/povray38/povunix-v3.8.0-beta.2-src/source/core/material/ |
H A D | normal.cpp | 680 void Destroy_Tnormal(TNORMAL *Tnormal) in Destroy_Tnormal() argument 682 if (Tnormal != nullptr) in Destroy_Tnormal() 683 delete Tnormal; in Destroy_Tnormal() 710 void Post_Tnormal (TNORMAL *Tnormal) in Post_Tnormal() argument 714 if (Tnormal != nullptr) in Post_Tnormal() 716 if (Tnormal->Flags & POST_DONE) in Post_Tnormal() 726 Tnormal->Flags |= POST_DONE; in Post_Tnormal() 783 if (Tnormal == nullptr) in Perturb_Normal() 820 … Warp_Normal(Layer_Normal,Layer_Normal, Tnormal, Test_Flag(Tnormal,DONT_SCALE_BUMPS_FLAG)); in Perturb_Normal() 834 … UnWarp_Normal(Layer_Normal,Layer_Normal, Tnormal, Test_Flag(Tnormal,DONT_SCALE_BUMPS_FLAG)); in Perturb_Normal() [all …]
|
H A D | texture.cpp | 184 Transform_Tpattern(Layer->Tnormal, Trans); in Transform_Textures() 346 New->Tnormal = nullptr; in Create_Texture() 432 New->Tnormal = Copy_Tnormal(Layer->Tnormal); in Copy_Textures() 500 Destroy_Tnormal(Layer->Tnormal); in Destroy_Textures() 554 if(Layer->Tnormal) in Post_Textures() 556 Layer->Tnormal->Flags |= in Post_Textures() 560 Post_Tnormal(Layer->Tnormal); in Post_Textures()
|
H A D | normal.h | 121 void Destroy_Tnormal (TNORMAL *Tnormal); 122 void Post_Tnormal (TNORMAL *Tnormal); 123 void Perturb_Normal (Vector3d& Layer_Normal, const TNORMAL *Tnormal, const Vector3d& IPoint, Inters…
|
/dports/graphics/povray37/povray-3.7.0.10/source/backend/scene/ |
H A D | camera.cpp | 243 Tnormal = NULL; in Init() 335 if (Tnormal != NULL) in operator =() 336 Destroy_Tnormal(Tnormal); in operator =() 337 Tnormal = src.Tnormal ? Copy_Tnormal(src.Tnormal) : NULL; in operator =() 367 Tnormal = NULL; in Camera() 401 Destroy_Tnormal(Tnormal); in ~Camera()
|
/dports/graphics/povray38/povunix-v3.8.0-beta.2-src/source/core/scene/ |
H A D | camera.cpp | 244 Tnormal = nullptr; in Init() 342 if (Tnormal != nullptr) in operator =() 343 Destroy_Tnormal(Tnormal); in operator =() 344 Tnormal = (src.Tnormal ? Copy_Tnormal(src.Tnormal) : nullptr); in operator =() 392 Tnormal = nullptr; in Camera() 431 Destroy_Tnormal(Tnormal); in ~Camera()
|
/dports/graphics/povray37/povray-3.7.0.10/source/backend/colour/ |
H A D | colour.cpp | 231 New[i].Vals.Tnormal = Copy_Tnormal(Old[i].Vals.Tnormal); in Copy_BMap_Entries() 437 Destroy_Tnormal(BMap->Blend_Map_Entries[i].Vals.Tnormal); in Destroy_Blend_Map()
|
/dports/graphics/povray38/povunix-v3.8.0-beta.2-src/source/parser/ |
H A D | parser_materials.cpp | 79 #define ADD_TNORMAL if (Tnormal == nullptr) {if ((Default_Texture->Tnormal) != nullptr) \ 80 Tnormal = Copy_Tnormal ((Default_Texture->Tnormal)); else Tnormal = Create_Tnormal ();\ 81 Texture->Tnormal=Tnormal;}; 2795 Texture->Tnormal = nullptr; in Parse_Texture() 2843 Destroy_Tnormal(Texture->Tnormal); in Parse_Tiles() 2847 Texture->Tnormal = nullptr; in Parse_Tiles() 2927 Destroy_Tnormal(Texture->Tnormal); in Parse_Material_Map() 2931 Texture->Tnormal = nullptr; in Parse_Material_Map() 3031 TNORMAL *Tnormal; in Parse_Vers1_Texture() local 3083 Tnormal = Texture->Tnormal; in Parse_Vers1_Texture() [all …]
|
/dports/graphics/povray37/povray-3.7.0.10/source/backend/parser/ |
H A D | parstxtr.cpp | 70 #define ADD_TNORMAL if (Tnormal == NULL) {if ((Default_Texture->Tnormal) != NULL) \ 71 Tnormal = Copy_Tnormal ((Default_Texture->Tnormal)); else Tnormal = Create_Tnormal ();\ 72 Texture->Tnormal=Tnormal;}; 821 Tnormal->Vals.image = image; in Parse_Bump_Map() 2809 Texture->Tnormal = NULL; in Parse_Tiles() 2893 Texture->Tnormal = NULL; in Parse_Material_Map() 2990 TNORMAL *Tnormal; in Parse_Vers1_Texture() local 3044 Tnormal = Texture->Tnormal; in Parse_Vers1_Texture() 3261 if (!(Tnormal->Type == RIPPLES_PATTERN || Tnormal->Type == WAVES_PATTERN)) in Parse_Vers1_Texture() 3270 if (!(Tnormal->Type == RIPPLES_PATTERN || Tnormal->Type == WAVES_PATTERN)) in Parse_Vers1_Texture() [all …]
|