POV-Ray : Newsgroups : povray.advanced-users : hf and slope Server Time
1 Nov 2024 19:14:36 EDT (-0400)
  hf and slope (Message 1 to 3 of 3)  
From: Paul Jones
Subject: hf and slope
Date: 21 Mar 2001 10:29:40
Message: <3AB8C8C9.28987995@psu.edu>
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

From: Christoph Hormann
Subject: Re: hf and slope
Date: 21 Mar 2001 11:08:20
Message: <3AB8D1F5.7D4595C7@gmx.de>
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

From: Warp
Subject: Re: hf and slope
Date: 21 Mar 2001 17:42:32
Message: <3ab92e58@news.povray.org>
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

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