POV-Ray : Newsgroups : povray.binaries.utilities : Height Field utility Server Time
31 Oct 2024 16:17:32 EDT (-0400)
  Height Field utility (Message 1 to 10 of 17)  
Goto Latest 10 Messages Next 7 Messages >>>
From: Steven Jones
Subject: Height Field utility
Date: 23 Aug 2001 16:27:47
Message: <3b856743@news.povray.org>
I'm creating a utility in DarkBASIC which will take a height field and a
text file containing 2d coordinates, and create a list of 3d coordinates,
i.e. the original values are treated as X and Z, and the height of the HF at
that point is treated as Y.  This would create a text file usable in Chris
Colefax's spline macro. Does anyone want this utility when I'm finished?


Post a reply to this message

From: Dave Dunn
Subject: Re: Height Field utility
Date: 24 Aug 2001 07:06:05
Message: <3B86354B.6CC032E7@aol.com>
Steven Jones wrote:

> I'm creating a utility in DarkBASIC which will take a height field and a
> text file containing 2d coordinates, and create a list of 3d coordinates,
> i.e. the original values are treated as X and Z, and the height of the HF at
> that point is treated as Y.  This would create a text file usable in Chris
> Colefax's spline macro. Does anyone want this utility when I'm finished?

I'm not sure I follow here. Does the utility creat a list of vectors that
correspond to pionts on the HF? The reason I am asking is that if this is so, I
might like to look at it to see if it can be used to generate wireframe height
fields to be used in POVGUI.


Post a reply to this message

From: Steven Jones
Subject: Re: Height Field utility
Date: 24 Aug 2001 16:26:22
Message: <3b86b86e@news.povray.org>
It's not for that.  You have to create a list of 2d points that lie on a
path.  My utility will put the Y values in, so that spline.mcr can generate
a spline path from those points.


Post a reply to this message

From: Dave Dunn
Subject: Re: Height Field utility
Date: 24 Aug 2001 17:07:20
Message: <3B86C235.C1B181EC@aol.com>
Steven Jones wrote:

> It's not for that.  You have to create a list of 2d points that lie on a
> path.  My utility will put the Y values in, so that spline.mcr can generate
> a spline path from those points.

Actually, sounds like it may be just the thing. What I am thinking is that the
heightfiled wireframe will be a grid of splines (or MegaPOV sphere_sweeps),
say, 10 across in the X and Z directions. If your utility could supply the Y
values, then the crossed splines would form a wireframe representation of a
coarse section of the heightfield. Linear splines would give a more jagged
effect, and a cubic or catmull spline would represent the smooth keyword. I
guess something similar could be done with trace or height_field_at, but I
wanted to see what your util could do. Thanks anyway for responding, but I
think I have solved my own problem  : )


Post a reply to this message

From: Steven Jones
Subject: Re: Height Field utility
Date: 24 Aug 2001 20:47:20
Message: <3b86f598@news.povray.org>
You should get DB anyway at www.darkbasic.com because it loads many graphics
formats natively, and therefore makes the ideal language for writing povray
utilities.


Post a reply to this message

From: Mike Williams
Subject: Re: Height Field utility
Date: 24 Aug 2001 21:20:19
Message: <NJrYPHAvArh7Ewsm@econym.demon.co.uk>
Wasn't it Steven Jones who wrote:

>I'm creating a utility in DarkBASIC which will take a height field and a
>text file containing 2d coordinates, and create a list of 3d coordinates,
>i.e. the original values are treated as X and Z, and the height of the HF at
>that point is treated as Y.  This would create a text file usable in Chris
>Colefax's spline macro. Does anyone want this utility when I'm finished?

Would it perhaps be easier to write it in MegaPOV, using the trace
facility?

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

From: dave
Subject: Re: Height Field utility
Date: 24 Aug 2001 23:18:26
Message: <3B871984.1EBA5479@aol.com>
Mike Williams wrote:

> Would it perhaps be easier to write it in MegaPOV, using the trace
> facility?

For my own purposes, generating a wireframe heightfield, I ended up using
hf_height_at and sphere_sweeps. I know, I know, deprecated in 3.5 - use trace.
For now, I know how to use hf_height_at, but get confused by the docs for trace.
Guess I will have to learn it if I migrate POVGUI to 3.5.


Post a reply to this message

From: Zebu
Subject: Re: Height Field utility
Date: 11 Sep 2001 22:24:59
Message: <3b9ec77b$1@news.povray.org>
Steven Jones wrote:

> You should get DB anyway at www.darkbasic.com because it loads many
> graphics formats natively, and therefore makes the ideal language for
> writing povray utilities.

...but is Windows-only.


Post a reply to this message

From: Steven Jones
Subject: Re: Height Field utility
Date: 17 Sep 2001 05:16:08
Message: <3ba5bf58@news.povray.org>
Most people use Windows these days.


Post a reply to this message

From: Francois Dispot
Subject: Re: Height Field utility
Date: 17 Sep 2001 18:10:24
Message: <3BA674CF.AD1CE11B@club-internet.fr>
Steven Jones wrote:
> 
> Most people use Windows these days.

ImageMagick is free (as a beer), features a lot of useful operations and
conversions between most graphics formats. It can be easily used inside
scripts using pipes, so it makes the "ideal language for writing povray
utilities" (tm).
Same for gimp, netpbm, gifsicle, <insert your favourite scriptable free
stuff here>...

An "ideal" thing depends on its own features, but also on your taste,
uses, os and many other factors. You see, nobody in the 3D business use
our ideal POV-Ray ;-)
-- 

      __  __ __  __  _
|  | /  \  /  / |_  /  |/
\/\/ \__/ /_ /_ |__ \_ |\


Post a reply to this message

Goto Latest 10 Messages Next 7 Messages >>>

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