POV-Ray : Newsgroups : povray.general : mesh2 solid object question : Re: mesh2 solid object question Server Time
30 Jul 2024 00:21:17 EDT (-0400)
  Re: mesh2 solid object question  
From: Warp
Date: 9 Feb 2010 10:38:17
Message: <4b718169@news.povray.org>
freddy <fre### [at] yahoocom> wrote:
> I have a surface object which I can describe with mesh2. I want to make this a
> solid object at least I want the mes2 surface to project as a solid surface to
> -infinity

  You mean it's an open surface, but you want one of the sides to be
considered "inside" in CSG operations (in the same way as eg. heightfields)?

  Meshes are made into solids using the inside_vector directive, and it
should work in this case as well. You just have to be careful with its
orientation: You have to orient it so that it points towards the non-inside
part of the mesh.

  (Eg. if your mesh is an open surface on the xz plane and you want everything
below it to be considered "inside", then a "inside_vector y" should do it.)

-- 
                                                          - Warp


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.