POV-Ray : Newsgroups : povray.general : making bricks Server Time
3 Feb 2023 04:35:56 EST (-0500)
  making bricks (Message 1 to 4 of 4)  
From: David Kraics
Subject: making bricks
Date: 9 Jan 2023 16:45:00
Message: <web.63bc89aaaffd6aef1c1b6180a57e0@news.povray.org>
Greetings all. My current pet project is recreating the Milleniun Tower that is
featured in the Yakuza series of jrpgs. Anyone who has played any of the games
and has taken the time to actually give the building a real hard look, will see
that there are a number of different tile patterns used on various parts of the
facade. I have been re-creating these tile patterns manually, turning them into
image-maps for the prims of the project. While an image-map is good for a single
side, the sides that are 90 degrees to it look like streaks.
Is there a way to place a different image-map on the sides?

a different question is.
I know how to make a checker pattern, but is there a way to make a checker
pattern, or a graph, so that the boxes have clearly defined borders?


Post a reply to this message

From: Bald Eagle
Subject: Re: making bricks
Date: 9 Jan 2023 21:00:00
Message: <web.63bcc629d29945101f9dae3025979125@news.povray.org>
"David Kraics" <bar### [at] aolcom> wrote:
> Greetings all. My current pet project is recreating the Milleniun Tower that is
> featured in the Yakuza series of jrpgs. Anyone who has played any of the games
> and has taken the time to actually give the building a real hard look, will see
> that there are a number of different tile patterns used on various parts of the
> facade. I have been re-creating these tile patterns manually, turning them into
> image-maps for the prims of the project. While an image-map is good for a single
> side, the sides that are 90 degrees to it look like streaks.
> Is there a way to place a different image-map on the sides?

Try the "boxed" pattern?   I think that gives a different pigment for each face
of a cube.

> a different question is.
> I know how to make a checker pattern, but is there a way to make a checker
> pattern, or a graph, so that the boxes have clearly defined borders?

In the insert menu, go to patterns2, and look at the tilings and pavements.

You could also just be clever about what you're checkering your plane with -
such as another pigment pattern with a color map, or an image map.

Or you could go with user-defined functions.

-BW


Post a reply to this message

From: Kenneth
Subject: Re: making bricks
Date: 10 Jan 2023 00:50:00
Message: <web.63bcfbcdd29945102eadabda6e066e29@news.povray.org>
"David Kraics" <bar### [at] aolcom> wrote:
>
> While an image-map is good for a single
> side, the sides that are 90 degrees to it look like streaks.
> Is there a way to place a different image-map on the sides?
>

You could also try this simple 'three nested boxes' idea. The trick is that each
box is *very slightly* larger or smaller, so that the image_map applied to each
one appears only on the desired surfaces. Any 'streaking' is actually hidden
inside the slightly larger boxes.

// all three boxes centered on origin:
union{
box{0,1 // for FRONT and REAR
 pigment{image_map{jpeg "MY_IMAGE_1.jpg" interpolate 2}}
 translate <-.5,0,-.5>
 }
box{0,1 // for TWO SIDES
 scale <.999,.999,1.001>
 pigment{image_map{jpeg "MY_IMAGE_2.jpg" interpolate 2}}
 translate <-.5*.999,0,-.5*1.001>
 rotate 90*y
 }
box{0,1 // for TOP
 scale <.998,1.001,.998>
 pigment{bumps scale .01}
 translate <-.5*.998,0,-.5*.998>
 }
 }


Post a reply to this message


Attachments:
Download 'simple_building.jpg' (56 KB)

Preview of image 'simple_building.jpg'
simple_building.jpg


 

From: Thomas de Groot
Subject: Re: making bricks
Date: 10 Jan 2023 02:38:48
Message: <63bd1608$1@news.povray.org>
I believe you could use uv_mapping on a box. See:

https://wiki.povray.org/content/Reference:UV_Mapping

-- 
Thomas


Post a reply to this message

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