darbyjohnston / tlRender

tlRender is an open source library for building playback and review applications for visual effects, film, and animation.
BSD 3-Clause "New" or "Revised" License
193 stars 22 forks source link

Fixed matrix calculation. #138

Closed ggarra13 closed 6 months ago

ggarra13 commented 6 months ago

In one case it was transposed and in another was missing / w coefficient.

darbyjohnston commented 6 months ago

Thanks, I guess I wasn't actually using this code so it slipped by; out of curiosity what are you using it for?

I was originally using glm for vector and matrix math, but removed it since I didn't want it in the API. On second thought maybe I should have kept it and just used it internally, wrapped by the tlRender classes.

ggarra13 commented 6 months ago

out of curiosity what are you using it for?

For rotating the images and for perspective transformations on sphere mapping and environment cube mapping.