|
![](/i/fill.gif) |
MSAB wrote:
> Hi,
> when I use a image_map as a texture for a box, then of course I can't see on
> at least one side of the box the correct image.
> So, my question is, if it is possible, to translate, scale, rotate or
> whatever, to see the image on every side of the box?
>
> Here's the expample of my problem:
> http://three.fsphost.com/MSAB5/PC_problem.JPG
Try this:
#declare T1 = texture { image_texture here }
#declare T2 = texture {
radial
texture_map { [.65 T1 ] }
frequency 4
rotate y*45
}
#declare Cutoff = .15; // adjust Cutoff to fit vertical corners
#declare T_Cube = texture {
slope y
texture_map {
[0.00 T1 rotate x*90 ]
[Cutoff T1 rotate x*90 ]
[Cutoff T2 ]
[1-Cutoff T2 ]
[1-Cutoff T1 rotate x*90 ]
[1.00 T1 rotate x*90 ]
}
}
RG
Post a reply to this message
|
![](/i/fill.gif) |