POV-Ray : Newsgroups : povray.general : How do you convert POV-Ray CSG shapes into other 3D formats? Server Time
30 Jul 2024 06:18:42 EDT (-0400)
  How do you convert POV-Ray CSG shapes into other 3D formats? (Message 11 to 20 of 24)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 4 Messages >>>
From: B  Gimeno
Subject: Re: How do you convert POV-Ray CSG shapes into other 3D formats?
Date: 9 Feb 2010 14:55:00
Message: <web.4b71bcde69aaf4d868afa570@news.povray.org>
Reuben Pearse <reu### [at] pearsecouk> wrote:
> Hi everyone,
>
> Is there a way to convert POV-Ray's internal representation of a 3D
> shape (i.e. one constructed using CSG) into another 3D format - perhaps
> mesh or mesh2?
>
> Would it possible to write a POV-Ray macro to scan the surface of an
> object and create mesh2 type co-ordinates (would the trace function be
> able to do this?)
>
> I'm just thinking it would be nice to be able to easily convert POV-Ray
> models to other formats :-)
>
> Thanks in advance
>
> Reuben
> reu### [at] pearsecouk

The relationship between the next link and this thread can be considered as very
subtle (at best), but can serve as inspiration to try another ways. I regret the
absence of more examples and the presence of syntactic and grammatical errors.

regards,
B. Gimeno

http://www.persistencia.org/CATHELP/CAT.html


Post a reply to this message

From: mone
Subject: Re: How do you convert POV-Ray CSG shapes into other 3D formats?
Date: 10 Feb 2010 17:35:01
Message: <web.4b73342169aaf4dac681f860@news.povray.org>
"B. Gimeno" <bgi### [at] lycoses> wrote:

>
> The relationship between the next link and this thread can be considered as very
> subtle (at best), but can serve as inspiration to try another ways. I regret the
> absence of more examples and the presence of syntactic and grammatical errors.
>
> regards,
> B. Gimeno
>
> http://www.persistencia.org/CATHELP/CAT.html

Thanks for the link!
That cubic golfer guy looks quite cool and inspiring. I'll give this a try when
I have some time again to do some POV-Ray experiments :)
Does this warning "VERY VERY VERY IMPORTANT: Ignore or forget this section will
dramatically raise up the parsing time without obtain results" refer to section
5 or to section 5.1 ?

Best wishes,

Simone


Post a reply to this message

From: bgimeno
Subject: Re: How do you convert POV-Ray CSG shapes into other 3D formats?
Date: 11 Feb 2010 14:48:42
Message: <4b745f1a@news.povray.org>
> Does this warning "VERY VERY VERY IMPORTANT: Ignore or forget this section 
> will
> dramatically raise up the parsing time without obtain results" refer to 
> section
> 5 or to section 5.1 ?

To Section 5. The inclusion of the keyword "inside_vector" is well 
peremptory, without which the process is perpetuated without result. Thanks 
for your comment.
Soon, Mr. Cubic will be published at a higher resolution on your favorite 
news server.

B. Gimeno

P.D. That you look like a man playing golf is a Poserguy playing in a 
Discobolo pose being misunderstood by my macro, with several boxes aligned 
to the vector determined by vector_inside


Post a reply to this message

From: Alain
Subject: Re: How do you convert POV-Ray CSG shapes into other 3D formats?
Date: 11 Feb 2010 23:02:50
Message: <4b74d2ea@news.povray.org>

>> Does this warning "VERY VERY VERY IMPORTANT: Ignore or forget this section
>> will
>> dramatically raise up the parsing time without obtain results" refer to
>> section
>> 5 or to section 5.1 ?
>
> To Section 5. The inclusion of the keyword "inside_vector" is well
> peremptory, without which the process is perpetuated without result. Thanks
> for your comment.
> Soon, Mr. Cubic will be published at a higher resolution on your favorite
> news server.
>
> B. Gimeno
>
> P.D. That you look like a man playing golf is a Poserguy playing in a
> Discobolo pose being misunderstood by my macro, with several boxes aligned
> to the vector determined by vector_inside
>
>

In that case, try changing the orientation of the inside vector.
If it was "inside_vector x" change to "inside_vector <1,0.1,0.1>"

The cause of your problem is probably that the inside_vector is parallel 
to some triangle of the mesh.


Alain


Post a reply to this message

From: jhu
Subject: Re: How do you convert POV-Ray CSG shapes into other 3D formats?
Date: 20 Mar 2010 11:30:01
Message: <web.4ba4e9d769aaf4d914fd7390@news.povray.org>
Marching triangles isn't the same as marching cubes I assume? I'm not able to
find much on marching triangles. I was thinking about trying to implement the
marching cube algorithm.


Post a reply to this message

From: Warp
Subject: Re: How do you convert POV-Ray CSG shapes into other 3D formats?
Date: 20 Mar 2010 11:41:15
Message: <4ba4ec9b@news.povray.org>
jhu <nomail@nomail> wrote:
> Marching triangles isn't the same as marching cubes I assume?

  No. Marching cubes is much simpler, but produces significantly poorer
results (does not take into account the curvature of the surface in order
to dynamically produce more triangles in high-curvature areas, which means
that it often misses smaller details, and it often produces extremely thin
triangles which may cause problems).

  The marching cubes algorithm also has a negative fame because some idiot
patented it on the US. (The patent might be expired by now.)

-- 
                                                          - Warp


Post a reply to this message

From: Hugo
Subject: Re: How do you convert POV-Ray CSG shapes into other 3D formats?
Date: 20 Mar 2010 13:41:54
Message: <op.u9vnfzc152h720@blackbishop>
On Sat, 20 Mar 2010 12:41:15 -0300, Warp <war### [at] tagpovrayorg> wrote:

>   The marching cubes algorithm also has a negative fame because some  
> idiot
> patented it on the US. (The patent might be expired by now.)
>

Yes, the marching cubes patent expired in 2005.

Hugo.


Post a reply to this message

From: Le Forgeron
Subject: Re: How do you convert POV-Ray CSG shapes into other 3D formats?
Date: 20 Mar 2010 17:08:09
Message: <4ba53939$1@news.povray.org>
Le 20/03/2010 18:41, Hugo nous fit lire :
> On Sat, 20 Mar 2010 12:41:15 -0300, Warp <war### [at] tagpovrayorg> wrote:
> 
>>   The marching cubes algorithm also has a negative fame because some
>> idiot
>> patented it on the US. (The patent might be expired by now.)
>>
> 
> Yes, the marching cubes patent expired in 2005.
> 
That's a good news. I had patches of 3.1g which used marching cube to
tesselate solid object into mesh... with due restriction about import in
US zone.

Have you any accurate data (such as exact expiry date of marching cube ?)
(Gif was also troublesome)


Post a reply to this message

From: Fredrik Eriksson
Subject: Re: How do you convert POV-Ray CSG shapes into other 3D formats?
Date: 20 Mar 2010 17:29:03
Message: <op.u9vxyodv7bxctx@toad.bredbandsbolaget.se>
On Sat, 20 Mar 2010 22:08:09 +0100, Le_Forgeron <jgr### [at] freefr> wrote:
>
> Have you any accurate data (such as exact expiry date of marching cube ?)

http://www.google.com/patents/about?id=T1Q3AAAAEBAJ&dq=4710876
  or
http://patft.uspto.gov/netacgi/nph-Parser?Sect2=PTO1&Sect2=HITOFF&p=1&u=%2Fnetahtml%2FPTO%2Fsearch-bool.html&r=1&f=G&l=50&d=PALL&RefSrch=yes&Query=PN%2F4710876

U.S. patents generally last up to 20 years.



-- 
FE


Post a reply to this message

From: Warp
Subject: Re: How do you convert POV-Ray CSG shapes into other 3D formats?
Date: 20 Mar 2010 17:53:45
Message: <4ba543e9@news.povray.org>
Le_Forgeron <jgr### [at] freefr> wrote:
> Le 20/03/2010 18:41, Hugo nous fit lire :
> > On Sat, 20 Mar 2010 12:41:15 -0300, Warp <war### [at] tagpovrayorg> wrote:
> > 
> >>   The marching cubes algorithm also has a negative fame because some
> >> idiot
> >> patented it on the US. (The patent might be expired by now.)
> >>
> > 
> > Yes, the marching cubes patent expired in 2005.
> > 
> That's a good news. I had patches of 3.1g which used marching cube to
> tesselate solid object into mesh... with due restriction about import in
> US zone.

  I really think we should concentrate on the marching triangles algorithm
and forget about marching cubes. The latter, bluntly put, outright sucks as
a tesselation algorithm. The results are horrid.

-- 
                                                          - Warp


Post a reply to this message

<<< Previous 10 Messages Goto Latest 10 Messages Next 4 Messages >>>

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