POV-Ray : Newsgroups : povray.binaries.images : Hatblocks - Isosurface Challenge! Server Time
18 Nov 2024 18:44:13 EST (-0500)
  Hatblocks - Isosurface Challenge! (Message 1 to 1 of 1)  
From: Reuben Pearse
Subject: Hatblocks - Isosurface Challenge!
Date: 18 Mar 2002 20:01:02
Message: <3c968dce@news.povray.org>
Hi again...
A friend of mine wants to revamp a brochure containing pictures of hatblocks
(these are shaped blocks of wood which hat makers use to mould their hats
around). The original drawings are all hand-drawn but he wants to convert
the drawings into 3D renders. After my last post (titled "Hatblocks") and
reading through some of the Isosurface Tutorials it looks like all the
hatblocks can be represented as Isosurface functions. However my maths isn't
great and I need some help. The attached PNGs are some examples of the
shapes that need to be represented. I managed to do the first one (CB1)
using:

    #declare fn_A = function(x,y,z) { x^2 + y + z^2 - 1  }
    #declare fn_B = function(x,y,z) { -(x*0.5 + y)+0.2  }
    ...
    function { max(fn_A(x, y, z), -fn_B(x, y, z))}
    ...

It is worth noting that although most of them look circular, they will
pretty much all be oval in shape.

Can anyone help me or give me hints on how to do the others? Also I need a
way of accurately using the units of measurement (used in the cross-section
diagrams) to correctly scale the objects.

Thanks in advance

Reuben
doo### [at] breathemailnet


Post a reply to this message


Attachments:
Download 'Hatblocks_Set1.PNG' (74 KB) Download 'Hatblocks_Set2.PNG' (84 KB)

Preview of image 'Hatblocks_Set1.PNG'
Hatblocks_Set1.PNG

Preview of image 'Hatblocks_Set2.PNG'
Hatblocks_Set2.PNG


 

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