Home
last modified time | relevance | path

Searched refs:HF_VAL (Results 1 – 18 of 18) sorted by relevance

/dports/graphics/megapov/megapov-1.2.1/source/
H A Dhfield.h67 typedef unsigned short HF_VAL; typedef
88 HF_VAL min_y, max_y;
91 HF_VAL **Map;
H A Dimage.h112 HF_VAL image_height_at(IMAGE *Image, int x, int y);
H A Dhfield.cpp101 static int add_single_normal (HF_VAL **data, int xsize, int zsize,
740 static int add_single_normal(HF_VAL **data, int xsize, int zsize, int x0, int z0, int x1, int z1, i… in add_single_normal()
811 HF_VAL **map = HField->Data->Map; in smooth_height_field()
890 HF_VAL min_y, max_y, temp_y; in Compute_HField()
899 HField->Data->Map = (HF_VAL **)POV_MALLOC(max_z*sizeof(HF_VAL *), "height field"); in Compute_HField()
903 HField->Data->Map[z] = (HF_VAL *)POV_MALLOC(max_x*sizeof(HF_VAL), "height field"); in Compute_HField()
H A Dimage.cpp534 HF_VAL image_height_at(IMAGE *Image, int x, int y) in image_height_at()
596 return (HF_VAL)(256*temp1 + temp2); in image_height_at()
/dports/graphics/povray36/povray-3.6.1/source/
H A Dhfield.h62 typedef unsigned short HF_VAL; typedef
83 HF_VAL min_y, max_y;
86 HF_VAL **Map;
H A Dimage.h95 HF_VAL image_height_at(IMAGE *Image, int x, int y);
H A Dhfield.cpp96 static int add_single_normal (HF_VAL **data, int xsize, int zsize,
735 static int add_single_normal(HF_VAL **data, int xsize, int zsize, int x0, int z0, int x1, int z1, i… in add_single_normal()
806 HF_VAL **map = HField->Data->Map; in smooth_height_field()
885 HF_VAL min_y, max_y, temp_y; in Compute_HField()
894 HField->Data->Map = (HF_VAL **)POV_MALLOC(max_z*sizeof(HF_VAL *), "height field"); in Compute_HField()
898 HField->Data->Map[z] = (HF_VAL *)POV_MALLOC(max_x*sizeof(HF_VAL), "height field"); in Compute_HField()
H A Dimage.cpp511 HF_VAL image_height_at(IMAGE *Image, int x, int y) in image_height_at()
564 return (HF_VAL)(256*temp1 + temp2); in image_height_at()
/dports/graphics/povray37/povray-3.7.0.10/source/backend/shape/
H A Dhfield.h81 HF_VAL min_y, max_y;
84 HF_VAL **Map;
116 …static int add_single_normal(HF_VAL **data, int xsize, int zsize, int x0, int z0,int x1, int z1,in…
H A Dhfield.cpp684 int HField::add_single_normal(HF_VAL **data, int xsize, int zsize, int x0, int z0, int x1, int z1, … in add_single_normal()
755 HF_VAL **map = Data->Map; in smooth_height_field()
832 HF_VAL min_y, max_y, temp_y; in Compute_HField()
841 Data->Map = (HF_VAL **)POV_MALLOC(max_z*sizeof(HF_VAL *), "height field"); in Compute_HField()
845 Data->Map[z] = (HF_VAL *)POV_MALLOC(max_x*sizeof(HF_VAL), "height field"); in Compute_HField()
/dports/graphics/povray38/povunix-v3.8.0-beta.2-src/source/core/shape/
H A Dheightfield.cpp109 HF_VAL min_y, max_y;
112 HF_VAL **Map;
705 int HField::add_single_normal(HF_VAL **data, int xsize, int zsize, int x0, int z0, int x1, int z1, … in add_single_normal()
777 HF_VAL **map = Data->Map; in smooth_height_field()
854 HF_VAL min_y, max_y, temp_y; in Compute_HField()
863 Data->Map = new HF_VAL*[max_z]; in Compute_HField()
867 Data->Map[z] = new HF_VAL[max_x]; in Compute_HField()
H A Dheightfield.h111 …static int add_single_normal(HF_VAL **data, int xsize, int zsize, int x0, int z0,int x1, int z1,in…
/dports/graphics/povray38/povunix-v3.8.0-beta.2-src/source/core/support/
H A Dimageutil.cpp474 HF_VAL image_height_at(const ImageData *image, int x, int y) in image_height_at()
482 return ((HF_VAL)image->data->GetIndexedValue(x, y) * 256); in image_height_at()
491 return ((HF_VAL) (image->data->GetGrayValue(x, y) * 65535.0f)); in image_height_at()
497 return ((HF_VAL) (colour.Greyscale() * 65535.0f)); in image_height_at()
500 return ((HF_VAL) ((colour.red() * 256.0 + colour.green()) * 255.0)); in image_height_at()
H A Dimageutil.h136 HF_VAL image_height_at(const ImageData *image, int x, int y);
/dports/graphics/povray37/povray-3.7.0.10/source/backend/support/
H A Dimageutil.h114 HF_VAL image_height_at(const ImageData *image, int x, int y);
H A Dimageutil.cpp498 HF_VAL image_height_at(const ImageData *image, int x, int y) in image_height_at()
506 return ((HF_VAL)image->data->GetIndexedValue(x, y) * 256); in image_height_at()
515 return ((HF_VAL) (image->data->GetGrayValue(x, y) * 65535.0f)); in image_height_at()
521 return ((HF_VAL) (GREY_SCALE3 (r, g, b) * 65535.0f)); in image_height_at()
524 return ((HF_VAL) ((r * 256.0 + g) * 255.0)); in image_height_at()
/dports/graphics/povray38/povunix-v3.8.0-beta.2-src/source/core/
H A Dcoretypes.h308 typedef unsigned short HF_VAL; typedef
/dports/graphics/povray37/povray-3.7.0.10/source/backend/
H A Dframe.h1514 typedef unsigned short HF_VAL; typedef