POV-Ray : Newsgroups : povray.newusers : Wrapping A Hieght Field Object Around an elipsoid object : Re: Wrapping A Hieght Field Object Around an elipsoid object Server Time
4 Nov 2024 17:31:57 EST (-0500)
  Re: Wrapping A Hieght Field Object Around an elipsoid object  
From: Christoph Hormann
Date: 26 Jan 2003 06:48:45
Message: <3E33CB1C.1ADD13F5@gmx.de>
"hughes, b." wrote:
> 
> [...]
> 
> Should, I guess... doesn't.
> 
> I was just trying this out, having seen this thread about HF_Sphere macro,
> and I get an error at the first array line in HF_Create, PArr [J][K], says:
> vector expected but color expression found.

That is a pigment function and the HF macros expect a float function. 
Try:

HF_Sphere (
  function { Function(x, y, z).gray },
  UseUVheight,
  UseUVtexture,
  Res,Smooth,
  FileName,
  Center,
  Radius,
  Depth
)

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 31 Dec. 2002 _____./\/^>_*_<^\/\.______


Post a reply to this message

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