POV-Ray : Newsgroups : povray.binaries.images : Return to PoVghanistan - smooth HF bug in 3.5? (6 x JPG 800 x 600, 180 KB) Server Time
15 Aug 2024 06:17:37 EDT (-0400)
  Return to PoVghanistan - smooth HF bug in 3.5? (6 x JPG 800 x 600, 180 KB) (Message 11 to 13 of 13)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Marc-Hendrik Bremer
Subject: Re: Examples of Afghan mud architecture (was: Re: Return to PoVghanistan )
Date: 12 Aug 2002 13:59:14
Message: <3d57f772@news.povray.org>
First try, far from perfect, but maybe a start. There should probably be
another displacment function (as Brick_Fun), to get the 'in brick cracks'.

Speaking of the third image you provided:
My problem is, that I don't understand how they build those walls. Are those
"features" the actual bricks (quite big ones) or is it some kind of plaster?
Is the more "traditional" brick wall in the upper right not jet roughcasted,
or are there simply differend kinds of walls?

Anyway here is the isosurface code for the above images (wrap it with some
scene from the insert-menu):

#include "textures.inc"
#include "functions.inc"
#include "rad_def.inc"


#declare Brick_Fun= function {pattern{ Irregular_Bricks_Ptrn  (0.08,3,1,0.4)
turbulence 0.4 scale 0.15}}

// function against the straight upper edge of the "building"
#declare YDispl=
function{select(y-1.4,0,f_noise3d(x*7.5,y,z*7.5)/7+f_noise3d(x*2,y,z*2)/5)}


isosurface {
    function { f_rounded_box(x-y/10,y+YDispl(x,y,z),z-y/10, 0.05, 3, 1.6, 3)
                   -Brick_Fun(x,y/3,z)*0.025
                }
    contained_by { box {<-3.5,-1.6,-3.5>,<3.5,1.7,3.5>} }  // container
shape
    max_gradient 5                      // POV finds something like 82 -
increase if you notice artefacts!

    pigment{ rgb 0.9}
    normal{granite  scale 0.5}
    translate <0,1.6,0>
    rotate y*-25
  }

Hope that helps a bit and let me know if you get stuck somewhere,

Marc-Hendrik


Post a reply to this message


Attachments:
Download 'POVghanistan.jpg' (44 KB)

Preview of image 'POVghanistan.jpg'
POVghanistan.jpg


 

From: Jörg 'Yadgar' Bleimann
Subject: Re: Examples of Afghan mud architecture (was: Re: Return to PoVghanistan )
Date: 12 Aug 2002 16:48:46
Message: <3D582DFC.4C4E6271@tiscalinet.de>
High!

Marc-Hendrik Bremer schrieb:

> First try, far from perfect, but maybe a start. There should probably be
> another displacment function (as Brick_Fun), to get the 'in brick cracks'.
>
> Speaking of the third image you provided:
> My problem is, that I don't understand how they build those walls. Are those
> "features" the actual bricks (quite big ones) or is it some kind of plaster?
> Is the more "traditional" brick wall in the upper right not jet roughcasted,
> or are there simply differend kinds of walls?
>

Hmm... difficult to say, as I myself never have been to Afghanistan and thus had
no opportunity to witness traditional construction work...

>  [Image]

Afghanissimo!!! Truly stunning! How long did it take you? I've just begun to
learn about isosurfaces from the 3.5 manual, I'm still lightyears away from
really understanding them...

See you in Khyberspace - http://home.arcor.de/yadgar/khyberspace/index-e.html
Afghanistan Chronicle: http://home.arcor.de/yadgar/index-e.htm

Yadgar


Post a reply to this message

From: Marc-Hendrik Bremer
Subject: Re: Examples of Afghan mud architecture (was: Re: Return to PoVghanistan )
Date: 12 Aug 2002 17:35:57
Message: <3d582a3d@news.povray.org>

news:3D582DFC.4C4E6271@tiscalinet.de...

>
> Afghanissimo!!! Truly stunning! How long did it take you? I've just begun
to
> learn about isosurfaces from the 3.5 manual, I'm still lightyears away
from
> really understanding them...


Well, it's just a start ...
I took me about 45 minutes, because I tried some differend ideas and wanted
to use radiosity on it (to get a little more practice on it). My children
didn't help either :-). It's really quite basic.
Rendertime is 1 1/2 minute on my Athlon 1800+ without radiosity.

The isosurface tutorial is a good point to start, but it lacks one important
thing - it has no sample images for the build in functions. You might want
to have a look at the excellent tutorial at
http://www.econym.demon.co.uk/isotut/index.htm, it is updated to Pov 3.5
syntax and provides an images for each function and more. Helped me a lot.

Regards,

Marc-Hendrik


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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