|
![](/i/fill.gif) |
Mike Williams wrote:
>
> Wasn't it Remco de Korte who wrote:
>
> >I considered using triangles or a mesh, which would have been much faster were
> >it not that I want the front and back of the sheet to have a different pigment.
> >In fact, in the original object I use image_maps. That doesn't affect the speed
> >much.
> >I also thought about using triangles and alternating the pigment depending on
> >which side is face towards the camera but I couldn't figure out how to do that
> >in POV.
> >Two thin boxes seemed like the easiest way.
>
> Err, at the moment your object is actually the same colour on both
> sides. I think you meant to write
>
> #declare origami=
> union{
> object{front}
> object{back}
> }
>
> instead of
>
> #declare origami=object{front}
> union{
> object{front}
> object{back}
> }
>
Yes, you're right. That was a remainder of my experiments.
> In this version "origami" is #declared to be the red box, and then a
> copy of the bi-coloured box is rendered.
>
> It's possible to have meshes (or anything else) with different textures
> on each side in MegaPOV, by using the "interior_texture" keyword.
>
I haven't tried that, I wonder if it would make a big difference, with the total
amount of sections being the same. I'll see if I can figure out how to follow
your suggestion. Thanks.
>
> --
> Mike Williams
> Gentleman of Leisure
Remco
Post a reply to this message
|
![](/i/fill.gif) |