dilevin / computer-graphics-ray-tracing

Computer Graphics Assignment about Ray Tracing
1 stars 5 forks source link

Can we assume materials will never be null/malformed? #1

Closed WChrisK closed 4 years ago

WChrisK commented 5 years ago

Some of the .json files in the data folder will segfault because there's no materials in the code I've done for this assignment.

Are we expected to handle this? (if so, what do you want us to do?)

dilevin commented 5 years ago

You don't have to run your code on the .json files that do not define materials.

WyattLiu commented 5 years ago

Is this the reason we have segfaults for two spheres on a plane and inside the sphere?

dilevin commented 5 years ago

Yes (see issue #4)