POV-Ray : Newsgroups : povray.general : Textured bricks Server Time
31 Jul 2024 12:22:15 EDT (-0400)
  Textured bricks (Message 3 to 12 of 12)  
<<< Previous 2 Messages Goto Initial 10 Messages
From: Thomas de Groot
Subject: Re: Textured bricks
Date: 18 Jun 2007 10:26:53
Message: <4676962d$1@news.povray.org>
Oh! This is excellent! Thank you very much Bill! Very useful indeed.

Thomas


Post a reply to this message

From: Stephen
Subject: Re: Textured bricks
Date: 18 Jun 2007 11:07:09
Message: <rcbd739t5bj1kag36odg91b3nku452qkhb@4ax.com>
On Mon, 18 Jun 2007 09:52:45 EDT, "Bill Pragnell" <bil### [at] hotmailcom>
wrote:

>You can download the .inc file from the link on this page:

Thank you,

Regards
	Stephen


Post a reply to this message

From: Trevor G Quayle
Subject: Re: Textured bricks
Date: 18 Jun 2007 11:35:02
Message: <web.4676a5f251b37119c150d4c10@news.povray.org>
"Bill Pragnell" <bil### [at] hotmailcom> wrote:
> Hi everyone.
>
> I've been saying I'll post this for ages, so here it is - my textured brick
> macro. I think it probably needs more testing and I'm sure there's a
> hundred ways it could be improved, but in the meantime I'm finding it
> damned useful so it's time to spread the wealth, so to speak!
>
> You can download the .inc file from the link on this page:
>
> http://www.infradead.org/~wmp/macro_bricks.html
>
> The page has some examples and a little background on how I usually use it.
>
> NB The page looks a little unfinished and has a couple of broken links on
> images because I'm in the midst of revamping my site - the page is in its
> final location, however, and this link will remain valid forever (or as
> good as).
>
> I hope to see some good images posted in p.b.i from anyone who finds this
> useful!
>
> Bill

Awesome.  I may have a look.  Recently I had been working on a macro similar
to this, but that used hieghtfield intersections  (with a little success,
but some slight issues).

-tgq


-tgq


Post a reply to this message

From: Jim Charter
Subject: Re: Textured bricks
Date: 18 Jun 2007 14:36:17
Message: <4676d0a1@news.povray.org>
Thankyou so much. I've found the earlier version very useful and was 
hoping you would publish.


Post a reply to this message

From: Simon
Subject: Re: Textured bricks
Date: 19 Jun 2007 13:40:31
Message: <4678150f$1@news.povray.org>
Thanks so much, this looks excellent. Can't wait to try it.

"Bill Pragnell" <bil### [at] hotmailcom> wrote in message 
news:web.46768e2d6946cc56731f01d10@news.povray.org...
> Hi everyone.
>
> I've been saying I'll post this for ages, so here it is - my textured 
> brick
> macro. I think it probably needs more testing and I'm sure there's a
> hundred ways it could be improved, but in the meantime I'm finding it
> damned useful so it's time to spread the wealth, so to speak!
>
> You can download the .inc file from the link on this page:
>
> http://www.infradead.org/~wmp/macro_bricks.html
>
> The page has some examples and a little background on how I usually use 
> it.
>
> NB The page looks a little unfinished and has a couple of broken links on
> images because I'm in the midst of revamping my site - the page is in its
> final location, however, and this link will remain valid forever (or as
> good as).
>
> I hope to see some good images posted in p.b.i from anyone who finds this
> useful!
>
> Bill
>
>


Post a reply to this message

From: nemesis
Subject: Re: Textured bricks
Date: 19 Jun 2007 21:30:02
Message: <web.46787a8551b37119cfd53af10@news.povray.org>
Wonderful!  Except, of course, it isn't really a "textured" brick.  Wouldn't
ShapedBrick, SurfacedBrick or something be less misleading? :)


Post a reply to this message

From: Bill Pragnell
Subject: Re: Textured bricks
Date: 20 Jun 2007 07:20:02
Message: <web.46790cd751b37119731f01d10@news.povray.org>
"nemesis" <nam### [at] gmailcom> wrote:
> Wonderful!  Except, of course, it isn't really a "textured" brick.  Wouldn't
> ShapedBrick, SurfacedBrick or something be less misleading? :)

On the contrary, I think this is exactly what 'textured' means in everyday
speech, even if in POV-Ray lingo it means something different... but I
agree it's not a particularly catchy name. Perhaps I should have called it
MegaBrick or something.

Oh well, too late now! :D

PS quick hint everyone, if you set the edge_radius to be almost as large as
the smallest width (i.e., so that the flat faces are very small compared to
the curved edges) and apply a really deep amplitude, you get really
interesting boulder shapes. I was trying it out yesterday - turbulent bozo
works well - makes sort of petrified potato shapes!


Post a reply to this message

From: nemesis
Subject: Re: Textured bricks
Date: 20 Jun 2007 19:50:02
Message: <web.4679bbd451b37119b8f5a4b00@news.povray.org>
"Bill Pragnell" <bil### [at] hotmailcom> wrote:
> On the contrary, I think this is exactly what 'textured' means in everyday
> speech, even if in POV-Ray lingo it means something different...

in povray, games and any other 3D software AFAIK. ;)

but it's not a bad name, just a bit misleading, given this 3D tradition...


Post a reply to this message

From: binarycortex
Subject: Re: Textured bricks
Date: 12 Feb 2008 14:15:00
Message: <web.47b1ef9651b37119dddf88110@news.povray.org>
"Bill Pragnell" <bil### [at] hotmailcom> wrote:
> Hi everyone.
>
> I've been saying I'll post this for ages, so here it is - my textured brick
> macro. I think it probably needs more testing and I'm sure there's a
> hundred ways it could be improved, but in the meantime I'm finding it
> damned useful so it's time to spread the wealth, so to speak!
>
> You can download the .inc file from the link on this page:
>
> http://www.infradead.org/~wmp/macro_bricks.html
>
> The page has some examples and a little background on how I usually use it.
>
> NB The page looks a little unfinished and has a couple of broken links on
> images because I'm in the midst of revamping my site - the page is in its
> final location, however, and this link will remain valid forever (or as
> good as).
>
> I hope to see some good images posted in p.b.i from anyone who finds this
> useful!
>
> Bill

Bill this is great I was wanting something like this. I made a brick wall macro
that uses normals because isosurfaces are waaaay to slow for using hundreds of
bricks. But you wrote on your site:

"The pigment function can either be defined in the .inc file itself or in your
scene file prior to macro use (in the latter case, the existing definition in
the .inc file must either be commented out or removed, else it will override
any previous definitions), and must be called 'gran'. The reason for this is
that I haven't found any easy way of passing the function as a parameter"

This is very easy to do with an #ifndef (if not defined). Just replace your
declare in your include with the following. Then make sure you declare your
gran in your scene file before you declare the include file. :)

#ifndef(gran) #declare gran = function {
  pigment {
    granite
    color_map {
      [0 color rgb 0.1]
      [0.4 color rgb 0]
      [1 color rgb 1] } } }
#end

Also I am looking in to how to write the mesh to a file for later use and have
that be an option in the macro call. Something like writeFile.

Ian


Post a reply to this message

From: binarycortex
Subject: Re: Textured bricks
Date: 12 Feb 2008 15:55:01
Message: <web.47b2078951b37119dddf88110@news.povray.org>
"binarycortex" <bin### [at] gmailcom> wrote:
> Also I am looking in to how to write the mesh to a file for later use and have
> that be an option in the macro call. Something like writeFile.
>
> Ian

I am responding to my own message because it was not as difficult as I thought
to add writing the mesh to a file so I will email it to bill and then you can
bug him to update his site or ill post it if needed. All I ask is that bill
leave my name in the comments as adding the things I did.

Ian


Post a reply to this message

<<< Previous 2 Messages Goto Initial 10 Messages

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