brandonpelfrey / Fast-BVH

A Simple, Optimized Bounding Volume Hierarchy for Ray/Object Intersection Testing
MIT License
515 stars 72 forks source link

cube of spheres ppm #22

Open dafhi opened 4 years ago

dafhi commented 4 years ago

result looks like a pitch alignment bug

ghost commented 4 years ago

Hi @dafhi, can you elaborate? Which part of the image are you talking about? And you're talking about the pitch of the image? As in bytes per scanline?

If you're just making a remark about the general appearance of the image, know that point of the program is to demonstrate the performance of the library. It's not going to paint a pretty picture because this library is for BVH construction, it's not an entire ray tracer.

dafhi commented 4 years ago

ah okay. if it's same on your end i wouldn't worry about it then; just a head's-up from casual onlooker. i'm still learning ray tracing myself

ghost commented 4 years ago

There's also a demo called ObjFile which renders 3D models you can download from the internet, as well as a benchmark program that renders an image of Sponza.

Here's an output from the benchmark program.