|
![](/i/fill.gif) |
Another approach would be to scale the texture in the texture editor
appropriately. In your example it would be <.1, .2, 1>. When the object is
scaled <10, 5, 1> the texture ends up with <1,1,1>.
I had trouble with this concept in Moray too but there are ways around it.
Tony's approach definitely works but PoV-Ray needs to create another object
and goes through some initial CSG operations/checks. I guess.
Bernd
Tony Vigil wrote in message <379BFCE3.335D4C2B@gte.net>...
>Create a union CSG object adding only the cube.
>Then add the texture to the CSG object. The CSG object is scaled at
><1,1,1>
>
>Paul Johnsson wrote:
>
>> Hello.
>>
>> I have some troubles when applying a "wood" texture to a object in
>> Moray. The object is a simple cube, that is scaled with <10,5,1>.
>>
>> I have created a very simple wood-texture, and would like to apply this
>> texture to the cube, to get a piece of nice wood. This works fine but
>> the material is scaled in the same way as the cube <10,5,1> which makes
>> it distorted.
>>
>> I have tried to use the "Space Parent" and this solves the problem with
>> the distorted material. But when I translate the cube the material is
>> NOT translated if the space is "parent".
>>
>> Is it possible to "lock" a material posistion to a object, so that the
>> material gets translated but NOT scaled...?
>>
>> I would aprechiate any help on this subject.
>
Post a reply to this message
|
![](/i/fill.gif) |