POV-Ray : Newsgroups : povray.general : Translating a population of objects using an height-field Server Time
4 Nov 2024 21:20:49 EST (-0500)
  Translating a population of objects using an height-field (Message 1 to 2 of 2)  
From: Bytter
Subject: Translating a population of objects using an height-field
Date: 6 May 2008 14:00:01
Message: <web.48209c85a6016caa7d97cd430@news.povray.org>
Hi!

I'm using an height-field in my scene, and I want to translate a couple of
objects in the Y (vertical) coordinate using the same ammount as defined in the
height-field.

As a typical scenario, I have an height-field with a grass texture, and I want
to fill it with flowers.

Thanks in advance,

Hugo Sereno Ferreira


Post a reply to this message

From: Dave Dunn
Subject: Re: Translating a population of objects using an height-field
Date: 6 May 2008 15:00:01
Message: <web.4820aa00efc8dfc9653c34500@news.povray.org>
look into the trace() function. It is what you are looking for.

"Bytter" <nomail@nomail> wrote:
> Hi!
>
> I'm using an height-field in my scene, and I want to translate a couple of
> objects in the Y (vertical) coordinate using the same ammount as defined in the
> height-field.
>
> As a typical scenario, I have an height-field with a grass texture, and I want
> to fill it with flowers.
>
> Thanks in advance,
>
> Hugo Sereno Ferreira


Post a reply to this message

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