POV-Ray : Newsgroups : povray.general : WorldMachine to POV Server Time
6 Nov 2024 16:30:43 EST (-0500)
  WorldMachine to POV (Message 1 to 10 of 16)  
Goto Latest 10 Messages Next 6 Messages >>>
From: Slime
Subject: WorldMachine to POV
Date: 5 Aug 2002 21:14:02
Message: <3d4f22da@news.povray.org>
Does anyone know of any conversion utility that can take one of
WorldMachine's 16-bit (or more) output formats (Such as Terragen TER) and
convert it to a format that POV-Ray can read (without returning to 8 bits)?

 - Slime
[ http://www.slimeland.com/ ]


Post a reply to this message

From: =RAY=
Subject: Re: WorldMachine to POV
Date: 5 Aug 2002 22:10:08
Message: <web.3d4f2f4bbaf777fe264908380@news.povray.org>
Slime wrote:
>Does anyone know of any conversion utility that can take one of
>WorldMachine's 16-bit (or more) output formats (Such as Terragen TER) and
>convert it to a format that POV-Ray can read (without returning to 8 bits)?
>
> - Slime
>
Sure, somthing like

height_field{
  function X_res,Y_res {
    pattern{
      image_map{tga "HF.tga"}
      rotate -90*x
    }
  }
  translate <-,.5,0,-.5>
}
// WARNING: UNTESTED CODE
=RAY=


Post a reply to this message

From: Christopher James Huff
Subject: Re: WorldMachine to POV
Date: 5 Aug 2002 22:29:02
Message: <chrishuff-BBB5FE.21185705082002@netplex.aussie.org>
In article <web.3d4f2f4bbaf777fe264908380@news.povray.org>,
 "=RAY=" <ray### [at] yahoocom> wrote:

> >Does anyone know of any conversion utility that can take one of
> >WorldMachine's 16-bit (or more) output formats (Such as Terragen TER) and
> >convert it to a format that POV-Ray can read (without returning to 8 bits)?
> Sure, somthing like
> 
> height_field{
>   function X_res,Y_res {
>     pattern{
>       image_map{tga "HF.tga"}
>       rotate -90*x
>     }
>   }
>   translate <-,.5,0,-.5>
> }

Not sure what you are suggesting here...the height_field shape can use 
anything an image_map can use, so running the image through a function 
is no help at all. And it looks like you misread "TER" as "TGA".

-- 
Christopher James Huff <chr### [at] maccom>
POV-Ray TAG e-mail: chr### [at] tagpovrayorg
TAG web site: http://tag.povray.org/


Post a reply to this message

From: =RAY=
Subject: Re: WorldMachine to POV
Date: 5 Aug 2002 22:55:13
Message: <web.3d4f3a3abaf777fe264908380@news.povray.org>
Christopher James Huff wrote:
>In article <web.3d4f2f4bbaf777fe264908380[at]news.povray.org>,
> "=RAY=" <ray### [at] yahoocom> wrote:
>
>> >Does anyone know of any conversion utility that can take one of
>> >WorldMachine's 16-bit (or more) output formats (Such as Terragen TER) and
>> >convert it to a format that POV-Ray can read (without returning to 8 bits)?
>> Sure, somthing like
>>
>> height_field{
>>   function X_res,Y_res {
>>     pattern{
>>       image_map{tga "HF.tga"}
>>       rotate -90*x
>>     }
>>   }
>>   translate <-,.5,0,-.5>
>> }
>
>Not sure what you are suggesting here...the height_field shape can use
>anything an image_map can use, so running the image through a function
>is no help at all. And it looks like you misread "TER" as "TGA".

I saw the "such as" and I know WorldMachine exports greyscale TGAs.  Also,
the docs explain that TGA HFs aren't greyscale. See 6.5.1.5 Paragraph 13
(or so).

=RAY=


Post a reply to this message

From: Slime
Subject: Re: WorldMachine to POV
Date: 6 Aug 2002 05:12:31
Message: <3d4f92ff@news.povray.org>
> Sure, somthing like
>
> height_field{
>   function X_res,Y_res {
>     pattern{
>       image_map{tga "HF.tga"}
>       rotate -90*x
>     }
>   }
>   translate <-,.5,0,-.5>
> }


nonono, the targas that WorldMachine outputs are greyscale; they only have 8
bits of depth per pixel. I'd like to use one of the other output formats and
convert it to, perhaps, that special kind of targa with the red and green
channels used separately for 16 bits of information.

A POV-Ray SDL script can't do this for me.

Slime
[ http://www.slimeland.com/ ]


Post a reply to this message

From: Abe
Subject: Re: WorldMachine to POV
Date: 6 Aug 2002 07:10:11
Message: <web.3d4fad5bbaf777fe6895cad0@news.povray.org>
I jump through the following hoops (and not always w/o tripping):
WM -> save as *.TER
Terragen -> load then save in *.RAW format (16 bit, Motorola byte order)
HCR-Edit -> load then save as *.PNG, *.TGA, etc...

....you asked.

Abe

Slime wrote:
>Does anyone know of any conversion utility that can take one of
>WorldMachine's 16-bit (or more) output formats (Such as Terragen TER) and
>convert it to a format that POV-Ray can read (without returning to 8 bits)?
>
> - Slime
>


Post a reply to this message

From: =RAY=
Subject: Re: WorldMachine to POV
Date: 6 Aug 2002 09:40:23
Message: <web.3d4fd17abaf777fe264908380@news.povray.org>
Abe wrote:
>I jump through the following hoops (and not always w/o tripping):
>WM -> save as *.TER
>Terragen -> load then save in *.RAW format (16 bit, Motorola byte order)
>HCR-Edit -> load then save as *.PNG, *.TGA, etc...
>
>.....you asked.
>
>Abe
>
>Slime wrote:
>>Does anyone know of any conversion utility that can take one of
>>WorldMachine's 16-bit (or more) output formats (Such as Terragen TER) and
>>convert it to a format that POV-Ray can read (without returning to 8 bits)?
>>
>> - Slime
>>
There are some Terragen export plugins (SOPack) for POV-Ray HFs, BMPS, ect,
but I'm not sure about the 16 bit aspect.

=RAY=


Post a reply to this message

From: Peter Popov
Subject: Re: WorldMachine to POV
Date: 6 Aug 2002 16:40:58
Message: <anc0lukdgcvjrv7hmsqlb7gcoc9d105vgm@4ax.com>
On Mon, 5 Aug 2002 21:06:57 -0400, "Slime" <slm### [at] slimelandcom> wrote:

>Does anyone know of any conversion utility that can take one of
>WorldMachine's 16-bit (or more) output formats (Such as Terragen TER) and
>convert it to a format that POV-Ray can read (without returning to 8 bits)?

Yes, today my brother wrote two utilities - one converts the 32-bit
float format from WM to 16-bit raw integer (that PhotoShop can read),
and the other converts from that to PNG. He's merging them into one at
the moment, cleaning up and adding a more user-friendly set of
command-line switches. Expect the source really soon, and if we can
get our hands on Borland C++ 5.5, a Windows binary (you can always
build your own Linux one if you want to).

The utilities work and I'm already using them :)


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


Post a reply to this message

From: Slime
Subject: Re: WorldMachine to POV
Date: 6 Aug 2002 17:32:16
Message: <3d504060@news.povray.org>
> The utilities work and I'm already using them :)


Send send!!! =)

That'd be great if I could use those...

 - Slime
[ http://www.slimeland.com/ ]


Post a reply to this message

From: Tony[B]
Subject: Re: WorldMachine to POV
Date: 6 Aug 2002 17:53:21
Message: <3d504551@news.povray.org>
> Yes, today my brother wrote two utilities ...

Is there anything he can't do? ;) Tell him he rocks and that we'd like to
see the source soon. :)


Post a reply to this message

Goto Latest 10 Messages Next 6 Messages >>>

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