|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Does anyone have any code for a height-field which has been textured
with slope dependant textures?? I can't seem to get it and would like
to look and some good code....
thanks
paul
--
--------------------------------------------------}
Paul Daniel Jones
The Pennslyvania State University
pdj### [at] psuedu
http://research.chem.psu.edu/glassgrp/paul
C The way is near, but men
// \ seek it afar. It is in the
N N easy things, but men seek it
| || in the difficult things.
C C -Menicius
\\ /
C
--------------------------------------------------}
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Paul Jones wrote:
>
> Does anyone have any code for a height-field which has been textured
> with slope dependant textures?? I can't seem to get it and would like
> to look and some good code....
> thanks
>
It's fairly simple, just start with slope y and a simple color map.
For a more complicated example using the additional functionality of the
slope pattern look at:
Subject: ridged multifractal w. slope-dependent texture
Date: Thu, 18 Jan 2001 04:18:47 -0600
From: "Bob H."
Newsgroups: povray.text.scene-files
Christoph
--
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other
things on: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Christoph Hormann <chr### [at] gmxde> wrote:
: It's fairly simple, just start with slope y and a simple color map.
Note: The usable values of the color map in this case are from 0.5 to 1
since the values 0 to 0.5 never appear on a heighfield (when using slope y).
--
char*i="b[7FK@`3NB6>B:b3O6>:B:b3O6><`3:;8:6f733:>::b?7B>:>^B>C73;S1";
main(_,c,m){for(m=32;c=*i++-49;c&m?puts(""):m)for(_=(
c/4)&7;putchar(m),_--?m:(_=(1<<(c&3))-1,(m^=3)&3););} /*- Warp -*/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |