POV-Ray : Newsgroups : povray.general : hdri cube to lat long Server Time
5 Aug 2024 04:18:41 EDT (-0400)
  hdri cube to lat long (Message 11 to 13 of 13)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Gilles Tran
Subject: Re: hdri cube to lat long
Date: 24 Jan 2003 16:02:49
Message: <3e31a9f9@news.povray.org>

web.3e318e63987060ffbf033edd0@news.povray.org...

> 2. loaded five more copies of the same image.

Thanks for trying but... the panoramic transformation only applies to the
current image and doesn't take into account the other 5. Indeed, if if did,
it would at least propose a way to stitch them together (like other panorama
tools). Just try to load 6 different images.
The way I see it - and unless I'm missing something -  this feature is only
useful to create a template cross to be used for the placement of JPEG
images (in another software). The LDR crosses of different exposures are
then used to create the final HDR one. In fact, it sort of makes sense,
since digital cameras don't output HDR images anyway. Possibly it's a
problem only for Terragen users, who are the only ones stuck with a panorama
made of 6 separate HDR pics.

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 19:50:06
Message: <web.3e31df0b987060fff7d6f5b00@news.povray.org>
Come on guys, do your home work.
   If you go to the HDRShop site; click on the "Board" tab at the top,
 you go to the discussion group. Search back to April and you will find the
following response to someone with the same problem.

-----------------------------------------------------------------------------

Re: can hdrshop make 6 hdr images to 1 cross?
--------------------------------------------------------------------------------
 I'm assuming you have 6 square images each with a horizontal and vertical
field of view of 90 degrees. It is possible to put them together in HDR
Shop, though it isn't exactly an easy operation.

The main troublesome part is how to get all the images into the correct
relative positions, without the aid of the handy layer system in
photoshop.. hehe.

First, turn off the 'restrict selection to image' option
(Select->Select Options)

Then turn on the Selection Range window (Select -> Select Window), so you
can type in the selection ranges by hand.

Now you load up the 6 images, rotate them appropriately,
select the rectangle around each image that represents their position in the
finished image, and crop to that region. Then you can composite them
together by adding
(Image->Calculate can add 4 images at once, repeat on
the result to add more)

For example, lets say your images are 256x256.
Lets do the image that's looking upwards.
With the select range window, type in a selection range:
Left: -256
Top: 0
Width: 768
Height: 1024
Then crop the image (Image->Crop). This gives you an
image with the upward-looking square in the correct position.

Then for the image looking left, do the same except select:
Left: 0
Top: -256
Width: 768
Height: 1024

Then for the forward looking image:
Left: -256
Top: -256
Width: 768
Height: 1024

etc.

-----------------------


On the other hand, I'm sure it would be a fairly simple to create a plugin
to do that automatically given 6 images. Let me know if this would help out
alot.

Chris
-------------------------------------------------------------------------------

                                           Good luck,
                                           Jim Julian


Post a reply to this message

From: Gilles Tran
Subject: Re: hdri cube to lat long
Date: 25 Jan 2003 16:33:14
Message: <3e33029a@news.povray.org>

web.3e31df0b987060fff7d6f5b00@news.povray.org...
>    If you go to the HDRShop site; click on the "Board" tab at the top,
>  you go to the discussion group. Search back to April and you will find
the
> following response to someone with the same problem.

Thanks, I had missed that board somehow.
Well, the method works indeed but I hope someone makes a plugin as it's not
really straightforward.
If someone's interested here are the selection values
(left/top/width/height) for the entire cube (assuming the image size
is 256 x 256) :
front: -256 / -256 / 768 / 1024
right: -512 / -256 / 768 / 1024
back (flip vertically before use) : -256 / -768 / 768 / 1024
left: 0 / -256 / 768 / 1024
up: -256 / 0 / 768 / 1024
down: -256 / -512 / 768 / 1024

Once the images are cropped:
combine up/left/front/right
combine previous + down
combine previous + back

One remaining problem are the visible seams in the final image. I've been
able to remove them by turning off
the interpolation or by using gaussian blur but of course these solutions
are not 100% satisfying. Possibly there's a way to make the images overlap
so more tests are necessary.

G.


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


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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