| 1570 | } |
| 1571 | |
| 1572 | void MobileNerf::create_texture(int model_index, int sub_model_index, int models_entry) |
| 1573 | { |
| 1574 | // Set up the input texture image |
| 1575 | |
| 1576 | // TODO(tomatkinson): should load different scenes's feature map from command line |
| 1577 | std::string feature_0_path = model_path[model_index] + "shape" + std::to_string(sub_model_index) + ".pngfeat0.png"; |
| 1578 | std::string feature_1_path = model_path[model_index] + "shape" + std::to_string(sub_model_index) + ".pngfeat1.png"; |
| 1579 | |
| 1580 | LOGI("Creating feature texture 0"); |
| 1581 | create_texture_helper(feature_0_path, models[models_entry].texture_input_0); |
| 1582 | LOGI("Done Creating feature texture 0"); |
| 1583 | |
| 1584 | LOGI("Creating feature texture 1"); |
| 1585 | create_texture_helper(feature_1_path, models[models_entry].texture_input_1); |
| 1586 | LOGI("Done Creating feature texture 0"); |
| 1587 | } |
| 1588 | |
| 1589 | void MobileNerf::create_texture_helper(std::string const &texturePath, Texture &texture_input) |
| 1590 | { |
nothing calls this directly
no test coverage detected