|
![](/i/fill.gif) |
David Given <dg### [at] cowlark com> wrote:
> Okay, here's a very noddy question:
>
> I have an object with complex textures attached to it. I wish to render
> the object with different, much simpler textures (a simple pigment, in
> fact). However, if I try to create an instance of the object with my new
> texture, I just get the error:
>
> Parse Error: Cannot layer over a patterned texture.
>
> For various reasons I can't change the original object.
>
> Is there any way to get Povray to create a new instance of an object,
> discarding all the texture information and letting me replace it with
> new textures?
>
> --
> ┌─── dg@cowlark.com ─────
http://www.cowlark.com ─────
> │
> │ "I have a mind like a steel trap. It's rusty and full of dead mice."
> │ --- Anonymous, on rasfc
Perhaps you could use #if...#else...#end, something like this:
#declare use_simple_texture=1;
object{
my_object
#if (use_simple_texture=1)
texture{simple_texture}
#else
texture{complex_texture}
#end
}
Post a reply to this message
|
![](/i/fill.gif) |