POV-Ray : Newsgroups : povray.binaries.images : My take on Brick / Rock walls via isosurfaces and functions. Server Time
25 Dec 2024 00:25:45 EST (-0500)
  My take on Brick / Rock walls via isosurfaces and functions. (Message 1 to 3 of 3)  
From: William F Pokorny
Subject: My take on Brick / Rock walls via isosurfaces and functions.
Date: 29 May 2019 16:14:38
Message: <5ceee82e@news.povray.org>
Recently there has been discussion in the groups:

http://news.povray.org/povray.text.scene-files/thread/%3C5cee3441%40news.povray.org%3E/

and

http://news.povray.org/povray.binaries.images/thread/%3C3fccdbcf%40news.povray.org%3E/

regarding the creation of a isosurface brick wall. It's something I've 
worked on now and again over the years. Somewhere I could not find I 
have a version which creates a long stone path following terrain.

I started to throw some things together from an isosurface spiral 
example I could find - and got much further than I expected.

Attached is a scene file and an image representing what I think one 
decent general approach in v3.8 for creating many similar shapes in an 
isosurface where each can use unique local coordinates for 
noise/patterns shapes and texturing.

Bill P.

Aside: Isosurfaces in these situations will often generate max gradient 
warnings we just ignore so long as things look good.


Post a reply to this message


Attachments:
Download 'v38brickwallisomethod.pov.txt' (5 KB) Download 'v38brickwallisomethod.png' (752 KB)

Preview of image 'v38brickwallisomethod.png'
v38brickwallisomethod.png


 

From: Mike Horvath
Subject: Re: My take on Brick / Rock walls via isosurfaces and functions.
Date: 30 May 2019 01:22:25
Message: <5cef6891$1@news.povray.org>
On 5/29/2019 4:14 PM, William F Pokorny wrote:
> regarding the creation of a isosurface brick wall. It's something I've 
> worked on now and again over the years. Somewhere I could not find I 
> have a version which creates a long stone path following terrain.

One comment: the blocks seem to have a rough surface, but are still very 
regular in their shape. Real (older) bricks often come out of the mold a 
little twisted or warped. Is this possible with your macros?


Michael


Post a reply to this message

From: William F Pokorny
Subject: Re: My take on Brick / Rock walls via isosurfaces and functions.
Date: 30 May 2019 05:10:38
Message: <5cef9e0e$1@news.povray.org>
On 5/30/19 1:22 AM, Mike Horvath wrote:
> On 5/29/2019 4:14 PM, William F Pokorny wrote:
...
> One comment: the blocks seem to have a rough surface, but are still very 
> regular in their shape. Real (older) bricks often come out of the mold a 
> little twisted or warped. Is this possible with your macros?
> 

The code is all functions so you can do whatever functions can do. With 
the mod() technique for arrays of shapes you do have to keep shape 
deformations within the repeated box/cell coordinates - though those can 
themselves be deformed. The restriction is similar to keeping shape 
deformations of the overall isosurface's function within the contained 
by shape.

The example scene does deform each brick granite and crackle for cracks, 
but it's almost impossible to see at the originally posted scale. An 
orthographic close view of a few bricks attached.

And yep, I might have done a little deep with the cracks. :-)

Bill P.


Post a reply to this message


Attachments:
Download 'v38brickwallisomethod01.png' (409 KB)

Preview of image 'v38brickwallisomethod01.png'
v38brickwallisomethod01.png


 

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