Code Monkey home page Code Monkey logo

volppm's Issues

failed to load CornellBox-Water-Small-Light-Covered-Cube-Floor-No-Backwall.obj

First of all, thank you so much for sharing this code! This is the first and maybe one of the best photon mapping project I can learn in GitHub!

But I want to ask something about how to run this solution: I've finished CMake build and enter the .sln, but after I clicked Local Windows Debugger (under Release mode and x64) on solution, it shows that I can't load the obj file.

[2022-06-18 22:20:49.938] [info] [Camera] position: (0, 1, 6)
[2022-06-18 22:20:49.939] [info] [Camera] forward: (0, 0, -1)
[2022-06-18 22:20:49.939] [info] [Camera] right: (1, -0, 0)
[2022-06-18 22:20:49.939] [info] [Camera] up: (0, 1, 0)
[2022-06-18 22:20:49.939] [info] [PinholeCamera] focalLength: 2.4142134
[2022-06-18 22:20:49.939] [info] [Scene] loading: CornellBox-Water-Small-Light-Covered-Cube-Floor-No-Backwall.obj
[2022-06-18 22:20:49.940] [error] [Scene] failed to load CornellBox-Water-Small-Light-Covered-Cube-Floor-No-Backwall.obj : 
Cannot open file [CornellBox-Water-Small-Light-Covered-Cube-Floor-No-Backwall.obj]

I tried moving the model with materials to Include Directories, but that didn't seem to work either (since I haven't used tinyobjloader before, so forgive me if I'm wrong) I checked GitHub's tinyobjloader repo related content, but it didn't solve my problem.

Can you help me? Thank you very much!

I don't know if it has any effect, but I set project main not ALL_BUILD as start up project, and I put the model under /volppm/build/examples/main.dir

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.