|
![](/i/fill.gif) |
I have a torus that I would like to wrap a bitmapped texture around. So, I
have something like
torus {
1, 0.05
pigment {
image_map {
png "image_for_torus.png"
map_type 5 // or even just uv_mapping, since torus {} has it
// ...
}
}
}
Well, this works as advertised. The problem is that the texture image would
need to be 20 times as long as it is high to maintain an equal resolution
in both the U and V directions. if I use a texture 256 pixels high this
implies that I need to make it over 5000 pixels across to get constant
resolution, which seems a bit excessive. I'm using a torus instead of a
mesh to save memory, and using such a large texture means more memory use.
It would be nice to be able to tile it, but the toroidal mapping explicitly
prevents this. Is there a way to do this while keeping the toroidal mapping?
Tom
Post a reply to this message
|
![](/i/fill.gif) |