Hey, I'm not sure if anybody here has any experience wth working with 3d geometry but I have a thing I'd like to do and I'm trying to figure out the best way to do it...an example:
If I want to render out certain characteristics of an object to a bitmap, like surface normal as an example, what is the best way go about that? Do I step through each pixel in the bitmap and determine which face the pixel lies within in the objects uv coordinates then calculate the barycentric coordinates for that point and then get that position in 3d space from those coordinates(relative to the face)?...or is there a more efficient way? Determining in which face each pixel lies can get quite time consuming like that.