POV-Ray : Newsgroups : povray.general : spatch or hamapatch file format : Re: spatch or hamapatch file format Server Time
7 Aug 2024 01:18:14 EDT (-0400)
  Re: spatch or hamapatch file format  
From: Warp
Date: 9 Dec 2001 07:51:28
Message: <3c135e50@news.povray.org>
Richard D <a20### [at] rogerscom> wrote:
: Basically, I want to convert a mesh2 from Povray into spatch or hamapatch.
: I looked at the some of the spt and hmp files, but I can't quite figure it
: out.

  I think that would be quite difficult, as those programs use some type of
bicubic patches, not meshes. Converting a mesh to a bicubic patch can be
a close to impossible problem.

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


Post a reply to this message

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