"GioSeregni" <gms### [at] hotmailcom> wrote:
> in fact I tried but I didn't understand how to implement UV mapping.
No problem. I've been at this for 10 years, and just recently got pretty
confused about the specifics.
> need at least one example on a cube, on which the texture is wrapped uniformly.
Right. So if you look at the diagram on the wiki, it will show you what needs
to be where, and the exact coordinates for all of the faces. So you could
image-map some squares and render that with an orthographic camera to give you
an image-map suitable for further uv-mapping,
you could write some more complex code to just grab the filenames and make the
uv-mapping texture in memory and do everything in a 1-step render. And I'd
really need to go look up and study the exact details of doing it that way.
> Then everything else, scaling, translating, rotating, re-proportioning on the
> axes, is simple.
Post a reply to this message