Viewability metrics of a multidimensional object in a multidimensional digital environment
Using various embodiments, methods and systems to determine viewability metrics of a multidimensional object in a multidimensional digital environment are described. In one embodiment, a system is configured to render a viewport of the multidimensional digital environment displayed on the graphical user interface. The viewport includes the object of interest. The object of interest includes a multidimensional digital object. The object of interest is rendered with a first set of colors. The system is further configured to determine a first number of pixels representing a total number of pixels in the first set of colors and to determine a second number of pixels in the viewport representing a total number of pixels of the viewport. Thereafter, a ratio is calculated by dividing the first number of pixels by the second number of pixels. The metric of viewability is then derived by the calculated ratio.
1. A method comprising:
rendering, by a computing system, a viewport of a multidimensional digital environment displayed on a graphical user interface, wherein the viewport includes an object of interest, and wherein the object of interest is predetermined and includes a multidimensional digital object or a portion thereof, and wherein only the object of interest is rendered with a first set of colors;
determining a first number of pixels rendered with the first set of colors;
determining a second number of pixels in the viewport, the second number of pixels representing the total number of pixels of the viewport;
calculating a first ratio by dividing the first number of pixels by the second number of pixels;
determining a geometrical area of projection (GAP) of the object of interest on the viewport wherein the GAP includes a total area projected by the object of interest in a normalized viewport space; and
calculating a second ratio by dividing the first ratio by the GAP;
wherein the method determines a metric of viewability of the object of interest.
2. The method of claim 1 , wherein the GAP of the object of interest on the viewport is determined by:
projecting vertices of the object of interest from world coordinates to the normalized viewport space; and
calculating the total area projected by the vertices of the object of interest in the normalized viewport space.
3. The method of claim 2 , wherein the total area projected by the vertices of the first set of colors includes:
calculating an area of each face projected by the vertices of the first set of colors in the normalized viewport space visible; and
performing a summation of the area of each face projected by the vertices of the first set of colors in the normalized viewport space.
4. The method of claim 1 wherein another object, within the viewport, is rendered with a second set of colors, the another object not being the object of interest.
5. The method of claim 1 , wherein the object of interest includes a multidimensional bounding box enclosing the multidimensional digital object.
6. The method of claim 1 , wherein the multidimensional digital environment is at least a three-dimensional environment, and wherein the multidimensional digital object is at least a three-dimensional digital object.
7. A non-transitory computer readable medium comprising instructions which when executed by a processing system implements a method, comprising:
rendering a viewport of a multidimensional digital environment displayed on a graphical user interface, wherein the viewport includes an object of interest, and wherein the object of interest is predetermined and includes a multidimensional digital object or a portion thereof, and wherein only the object of interest is rendered with a first set of colors;
determining a first number of pixels rendered with the first set of colors;
determining a second number of pixels in the viewport, the second number of pixels representing the total number of pixels of the viewport;
calculating a first ratio by dividing the first number of pixels by the second number of pixels;
determining a geometrical area of projection (GAP) of the object of interest on the viewport wherein the GAP includes a total area projected by the object of interest in a normalized viewport space; and
calculating a second ratio by dividing the first ratio by the GAP;
wherein the method determines a metric of viewability of the object of interest.
8. The non-transitory computer readable medium of claim 7 , wherein the GAP of the object of interest on the viewport is determined by: projecting vertices of the object of interest from world coordinates to the normalized viewport space; and calculating the total area projected by the vertices of the object of interest in the normalized viewport space.
9. The non-transitory computer readable medium of claim 8 , wherein the total area projected by the vertices of the first set of colors includes:
calculating an area of each face projected by the vertices of the first set of colors in the normalized viewport space; and
performing a summation of the area of each face projected by the vertices of the first set of colors in the normalized viewport space.
10. The non-transitory computer readable medium of claim 7 , wherein another object, within the viewport, is rendered with a second set of colors, the another object not being the object of interest.
11. The non-transitory computer readable medium of claim 7 , wherein the object of interest includes a multidimensional bounding box enclosing the multidimensional digital object.
12. The non-transitory computer readable medium of claim 7 , wherein the multidimensional digital environment is at least a three-dimensional environment, and wherein the multidimensional digital object is at least a three-dimensional digital object.
13. A system, comprising:
a memory module;
a processing system comprising at least one hardware core coupled to the memory module configured to:
render a viewport of a multidimensional digital environment displayed on a graphical user interface, wherein the viewport includes an object of interest, and wherein the object of interest is predetermined and includes a multidimensional digital object or a portion thereof, and wherein only the object of interest is rendered with a first set of colors;
determine a first number of pixels rendered with the first set of colors;
determine a second number of pixels in the viewport, the second number of pixels representing the total number of pixels of the viewport;
calculate a first ratio by dividing the first number of pixels by the second number of pixels;
determine a geometrical area of projection (GAP) of the object of interest on the viewport wherein the GAP includes a total area projected by the object of interest in a normalized viewport space; and
calculate a second ratio by dividing the first ratio by the GAP;
wherein the method determines a metric of viewability of the object of interest.
14. The system of claim 13 , wherein to determine the GAP of the object of interest on the viewport, the processing system is further configured to: project vertices of the object of interest from world coordinates to the normalized viewport space; and calculate the total area projected by the vertices of the object of interest in the normalized viewport space.
15. The system of claim 14 , wherein to determine the total area projected by the vertices of the first set of colors the processing system is further configured to:
calculate an area of each face projected by the vertices of the first set of colors in the normalized viewport space; and
perform a summation of the area of each face projected by the vertices of the first set of colors in the normalized viewport space.
16. The system of claim 13 , wherein another object, within the viewport, is rendered with a second set of colors, the another object not being the object of interest.
17. The system of claim 13 , wherein the object of interest includes a multidimensional bounding box enclosing the multidimensional digital object.
18. The system of claim 13 , wherein the multidimensional digital environment is at least a three-dimensional environment, and wherein the multidimensional digital object is at least a three-dimensional digital object.