Hi! I'm dealing with fairly simple task, but for some reason I'm stuck fo a long time, all my approaches fails, so I'm asking for an advice...
I have simple cube, witch has 6 textures assigned to every side of it. This cube rotates around X and Y axises.
I need to track, which side faces the camera mostly, and highligth that side.
Is there any way to find, which side is nearest to the camera, without involving tracking rotations and comparing them to hardcoded values (like, if rotated by bla bla degrees, and bla bla degrees, then side facing == 3 and e.t.c)
Cube is XnaModel, but I can't see any way to extra side's vertex position, for sample, and compare it to the camera or e.t.c Hmm...