|
@@ -68,27 +68,27 @@ public:
|
|
|
void setMaxIntersect(uint32_t count) { if (this->maxIntersectOnARay<count) { this->maxIntersectOnARay = count; } };
|
|
|
void printStats() {
|
|
|
printf("Rendering statistics:\n");
|
|
|
- printf("Cones : %ld\n", this->coneCount);
|
|
|
- printf("Cubes : %ld\n", this->cubeCount);
|
|
|
- printf("Cylinders : %ld\n", this->cylinderCount);
|
|
|
- printf("Groups : %ld\n", this->groupCount);
|
|
|
- printf("Lights : %ld\n", this->lightCount);
|
|
|
- printf("Planes : %ld\n", this->planeCount);
|
|
|
- printf("Spheres : %ld\n", this->sphereCount);
|
|
|
- printf("Triangles : %ld\n", this->triangleCount);
|
|
|
+ printf("Cones : %lld\n", this->coneCount);
|
|
|
+ printf("Cubes : %lld\n", this->cubeCount);
|
|
|
+ printf("Cylinders : %lld\n", this->cylinderCount);
|
|
|
+ printf("Groups : %lld\n", this->groupCount);
|
|
|
+ printf("Lights : %lld\n", this->lightCount);
|
|
|
+ printf("Planes : %lld\n", this->planeCount);
|
|
|
+ printf("Spheres : %lld\n", this->sphereCount);
|
|
|
+ printf("Triangles : %lld\n", this->triangleCount);
|
|
|
printf("==================================================\n");
|
|
|
- printf("Pixel rendered : %ld\n", this->pixelCount);
|
|
|
- printf("Ray casted : %ld\n", this->rayCount);
|
|
|
- printf("Light Ray casted : %ld\n", this->lightRayEmitedCount);
|
|
|
- printf("Reflection ray casted : %ld\n", this->reflectionRayCount);
|
|
|
- printf("Refraction ray casted : %ld\n", this->refractedRayCount);
|
|
|
- printf("Intersect object created: %ld\n", this->intersectCount);
|
|
|
- printf("Intersection created : %ld\n", this->intersectionCount);
|
|
|
- printf("Malloc called : %ld\n", this->mallocCallCount);
|
|
|
- printf("Realloc called : %ld\n", this->reallocCallCount);
|
|
|
- printf("Bounding box missed : %ld\n", this->discardedIntersectCount);
|
|
|
- printf("Min depth atteined : %ld\n", this->maxDepthAttained);
|
|
|
- printf("Max intersect count : %ld\n", this->maxIntersectOnARay);
|
|
|
+ printf("Pixel rendered : %lld\n", this->pixelCount);
|
|
|
+ printf("Ray casted : %lld\n", this->rayCount);
|
|
|
+ printf("Light Ray casted : %lld\n", this->lightRayEmitedCount);
|
|
|
+ printf("Reflection ray casted : %lld\n", this->reflectionRayCount);
|
|
|
+ printf("Refraction ray casted : %lld\n", this->refractedRayCount);
|
|
|
+ printf("Intersect object created: %lld\n", this->intersectCount);
|
|
|
+ printf("Intersection created : %lld\n", this->intersectionCount);
|
|
|
+ printf("Malloc called : %lld\n", this->mallocCallCount);
|
|
|
+ printf("Realloc called : %lld\n", this->reallocCallCount);
|
|
|
+ printf("Bounding box missed : %lld\n", this->discardedIntersectCount);
|
|
|
+ printf("Min depth atteined : %lld\n", this->maxDepthAttained);
|
|
|
+ printf("Max intersect count : %lld\n", this->maxIntersectOnARay);
|
|
|
printf("==================================================\n");
|
|
|
};
|
|
|
};
|