Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

jl-krp

Fortgeschrittener

  • »jl-krp« ist der Autor dieses Themas

Beiträge: 140

Wohnort: Bath

Beruf: Panographer - hobby and commercial

  • Nachricht senden

1

Montag, 14. Dezember 2015, 06:29

interactive spheres

Please take a look at some recent work - circular fisheye projections of spherical panoramas:

john-law.net/projects

I would like to turn these circular fisheye projections into true interactive spheres that the user can roll with mouse or finger, but dont know how to do so. I’m sure I’ve seen examples of this…

Suggestions gratefully received!

JL

john Law arps

current: www.john-law.net/projects
archive: www.john-law.org.uk
mail: mail@john-law.net
tel: 01225 339590
mob: 07814 993 904
skype: john-sk-law

panomaster

Fortgeschrittener

Beiträge: 252

Wohnort: Kobyłka, Poland

Beruf: Virtual Tours - Spherical Panoramas - Krpano developer

  • Nachricht senden

2

Montag, 14. Dezember 2015, 13:32

It's not a good idea to convert panoramas from mirror ball. It's because of high distortion and blur near the border of mirror ball pictures.

Theoretically, you could use PTGui:

1. Open mirror ball image
2. Set Lens Type = circular fisheye and HFOV = 360
3. Set properly round crop in Crop tab (it should be done absolutely perfectly)
4. Click ctrl + E (editor) and align panorama

Here's what you can get (see attachment)
»panomaster« hat folgendes Bild angehängt:
  • equi.jpg

Red

Schüler

Beiträge: 92

Wohnort: Australia

Beruf: Virtual tour creator, VR app developer

  • Nachricht senden

3

Montag, 14. Dezember 2015, 15:17

Two suggestions that may help

- Use the Make Object droplet or the HTML 5 friendly solution from Andrey here http:
//www.krpano.com/forum/wbb/index.php?page=Thread&threadID=8034&pageNo=2

Firstly, it's not possible for the single circular image to be rotated as it's essentially just a flat image with one point of view.
You require multiple circular images, rotated slightly each time (say 10 degrees) to show a slightly different viewpoint which ends up covering 360 degrees of the sphere.

36 images would give you smooth rotation when interacting. 24 may even suffice. This will only give you horizontal rotation.
If you wanted vertical rotation you'd require more images.
See here Object VR with left/right AND up/down rotation

- For a sphere wrapped around a 3D object, you could implement the Three JS plugin.
Use three.js (3d objects) inside krpano (with VR support)


In this case the mirror ball/sphere projection is not necessary and the equirectangular is mapped to a 3D sphere object instead.
Example of pano mapped to a 3D object is here http://www.pano-ad.com.au/panos/animetes…thex/index.html

To enable mouse/touch interaction would require more coding knowledge in Three JS, but certainly possible.

Hope that helps

Beiträge: 1 848

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

4

Montag, 14. Dezember 2015, 16:20

Hi John,
I think most replies misunderstood you.

This just needs 3 view changes.

fovmin 180
stereographic false
fisheye 1
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

jl-krp

Fortgeschrittener

  • »jl-krp« ist der Autor dieses Themas

Beiträge: 140

Wohnort: Bath

Beruf: Panographer - hobby and commercial

  • Nachricht senden

5

Montag, 14. Dezember 2015, 18:37

many thanks!

Thanks for the swift replies!

Leszek - Your attached image looks similar to my initial equirect made from 4 x10.5mm images on a full-frame. The fisheyes were other ptgui projections, not mirrorballs:

Red - I’ve made 3d objects with modelling software but what I was trying to remember was a manipulable sphere in which the user was at the centre not outside it.
Many thanks for the links to the Three.js plugin and the examples.which look very promising.

Sacha - will try your settings and re-render - but will the result be passive or interactive?

Merry xmas & HNY’ 16 to you all!
JL

Beiträge: 1 848

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

6

Montag, 14. Dezember 2015, 20:19

jl-krp,
It's krpano viewing settings for normal scenes.. turns the scene into an interactive mirrorball. Is that what you wanted?
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

7

Freitag, 18. Dezember 2015, 15:17

Bingo! Thanks Sacha – for me at least, that's it. :)

8

Freitag, 18. Dezember 2015, 15:19

Although it would be perfect if the distortion simulated a ball coming OUT rather than being like looking into a concave shape.

Beiträge: 1 848

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

9

Freitag, 18. Dezember 2015, 17:05

You can play with the options plugin in flash to change various settings quickly. If you use details=1 you get a cube. I've not seen that in krpano before.
Yeah it would look better out than in.. I didn't find a magic setting for it.

examples/plugin-examples/editor-options-plugins.. replace the flat image with one from the tours like..

Quellcode

1
2
3
4
5
		<preview url="../../../examples/virtual-tours/demotour-corfu/panos/achilleion-hof-unten.tiles/preview.jpg" />

		<image>
			<cube url="../../../examples/virtual-tours/demotour-corfu/panos/achilleion-hof-unten.tiles/mobile_%s.jpg" />
		</image>
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

jl-krp

Fortgeschrittener

  • »jl-krp« ist der Autor dieses Themas

Beiträge: 140

Wohnort: Bath

Beruf: Panographer - hobby and commercial

  • Nachricht senden

10

Freitag, 18. Dezember 2015, 21:53

spheres again

Hi
Thanks to our pano colleague Toni Garbasso who pointed me towards WebGL, I now have a couple of interactive spheres with panos painted on the outside.

john-law.net/projects/spheres/ The Turrell cubic room looks very odd but the Hunstanton beachscape is almost tolerable.

Now I need to find out how to paint a pano inside a sphere...

WebGl is very forbidding for a non-programmer but it looks worth the effort!

JL