|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> 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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> 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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> 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
|
|
| |
| |
|
|
|
|
| |