POV-Ray : Newsgroups : povray.general : hdri cube to lat long Server Time
5 Nov 2024 20:20:37 EST (-0500)
  hdri cube to lat long (Message 1 to 10 of 13)  
Goto Latest 10 Messages Next 3 Messages >>>
From: Jack Couilliard
Subject: hdri cube to lat long
Date: 20 Jan 2003 22:53:48
Message: <3e2cc44c@news.povray.org>
Anyone know how to take 6 hdr pictures which make up a cubic environment map
and make them into a lightprobe type image that mlpov will accept?


Post a reply to this message

From: Ib Rasmussen
Subject: Re: hdri cube to lat long
Date: 21 Jan 2003 14:41:39
Message: <3E2DA2A1.3090807@ibras.dk>
Jack Couilliard wrote:

> Anyone know how to take 6 hdr pictures which make up a cubic environment map
> and make them into a lightprobe type image that mlpov will accept?


I think HRDShop can do it: http://www.debevec.org/HDRShop/

/Ib


Post a reply to this message

From: Christoph Hormann
Subject: Re: hdri cube to lat long
Date: 21 Jan 2003 14:56:49
Message: <3E2DA600.527F5EE8@gmx.de>
Jack Couilliard wrote:
> 
> Anyone know how to take 6 hdr pictures which make up a cubic environment map
> and make them into a lightprobe type image that mlpov will accept?

You should notice the Mlpov hdr functionality is not limited to a special
map type.  You can map your 6 pictures on a cubic environment.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 31 Dec. 2002 _____./\/^>_*_<^\/\.______


Post a reply to this message

From: Gilles Tran
Subject: Re: hdri cube to lat long
Date: 21 Jan 2003 15:09:53
Message: <3e2da911@news.povray.org>

dans le message de news: 3e2cc44c@news.povray.org...
> Anyone know how to take 6 hdr pictures which make up a cubic environment
map
> and make them into a lightprobe type image that mlpov will accept?

I'm currently using this for Terragen-made HDRs (no bottom though as there's
usually a real one in the scene). It's not perfect but the spherical mapping
has drawbacks too.

#declare Pane=union{triangle{0,x,x+y} triangle{0,y,x+y}}

#declare Panoramic=union{
        #declare A=1.3;
        object{Pane texture{pigment{image_map{hdr "mohave0901" interpolate
2}} finish{ambient A diffuse 0}}}
        object{Pane texture{pigment{image_map{hdr "mohave0902" interpolate
2}} finish{ambient A diffuse 0}} rotate y*90 translate x}
        object{Pane texture{pigment{image_map{hdr "mohave0903" interpolate
2}} finish{ambient A diffuse 0}} rotate y*180 translate x-z}
        object{Pane texture{pigment{image_map{hdr "mohave0904" interpolate
2}} finish{ambient A diffuse 0}} rotate y*270 translate -z}
        object{Pane texture{pigment{image_map{hdr "mohave0905" interpolate
2}} finish{ambient A diffuse 0}} rotate -x*90 translate y}
    translate z*0.5-x*0.5-y*0.5
}
object{Panoramic}


Post a reply to this message

From: Jack Couilliard
Subject: Re: hdri cube to lat long
Date: 21 Jan 2003 18:50:51
Message: <3e2ddcdb$1@news.povray.org>
Duh, of course (why didn't I think of that?).

Thanks


Post a reply to this message

From: Jim
Subject: Re: hdri cube to lat long
Date: 21 Jan 2003 21:25:04
Message: <web.3e2e00a5987060ffef139e8d0@news.povray.org>
Yes, HDRShop specializes in HDRI file manipulations,
ergo the name, HDRShop (reference to Photoshop).
Other conversions include mirror ball to light probe.
LogLUV and "float" TIFFs are among the other formats
the program works with.

                              Jim Julian


Post a reply to this message

From: Gilles Tran
Subject: Re: hdri cube to lat long
Date: 22 Jan 2003 03:53:40
Message: <3e2e5c14$1@news.povray.org>

web.3e2e00a5987060ffef139e8d0@news.povray.org...
>
>  HDRShop specializes in HDRI file manipulations,
> ergo the name, HDRShop (reference to Photoshop).

Yes, but does it let you stich together 6 images to make a vertical cross
(which can in turn be transformed into a mirror ball image) ? I still
haven't found a way to cut and paste an HDR image on a new one without
completely replacing it, so positioning 6 images in a cross shape seems out
of the question, unless there's a special trick to do this (I hope so).

G.
--

**********************
http://www.oyonale.com
**********************
- Graphic experiments
- POV-Ray and Poser computer images
- Posters


Post a reply to this message

From: Jim
Subject: Re: hdri cube to lat long
Date: 23 Jan 2003 00:55:03
Message: <web.3e2f8335987060ffb82400590@news.povray.org>
Gilles,

   Below you will find the command path you need.
I haven't tried this, so I can't tell you any more
about the process.

HDRShop:
Image/Panorama/Panoramic Transformations..



Dialog box for Panoramic Transformations:

Left side - Source drop-down box:
       "Cubic Environment (6 separate images)"

Right side - Destination drop-down box:
       "Cubic Environment (vertical cross)"


                             Good luck,
                             Jim Julian


Post a reply to this message

From: Gilles Tran
Subject: Re: hdri cube to lat long
Date: 23 Jan 2003 03:38:08
Message: <3e2fa9f0@news.povray.org>

web.3e2f8335987060ffb82400590@news.povray.org...
>    Below you will find the command path you need.
> I haven't tried this, so I can't tell you any more
> about the process.

Oh I've seen this, but I just can't figure out how and where to import the 6
separate images, and it's not in the tutorials either. I hope I'm missing
something obvious.

G.

--

**********************
http://www.oyonale.com
**********************
- Graphic experiments
- POV-Ray and Poser computer images
- Posters


Post a reply to this message

From: Jim
Subject: Re: hdri cube to lat long
Date: 24 Jan 2003 14:10:18
Message: <web.3e318e63987060ffbf033edd0@news.povray.org>
Hi Gilles,

   This is what I did:

1. loaded a 60k *.bmp test file, not HDR, but good for a test of
   program functionality.
2. loaded five more copies of the same image.
3. opened the transformations dialog box.
4. chose the input/output options.
5. ran the program and waited.
 After awhile, the program came back with a cross-box image that I saved as
JPEG.

While I was at it , I tested the lat-lon ouput option.
This requires only one input file. It worked on the same test image.


                                    Jim Julian


Post a reply to this message

Goto Latest 10 Messages Next 3 Messages >>>

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