POV-Ray : Newsgroups : povray.binaries.images : Modeler test (2 jpgs, 27kb each) : Re: Modeler test (2 jpgs, 27kb each) Server Time
12 Aug 2024 11:19:24 EDT (-0400)
  Re: Modeler test (2 jpgs, 27kb each)  
From: Florian Brucker
Date: 9 Nov 2003 11:59:16
Message: <3fae7264$1@news.povray.org>
>> Could one do some "sloppy" modelling first with povray primitives and 
>> then
>> have it go to mesh and then to ssd mesh?
> 
> I just wrote some macros which output POV-Primitives as Mesh. Using 
> those you could propably do it.

Well, i just checked this, and unfortunately it doesn't seem to work. 
The problem is that my macros only output to mesh-unions and what we 
would need are mesh-merges. Therefore you could use the NSSS on a 
single primitive out of my macros, but not on a whole model based on 
them, because the NSSS would still subdivide each of its primitives 
independently from the others.
As far as I know, mesh merging is not that easy and I don't think that 
I will implement it, cause I made the macros for a totally different 
purpose. But if anyone comes up with a nice algorithm I'd be pleased 
to implement it :)

Florian
-- 
//=================[web: http://www.torfbold.com]==================\\
#local a=-5;#while(a<5)sphere{<sin(a*pi)*5a*10pow(a,5)*.01>sin(a*a*a*
.1)+1pigment{rgb 9*z}}#local a=a+.01;#end camera{look_at-y*10location
<8,-3,-8>*10}// [www.povray.org]     [www.imp.org]     [www.irtc.org]


Post a reply to this message

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