POV-Ray : Newsgroups : povray.binaries.images : Oriental Tileworks - revisited! Server Time
14 Aug 2024 07:20:14 EDT (-0400)
  Oriental Tileworks - revisited! (Message 1 to 5 of 5)  
From: Jörg 'Yadgar' Bleimann
Subject: Oriental Tileworks - revisited!
Date: 7 Nov 2002 16:26:18
Message: <3DCAE836.3EF41D7B@tiscalinet.de>
High!

Perhaps some folks here remember my "Oriental Tileworks" posting of
April 7, 2001... now I'm back with the concept,
inspired by a Muslim friend who is quite a gifted calligrapher and
painter. He made several square calligraphic images in
Arabic kufi style, composed of numerous small squares, mostly in only
two colors... and recently, I got the idea to use theses
pictures as a basis for PoV renderings.

I then wrote a small C++ programm to read in TGA bitmaps containing the
calligraphic patterns of Isma'il's works (by the
way, shouldn't there be a way to do this directly from PoV-Ray?) and
convert them into a two-dimensional PoV-Ray array.
Then I also wrote a macro to generate subtle color variations for each
original pixel. In the renderings, the pixels are
represented by small superellipsoids with a ceramic-like finish.

To each original square TGA bitmap with the side length n twelve cube
edges with a separately specified basic color are
added, so the total number of superellipsoids is
n^2 * 6 + 4 * (n + 2) + 8 * n...

...in these scenes, using a 174 by 174 bitmap, I ended up with 183,752
superellipsoids, the parsing time was well above one
hour on an AMD K6-II/400 with 256 megs of RAM.

The calligraphic writing on this cube, by the way, consists of my
friend's Islamic name, which is Muhammad Isma'il.

See you in Khyberspace!

Yadgar


Post a reply to this message


Attachments:
Download 'ismail001.jpg' (139 KB) Download 'ismail002.jpg' (73 KB)

Preview of image 'ismail001.jpg'
ismail001.jpg

Preview of image 'ismail002.jpg'
ismail002.jpg


 

From: Florian Pesth
Subject: Re: Oriental Tileworks - revisited!
Date: 7 Nov 2002 17:32:06
Message: <3DCAEAAE.7010806@compuserve.de>
Very nice!

Florian Pesth


Post a reply to this message

From: JPGargoyle
Subject: Re: Oriental Tileworks - revisited!
Date: 7 Nov 2002 19:28:10
Message: <3dcb051a$1@news.povray.org>
Pretty cool.

You can do nice swimming pool bottoms with that :))


Best regards.


Post a reply to this message

From: Christopher James Huff
Subject: Re: Oriental Tileworks - revisited!
Date: 7 Nov 2002 21:10:37
Message: <chrishuff-019B0E.21103707112002@netplex.aussie.org>
In article <3DCAE836.3EF41D7B@tiscalinet.de>,


> I then wrote a small C++ programm to read in TGA bitmaps containing the
> calligraphic patterns of Isma'il's works (by the
> way, shouldn't there be a way to do this directly from PoV-Ray?) 

There is. Use a pigment function with the image as an image_map. A call 
of the function then returns the color of the image at that point. This 
has been used in the past to do mosaiacs and other odd filters of 
images, you might want to look back in this group for examples.

There isn't a way to automatically read in the resolution of the image, 
but that doesn't always matter anyway. This way, you can also avoid 
having to adjust the size of the input image to have a direct 
pixel-to-tile correspondence.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

From: Andrew Coppin
Subject: Re: Oriental Tileworks - revisited!
Date: 9 Nov 2002 03:04:30
Message: <3dccc18e@news.povray.org>
Very nice... Interesting patterns, and good colours too... Like I said,
nice.!

Andrew.


Post a reply to this message

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