odf opened this issue on Oct 27, 2008 · 13933 posts
bagginsbill posted Wed, 04 November 2009 at 2:13 PM
Quote - Regarding BB's eyes...
I asked this earlier but didn't get an answer - are they UV mapped in some way, or is that a standard texture projection, like spherical?
Will there be something people can actually paint on?
I simply projected the XY plane onto the eyes. There is of course stretching on the XY great circle, but the eye never rotates that far into view so it doesn't matter. A benefit of this is if you have a photo of an eye straight on, such as the one I took of myself, it lays on the eye perfectly, with no visible perspective distortion due to the curvature. You can start with any photo, center and scale it so the pupil and iris line up with the existing template, then you just need to clone and smudge far enough away that we don't see the eyelids and lacrimals from the photo.
I arranged the radius of the iris and pupil to exactly match the beautiful eye texture SaintFox gave us many months ago. I didn't pay any attention to how the existing eye is UV mapped. I simply made that texture file work, and all the others seem to work too.
Every Antonia eye texture can be used right away. I'm also planning on building a shader that will take V4 eyes, where the coordinates are transformed in the shader, not on the eye UV mapping assignments. I could also do V3 eyes, etc. The re-positioning of texture maps coordinates in the shader is actually pretty easy.
Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)