POV-Ray : Newsgroups : povray.newusers : Placing objects on a height field Server Time
12 Oct 2026 07:19:09 EDT (-0400)
  Placing objects on a height field (Message 1 to 20 of 20)  
From: Simon Lemieux
Subject: Placing objects on a height field
Date: 22 May 2002 07:23:45
Message: <3CEB81F4.41BDB709@sympatico.ca>
Hi there,
  I was wondering if I put a height field as my ground, can I randomize
the placement of objects such as plants with relative elevation to the
HF?

I'm using povray 3.1 for linux...

Thanks,
  Simon

-- 
    "Neuromancer," the boy said.  "The lane to the land of the 
dead.  Where you are, my friend.  I call up the dead.  But no,
my friend, I am the dead, and their land."    (William Gibson)
--  Simon Lemieux  (Rei### [at] Sympaticoca)


Post a reply to this message

From: Tom Melly
Subject: Re: Placing objects on a height field
Date: 22 May 2002 10:03:14
Message: <3ceba522@news.povray.org>
"Simon Lemieux" <Rei### [at] sympaticoca> wrote in message
news:3CEB81F4.41BDB709@sympatico.ca...
>
> I'm using povray 3.1 for linux...
>

AFAIK, not with 3.1. You need trace which requires either megapov or 3.5.

On the other hand, if you use leveller, you have the option to export a series
of points on the surface iirc.


Post a reply to this message

From: Simon Lemieux
Subject: Re: Placing objects on a height field
Date: 22 May 2002 22:03:05
Message: <3CEC5014.29F4E08E@sympatico.ca>
> AFAIK, not with 3.1. You need trace which requires either megapov or 3.5.
> 
> On the other hand, if you use leveller, you have the option to export a series
> of points on the surface iirc.

Doesn't anyone feel it's time to port the latest povrays to linux? ;)

I'll work my way around manually...  Thanks anyway!

Simon

-- 
    "Neuromancer," the boy said.  "The lane to the land of the 
dead.  Where you are, my friend.  I call up the dead.  But no,
my friend, I am the dead, and their land."    (William Gibson)
--  Simon Lemieux  (Rei### [at] Sympaticoca)


Post a reply to this message

From: Tom Melly
Subject: Re: Placing objects on a height field
Date: 23 May 2002 07:19:26
Message: <3cecd03e$1@news.povray.org>
"Simon Lemieux" <Rei### [at] sympaticoca> wrote in message
news:3CEC5014.29F4E08E@sympatico.ca...
>
> Doesn't anyone feel it's time to port the latest povrays to linux? ;)
>

Why not give megapov a try?

> I'll work my way around manually...  Thanks anyway!
>

I might be able to help via leveller - if you send me your scene file and the hf
image I could generate some points for you.


Post a reply to this message

From: Warp
Subject: Re: Placing objects on a height field
Date: 23 May 2002 09:32:28
Message: <3cecef6c@news.povray.org>
Simon Lemieux <Rei### [at] sympaticoca> wrote:
> Doesn't anyone feel it's time to port the latest povrays to linux? ;)

  Try http://povray.org

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

From: Tom Melly
Subject: Re: Placing objects on a height field
Date: 23 May 2002 10:43:07
Message: <3cecfffb$1@news.povray.org>
"Warp" <war### [at] tagpovrayorg> wrote in message news:3cecef6c@news.povray.org...
> Simon Lemieux <Rei### [at] sympaticoca> wrote:
> > Doesn't anyone feel it's time to port the latest povrays to linux? ;)
>
>   Try http://povray.org
>

I assume Simon's after 3.5 (since he needs trace) - are 3.5 RC's avail. for
Linux? (I can't see 'em).


Post a reply to this message

From: Warp
Subject: Re: Placing objects on a height field
Date: 23 May 2002 11:58:58
Message: <3ced11c2@news.povray.org>
Tom Melly <tom### [at] tomandlucouk> wrote:
> I assume Simon's after 3.5 (since he needs trace) - are 3.5 RC's avail. for
> Linux? (I can't see 'em).

  Yes. Look closer.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

From: Simon Lemieux
Subject: Re: Placing objects on a height field
Date: 23 May 2002 14:35:47
Message: <3CED38C6.2A2E336@sympatico.ca>
> > I assume Simon's after 3.5 (since he needs trace) - are 3.5 RC's avail. for
> > Linux? (I can't see 'em).
> 
>   Yes. Look closer.

Indeed!  But I had a look in the download section before where it's
not.  But I could find the link to linux povray version 3.5.

  Thanks Warp!

PS: does the 3.5 has the isofunctions?

-- 
    "Neuromancer," the boy said.  "The lane to the land of the 
dead.  Where you are, my friend.  I call up the dead.  But no,
my friend, I am the dead, and their land."    (William Gibson)
--  Simon Lemieux  (Rei### [at] Sympaticoca)


Post a reply to this message

From: Tom Melly
Subject: Re: Placing objects on a height field
Date: 23 May 2002 15:49:42
Message: <3ced47d6@news.povray.org>
"Simon Lemieux" <Rei### [at] sympaticoca> wrote in message
news:3CE### [at] sympaticoca...
>
> Indeed!  But I had a look in the download section before where it's
> not.  But I could find the link to linux povray version 3.5.
>
>   Thanks Warp!
>
> PS: does the 3.5 has the isofunctions?
>

Yes - although the syntax is slightly different than for megapov. It's still
RC (release candidate), so there is an expiry date (but you probably knew
that).


Post a reply to this message

From: Reuben Pearse
Subject: Re: Placing objects on a height field
Date: 23 May 2002 18:05:06
Message: <3ced6792@news.povray.org>
Have you tried Terraform?
It's a open source landscape/heightfield editor which runs under Linux. It
has the ability to place objects on landscapes and renders its output with
Pov-Ray 3.1

I managed to get it running under Mandrake 7.1 (after installing lots of
extra packages). Looking at the website I noticed that a new version has
appeared (version 0.9.0) which mentions "improved object placement".

See the following link for more details:
http://terraform.sourceforge.net

Reuben
doo### [at] breathemailnet


Post a reply to this message

From: Warp
Subject: Re: Placing objects on a height field
Date: 23 May 2002 18:13:53
Message: <3ced69a1@news.povray.org>
Simon Lemieux <Rei### [at] sympaticoca> wrote:
> PS: does the 3.5 has the isofunctions?

  What are isofunctions?

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

From: Simon Lemieux
Subject: Re: Placing objects on a height field
Date: 24 May 2002 15:15:16
Message: <3CEE9394.651C0654@sympatico.ca>
>   What are isofunctions?

Frankly, I have no idea... yet...!

But I shall discover soon!

-- 
    "Neuromancer," the boy said.  "The lane to the land of the 
dead.  Where you are, my friend.  I call up the dead.  But no,
my friend, I am the dead, and their land."    (William Gibson)
--  Simon Lemieux  (Rei### [at] Sympaticoca)


Post a reply to this message

From: Warp
Subject: Re: Placing objects on a height field
Date: 24 May 2002 15:25:35
Message: <3cee93af@news.povray.org>
Simon Lemieux <Rei### [at] sympaticoca> wrote:
>>   What are isofunctions?

> Frankly, I have no idea... yet...!

> But I shall discover soon!

  I know functions and isosurfaces, but I don't know what are isofunctions.

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

From: Tom Melly
Subject: Re: Placing objects on a height field
Date: 25 May 2002 15:33:59
Message: <3cefe727@news.povray.org>
"Warp" <war### [at] tagpovrayorg> wrote in message
news:3cee93af@news.povray.org...
>
>   I know functions and isosurfaces, but I don't know what are
isofunctions.
>

Don't worry about it - they're for advanced users.


Post a reply to this message

From: Warp
Subject: Re: Placing objects on a height field
Date: 25 May 2002 16:31:53
Message: <3ceff4b9@news.povray.org>
Tom Melly <tom### [at] tomandlucouk> wrote:
>>   I know functions and isosurfaces, but I don't know what are
> isofunctions.

> Don't worry about it - they're for advanced users.

  Could you explain it to a newuser like me?-)

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

From: Ken
Subject: Re: Placing objects on a height field
Date: 26 May 2002 08:47:42
Message: <3CF0DA25.13EC5823@pacbell.net>
Warp wrote:
> 
> Tom Melly <tom### [at] tomandlucouk> wrote:
> >>   I know functions and isosurfaces, but I don't know what are
> > isofunctions.
> 
> > Don't worry about it - they're for advanced users.
> 
>   Could you explain it to a newuser like me?-)

I doubt that's possible...

-- 
Ken Tyler


Post a reply to this message

From:
Subject: Re: Placing objects on a height field
Date: 27 May 2002 04:21:00
Message: <p0r3fusrh78ms7i92b6b0abm2dfcv49vci@4ax.com>
On 25 May 2002 16:31:53 -0400, Warp <war### [at] tagpovrayorg> wrote:
> > >   I know functions and isosurfaces, but I don't know what are
> > isofunctions.
>
> > Don't worry about it - they're for advanced users.
>
>  Could you explain it to a newuser like me?-)

They must be functions after standarization :-)

ABX


Post a reply to this message

From: Simon Lemieux
Subject: Re: Placing objects on a height field
Date: 28 May 2002 23:24:08
Message: <3CF44C5F.CB66EB5E@sympatico.ca>
> >>   What are isofunctions?
> 
> > Frankly, I have no idea... yet...!
> 
> > But I shall discover soon!
> 
>   I know functions and isosurfaces, but I don't know what are isofunctions.

Hehe, pardon, my newbieness or shall I say my
too-long-since-my-last-ray-traceness...  I did mix these two up, I was
talking about isosurfaces which seems to be the kind of abstract
mathematical objects made for me!

Thanks,
  Simon

-- 
    "Neuromancer," the boy said.  "The lane to the land of the 
dead.  Where you are, my friend.  I call up the dead.  But no,
my friend, I am the dead, and their land."    (William Gibson)
--  Simon Lemieux  (Rei### [at] Sympaticoca)


Post a reply to this message

From: Warp
Subject: Re: Placing objects on a height field
Date: 29 May 2002 08:45:23
Message: <3cf4cd63@news.povray.org>
Simon Lemieux <Rei### [at] sympaticoca> wrote:
>>   I know functions and isosurfaces, but I don't know what are isofunctions.

> Hehe, pardon, my newbieness or shall I say my
> too-long-since-my-last-ray-traceness...  I did mix these two up, I was
> talking about isosurfaces which seems to be the kind of abstract
> mathematical objects made for me!

  An isosurface is an equipotential surface, that is, it consists of all
the points in space where the value of the given function is a given constant
(usually, but not necessarily, 0).

  A similar entity is an isobar. Isobars are 2D lines in a geographic map.
The line consists of all the points where air pressure is the same (a given
constant value).

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

From: Peter Popov
Subject: Re: Placing objects on a height field
Date: 3 Jun 2002 17:08:37
Message: <rcghfugmprb1vf3pvrh2sncidp7k0vtd14@4ax.com>
On 25 May 2002 16:31:53 -0400, Warp <war### [at] tagpovrayorg> wrote:

>  Could you explain it to a newuser like me?-)

Sure. They are functions that return the same value. It's just a geek
name for declaring a float constant, really.

Here's an example:

isofunction theAnswer(x,y,z) = 42;


Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] vipbg
TAG      e-mail : pet### [at] tagpovrayorg


Post a reply to this message

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