POV-Ray : Newsgroups : povray.binaries.images : POVMan test image Server Time
19 Aug 2024 12:20:33 EDT (-0400)
  POVMan test image (Message 1 to 4 of 4)  
From: Vahur Krouverk
Subject: POVMan test image
Date: 12 Dec 2000 13:53:29
Message: <3A3674AF.AA69A0EF@aetec.ee>
Here is my test image and its source code (scene file and shaders) for
new POVMan release, featuring shader controlled media and sky-sphere.
Refer to unofficial.patches for details.
Crappy, but hopefully serves its purpose.


Post a reply to this message


Attachments:
Download 'test.jpg' (10 KB) Download 'test.zip' (3 KB)

Preview of image 'test.jpg'
test.jpg

From: Vahur Krouverk
Subject: Re: POVMan test image
Date: 13 Dec 2000 02:53:59
Message: <3A372BA2.2DE511F3@aetec.ee>
Hi!

Here is another test image. This time it shows, how to use shader to
create pigment function for isosurface. Perhaps it gives some nice ideas
to people...
Code for shaders and scene is included as well.


Post a reply to this message


Attachments:
Download 'test2.jpg' (7 KB) Download 'test2.zip' (2 KB)

Preview of image 'test2.jpg'
test2.jpg

From: Christoph Hormann
Subject: Re: POVMan test image
Date: 13 Dec 2000 15:03:05
Message: <3A37D5F9.22C02EAD@gmx.de>
Vahur Krouverk wrote:
> 
> Hi!
> 
> Here is another test image. This time it shows, how to use shader to
> create pigment function for isosurface. Perhaps it gives some nice ideas
> to people...
> Code for shaders and scene is included as well.
> 

Just checked it out and found that transformations are not used in shader
pigments.  For example

#declare myWaves=function{
  pigment{
    shader{
      shader_file "waves.slp"  
      "scale" 10
    } 
    scale 0.001
  }
}

in this scene does not change anything, which seems wrong to me.  

BTW, those shaders are interesting stuff, but they are quite difficult to
learn for someone used to povray :-) 

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: Vahur Krouverk
Subject: Re: POVMan test image
Date: 14 Dec 2000 03:40:03
Message: <3A3887E5.375AD306@aetec.ee>
Christoph Hormann wrote:
> Just checked it out and found that transformations are not used in shader
> pigments.  For example
> 
> #declare myWaves=function{
>   pigment{
>     shader{
>       shader_file "waves.slp"
>       "scale" 10
>     }
>     scale 0.001
>   }
> }
> 
> in this scene does not change anything, which seems wrong to me.
> 


Mea culpa! It is wrong! As it appears, I managed to insert bug to the
waves shader :o(
replace line:
  vector NewVect = vfBm(P, 5, lac, 1/lac);
with line:
  vector NewVect = vfBm(pt, 5, lac, 1/lac);
in waves.sl and recompile shader.


Post a reply to this message

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