POV-Ray : Newsgroups : povray.binaries.images : <no subject> Server Time
31 Oct 2024 23:12:54 EDT (-0400)
  <no subject> (Message 1 to 2 of 2)  
From: H  Karsten
Subject: <no subject>
Date: 17 May 2012 15:40:02
Message: <web.4fb55400c23a6d9a3bfeb720@news.povray.org>
Hi people.
Usually I'm not doing any kind of advertising, but here I have to do;)
It's a texture-tool, able to reconstruct the 3D structure of a surface. It
creates a 3D-shape of the surface, a displace-map, a normal map, a specular-map,
an occlusion map, a diffuse map, a bump map and (dono, what for) a limited
displace map.

What you see here, is an highfield, using the displace-map and as a texture the
diffuse map, the occlusion map and the bump map.

It's rendered, using MC-Pov. Please note, I've used the .BMP-format in windows.
So the statement is "SYS"-format for the maps. If you using Linux, you should
use .PNG instead.

The texture is one of the samples, coming with the software.

Here the code:
//##################################################################
#declare Clock=0.45; //clock;

global_settings {
assumed_gamma 1
}

camera {
location  <-3+6*Clock, 0.0, -3.0>
direction 1.5*z
right     x*image_width/image_height
look_at   <0.0, 0.0,  0.0>
}

sphere {0,1
pigment {
color rgb 1
}
finish{montecarlo{mc_diffuse{1 1 1}} diffuse 0 ambient 2 }
montecarlo{mc_sky{100}}
hollow
scale 100000
}

plane{y,-0.65 pigment{color rgb 1}
finish{montecarlo{mc_diffuse{1 1 1}} diffuse 1}
}
#declare P=pigment{image_map { sys "diffuse.bmp" map_type 0 interpolate 2 once
}}
#declare N=normal{bump_map { sys "bump.bmp" map_type 0 interpolate 2 once
bump_size 1}}

#declare L=texture{
material_map{
sys "occlusion.bmp" map_type 0 interpolate 2 once
#declare T=0;
#while (T<256)
texture {
pigment{P}
finish{
montecarlo{mc_diffuse{1 1 1}}
diffuse 1-1/pow(T,1.75)
reflection {(1/pow(T,4))/40,0}
}
normal{N}
}
#declare T=T+1;
#end
}
rotate x*90}

height_field{
sys "displace.bmp"
texture{L}
translate <-0.5,-0.5,-0.5>
rotate x*-90
scale <1,1.6,0.25>
}
//##################################################################


Here the Software, have fun :)

It produces only 8-bit files :( but maybe it's because, it's a demo..?
http://www.photosculpt.net/


Post a reply to this message


Attachments:
Download 'render.jpg' (73 KB)

Preview of image 'render.jpg'
render.jpg


 

From: Mike Raiford
Subject: Re: <no subject>
Date: 7 Sep 2012 09:39:25
Message: <5049f90d$1@news.povray.org>
On 5/17/2012 2:39 PM, H. Karsten wrote:> Hi people.
 > Usually I'm not doing any kind of advertising, but here I have to do;)
 > It's a texture-tool, able to reconstruct the 3D structure of a 
surface. It
 >
 >
 > It produces only 8-bit files :( but maybe it's because, it's a demo..?
 > http://www.photosculpt.net/
 >

Actually, that's really cool! :D

---
~Mike


Post a reply to this message

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