|
|
Hi Thomas
I don't see the post i wrote this morning, so, I do it again, sorry if you
have allready seen it
pov:write("interior_texture{", gsub(self.TextureInterior, "%s", "%_"),"}")
pov:texture(gsub(self.Texture, "%s", "%_") )
The first line will generate a line in pov :
"interior_texture{TextureInterior}"
The second line will generate a line in Pov like material {Texture}
(The call to gsub avoid the spaces in the name of the texture)
But TextureInterior MUST be a texture and Texture MUST be a material (sorry
for shouting ;-)
HTH
Philippe Gibone
news:3eed8a51@news.povray.org...
>
> "Philippe_Gibone" <Ph.### [at] wanadoofr> schreef in bericht
> news:3eec9c12$1@news.povray.org...
> > Inside the lua plugin, I have no problem defining a "material" for the
> > "texture" of my mesh2, and a "texture" for the "interior_texture", but I
> > have to be carefull when I choose them !
>
> How do you do this? I mean especially the 'interior_texture'? I
experimented
> a little (in Moray it is not implemented as far as I can see, I asked Lutz
> if he could though) and adding the command in POV results also in
errors...
>
> Thomas
>
>
Post a reply to this message
|
|