POV-Ray : Newsgroups : povray.advanced-users : dumb question.... Server Time
26 Nov 2024 04:30:02 EST (-0500)
  dumb question.... (Message 1 to 2 of 2)  
From: Paul
Subject: dumb question....
Date: 9 Feb 2001 10:21:50
Message: <3A840B1D.4E3F9911@psu.edu>
This should be in p.n-u, but here we go,

Could someone explain to me the difference between a procedural texture
and a texture, are they the same?? Boy, I am so confused lately ;-)

Thanks a lot.

-paul


Post a reply to this message

From: Warp
Subject: Re: dumb question....
Date: 9 Feb 2001 11:36:54
Message: <3a841ca5@news.povray.org>
Paul <pdj### [at] psuedu> wrote:
: Could someone explain to me the difference between a procedural texture
: and a texture, are they the same?? Boy, I am so confused lately ;-)

  "Texture" is a generic term for all types of textures. Perhaps you meant
textures in image files (such as jpg, png, etc)?

  The difference between an image and a procedural texture is that the image
is just that, an image. You just take colors from the image and apply them
to the surface of the object.
  Procedural texturing is, however, calculated "on the fly". That is, from
the coordinates of the surface point we want to texture, a color and other
parameters are calculated with a mathematical function.

  The advantage of procedural texturing is that you get unlimited accuracy
(specially when scaling the texture very large) and it's easy to modify
the texture by modifying some parameters or the function itself. Procedural
textures don't take memory at all (except a bit for the function itself).
With images you get pixelation, you can't easily modify the texture and they
take lots of memory.
  The disadvantage of procedural texturing is speed and the fact that some
specific textures are very hard to produce with a mathematical function.

-- 
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.