|
|
Definition at line 102 of file helpers.cpp. Referenced by ConvertSizeToString(), main(), toxic::SceneSettingsWrapper::Print(), toxic::DriverSettingsWrapper::Print(), print_statistics(), and PrintSamplingSettings(). |
|
||||||||||||
|
Definition at line 161 of file helpers.cpp. References ConvertNumberToString(), and ratio(). Referenced by main(). |
|
|
Definition at line 30 of file error.cpp. Referenced by toxic::SceneSettingsWrapper::CheckConsistency(), toxic::DriverSettingsWrapper::CheckConsistency(), get_home_path(), toxic::SceneSettingsWrapper::Load(), toxic::DriverSettingsWrapper::Load(), main(), and toxic::CLParser::Parse(). |
|
||||||||||||||||||||||||||||||||
|
The original jgt code.
Definition at line 40 of file intersecttriangle.cpp. References toxic::Ray::m_direction, and toxic::Ray::m_origin. Referenced by toxic::Mesh::Intersect(), toxic::Mesh::octree_full_visitor::Trace(), and toxic::Mesh::octree_test_visitor::Trace(). |
|
||||||||||||||||||||||||||||||||
|
Code rewritten to do tests on the sign of the determinant. The division is at the end in the code. Definition at line 86 of file intersecttriangle.cpp. References EPSILON, toxic::Ray::m_direction, and toxic::Ray::m_origin. |
|
||||||||||||||||||||||||||||||||
|
Code rewritten to do tests on the sign of the determinant. The division is before the test of the sign of the determinant. Definition at line 152 of file intersecttriangle.cpp. References EPSILON, toxic::Ray::m_direction, and toxic::Ray::m_origin. |
|
||||||||||||||||||||||||||||||||
|
Code rewritten to do tests on the sign of the determinant. The division is before the test of the sign of the determinant and one cross product has been moved out from the if-else if-else. Definition at line 216 of file intersecttriangle.cpp. References EPSILON, toxic::Ray::m_direction, and toxic::Ray::m_origin. |
|
|
Definition at line 124 of file utilities.h. Referenced by IsSquare(). |
|
|
Definition at line 129 of file utilities.h. References IntSquareRoot(), and sheep::sq(). |
|
|
Referenced by toxic::Cube::Cube(), toxic::DummyObject::DummyObject(), toxic::Mesh::Finalize(), toxic::Ring::Ring(), toxic::Sphere::Sphere(), and toxic::Square::Square(). |
|
||||||||||||
|
Filter a color (component per component product).
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
Basic operations.
|
|
||||||||||||
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
Helper function.
Definition at line 260 of file utilities.h. References PackSphericalCoords(), sheep::Real, and VectorToSphericalCoords(). |
|
||||||||||||||||
|
Helper function.
Definition at line 250 of file utilities.h. |
|
||||||||||||||||
|
Packs a direction expressed in spherical coordinates to a compact 8-bit representation. Definition at line 208 of file utilities.h. References sheep::NormalizeAngle(), and sheep::Real. Referenced by PackDirection(). |
|
||||||||||||||||||||
|
Packs a direction expressed in spherical coordinates to a compact 16-bit representation. Definition at line 168 of file utilities.h. |
|
||||||||||||
|
Definition at line 81 of file helpers.cpp. Referenced by main(), and print_statistics(). |
|
||||||||||||
|
Definition at line 69 of file helpers.cpp. Referenced by print_statistics(). |
|
||||||||||||
|
Converts from spherical coordinates to cartesian coordinates. Returned vector is unit-length. Definition at line 154 of file utilities.h. References sheep::Vector3::IsUnitLength(), and sheep::Real. Referenced by toxic::Sphere::ComputeIrradiance(), and toxic::ConversionTables::ConversionTables(). |
|
||||||||||||||||||||||||
|
Definition at line 134 of file triboxoverlap.cpp. References AXISTEST_X01, AXISTEST_X2, AXISTEST_Y02, AXISTEST_Y1, AXISTEST_Z0, AXISTEST_Z12, FINDMINMAX, sheep::Vector3::m_x, sheep::Vector3::m_y, sheep::Vector3::m_z, and plane_box_overlap(). Referenced by toxic::Mesh::triangle_voxel_intersector::Intersect(). |
|
|
Not a helper function. Same as UnpackSphericalCoords() followed by SphericalCoordsToVector(), but much faster. Definition at line 281 of file utilities.h. |
|
||||||||||||
|
Not a helper function. Same as UnpackSphericalCoords() followed by SphericalCoordsToVector(), but much faster. Definition at line 267 of file utilities.h. |
|
||||||||||||||||
|
Unpacks spherical coordinates from the 16-bit representation. phi is in [0, 2*Pi], theta is in [0, Pi].
Definition at line 235 of file utilities.h. References sheep::Real. |
|
||||||||||||||||||||
|
Unpacks spherical coordinates from the 16-bit representation. phi is in [0, 2*Pi], theta is in [0, Pi].
Definition at line 196 of file utilities.h. |
|
||||||||||||||||
|
Converts from cartesian coordinates to spherical coordinates. v must be a unit-length vector. phi is in [0, 2*Pi], theta is in [0, Pi].
Definition at line 134 of file utilities.h. References sheep::Vector3::IsUnitLength(), sheep::Vector3::m_x, sheep::Vector3::m_y, sheep::Vector3::m_z, and sheep::Real. Referenced by toxic::PhotonMap::BuildPhotonDirectionHistogram(), and PackDirection(). |
|
|
Definition at line 34 of file error.cpp. Referenced by get_home_path(). |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 49 of file toxic/src/renderer/octree.h. |
|
|
Definition at line 48 of file toxic/src/renderer/octree.h. |
|
|
Definition at line 32 of file version.h. Referenced by main(). |
1.3.6