Texture mapping a torus

this is more a general 3d/ webgl question also, cause ive had similar issue in three.js too.

Just wondering how do i go about using a image texture on a torus?

I’ve played around with images of different aspect ratios and dimensions but i always get a solid color (from the image) across the whole of the torus.

yes, the torus does not have texture coordinates right now.

ill ad this to my list.

easiest way would be to create a torus in blender (or whatever) and import that file.


thanks! cheers