POV-Ray : Newsgroups : povray.general : mesh CSG woes Server Time
6 Nov 2024 00:27:11 EST (-0500)
  mesh CSG woes (Message 1 to 6 of 6)  
From: James Taylor
Subject: mesh CSG woes
Date: 2 Dec 2002 18:23:51
Message: <3debeb87@news.povray.org>
Hi all,

somewhat to my surprise I discovered that a mesh (in this case a character
from Poser) doesn't work properly in CSG operations. After a little thought,
i think this had something do to with the mesh not having an 'interior'. is
this correct? and how would alter the mesh to make CSG work properly?

thanks
jim


Post a reply to this message

From: autowitch
Subject: Re: mesh CSG woes
Date: 2 Dec 2002 19:30:45
Message: <3debfb35$1@news.povray.org>
James,

I think mesh2 was designed to take care of this problem.  3DWin, PoseRay,
ObjUVPov and Pose2POV all support mesh2 and should convert the model for
you.  Make sure that inside_vector is specified.

--
autowitch
http://www.autowitch.org

"James Taylor" <jim### [at] blueyondercouk> wrote in message
news:3debeb87@news.povray.org...
> Hi all,
>
> somewhat to my surprise I discovered that a mesh (in this case a character
> from Poser) doesn't work properly in CSG operations. After a little
thought,
> i think this had something do to with the mesh not having an 'interior'.
is
> this correct? and how would alter the mesh to make CSG work properly?
>
> thanks
> jim
>
>


Post a reply to this message

From: Christopher James Huff
Subject: Re: mesh CSG woes
Date: 2 Dec 2002 19:39:16
Message: <chrishuff-B554ED.19363002122002@netplex.aussie.org>
In article <3debfb35$1@news.povray.org>,
 "autowitch" <dun### [at] turboSPAMpowercom> wrote:

> I think mesh2 was designed to take care of this problem.  3DWin, PoseRay,
> ObjUVPov and Pose2POV all support mesh2 and should convert the model for
> you.  Make sure that inside_vector is specified.

The mesh2 feature has nothing to do with it, it is just an alternate 
syntax for the same object.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

From: Christopher James Huff
Subject: Re: mesh CSG woes
Date: 2 Dec 2002 19:42:28
Message: <chrishuff-2CE69B.19394202122002@netplex.aussie.org>
In article <3debeb87@news.povray.org>,
 "James Taylor" <jim### [at] blueyondercouk> wrote:

> somewhat to my surprise I discovered that a mesh (in this case a character
> from Poser) doesn't work properly in CSG operations. After a little thought,
> i think this had something do to with the mesh not having an 'interior'. is
> this correct? and how would alter the mesh to make CSG work properly?

The inside_vector feature will let POV determine "insideness" of a point 
for well-behaved meshes, ones without open areas. There is a bug when 
using it in differences as anything but the first object or when using 
inverted meshes, otherwise it should work with a properly chosen 
inside_vector.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

From: Warp
Subject: Re: mesh CSG woes
Date: 3 Dec 2002 07:08:50
Message: <3dec9ed2@news.povray.org>
Christopher James Huff <chr### [at] maccom> wrote:
> The inside_vector feature will let POV determine "insideness" of a point 
> for well-behaved meshes, ones without open areas.

  It's good to read the section "6.5.2.3.1 Solid Mesh" of the POV-Ray
documentation for details.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

From: James Taylor
Subject: Re: mesh CSG woes
Date: 4 Dec 2002 14:37:32
Message: <3dee597c$1@news.povray.org>
thanks, I'll take a look

jim


Post a reply to this message

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