Sie sind nicht angemeldet.

121

Samstag, 18. Januar 2020, 17:52

distored video hotspot positioning issue?

Hi guys,

sorry for digging out this old thread, but I have some issues positioning a distorted video hotspot onto the pano image. I quadruple checked the values coming out from ptgui ... the distorted (video) hotspot is just off. not just by a single pixel or so, its quiet "a bit". see screenshot below.

I'm using krpano 1.20.2 and ptgui 11.13 - is this "old" action still valid or did something change at krpano/ptgui so there's a missmatch now?


Any help on this would be great, as the client waits for his panos ;-)
SOLVED: I've overseen the vertical compression in ptgui. everyting's fine.





Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »pano_ramic« (19. Januar 2020, 13:25)


122

Montag, 25. Mai 2020, 13:04

Hi,

I have a problem (well i have a lot of problems with this one but i want to solve it one at the time). My hotspot picture is bigger that the place it's on. I tried to make hotspot jpg smaller but it "stretches" on the panorama.

Thanks for any help!

123

Freitag, 5. Juni 2020, 10:45

SOLVED: I've overseen the vertical compression in ptgui. everyting's fine.
I have the same problem, tried Ptgui 12 and old 10, all the numbers are rounded, still the hotspot is misaligned.
Vertical and horizontal compression setting should be 0.0. OK, but where do i find it??? *confused*
Best regards,
Igor Socha

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

124

Freitag, 5. Juni 2020, 11:56

Hi,

panorama editor --> right top little arrow --> projection

by selecting the numbers you get the full, not rounded number,.
make sure you are in 'rectangular' mode!

Hope it helps!
Tuur *thumbsup*

Dieser Beitrag wurde bereits 4 mal editiert, zuletzt von »Tuur« (5. Juni 2020, 12:26)


Viktor123

Anfänger

Beiträge: 8

Wohnort: Baden

Beruf: Kellner

  • Nachricht senden

125

Mittwoch, 16. September 2020, 12:23

Thanks! I think this i really helpful!

Greetings

milotimbol

Fortgeschrittener

Beiträge: 242

Wohnort: Philippines

Beruf: Software Developer

  • Nachricht senden

126

Freitag, 14. Januar 2022, 03:07

What adjustments do I need to make to action "calc_pos_from_hfov_yaw_pitch_roll" if my panorama is using a depthmap? can't seem to align using the default code.

milotimbol

Fortgeschrittener

Beiträge: 242

Wohnort: Philippines

Beruf: Software Developer

  • Nachricht senden

127

Freitag, 14. Januar 2022, 03:44

Answering my own question for posterity. Found the answer here - https://krpano.com/forum/wbb/index.php?p…&threadID=17570

if your image has a prealign, ox, oy, oz values

Quellcode

1
2
3
4
5
6
7
8
9
10
11
		<image prealign="-0.0|-56.72|0.0" ox="-38.33" oy="-46.13" oz="17.8" >
			<cube url="panos/03.tiles/%s/l%l/%v/l%l_%s_%v_%h.jpg" multires="512,640,1280,2688" />

			<depthmap url="panos/03.tiles/depthmap.stl"
				enabled="true"
				rendermode="3dmodel"
				background="none"
				scale="100"
				offset="0.0"
				subdiv=""/>				
		</image>


You need to carry those values to the hotspot as tx, ty, tz and also add prealign="true"

Quellcode

1
2
3
4
5
	    <hotspot name="left-device" distorted="true" enabled="true" visible="true" alpha="1"
	              url="img/03-right-device.jpg"
	              onloaded="calc_pos_from_hfov_yaw_pitch_roll(11,-109,0,-42);"
prealign="true" tx="-38.33" ty="-46.13" tz="17.8"
	              />

128

Donnerstag, 22. Juni 2023, 06:10

Problem with pixelated edge rendered from HUGIN

Hi. I know this has been so long ago but now I am trying to do some test with this for changing the materials of the tour.

Please see here
https://apartment.immexg.com/media/vtour/index.html

I have been able todo what I want, but the problem is that when rendered from HUGIN the edge looks very pixelated. I have not been able to make it crisp even with higher resolution. My work around right now is just go into photoshop and increase the the feather of the edge so that it won't be as jarring. But I would want to know is there anyway to render our a crisp edge image from HUGIN since my source has been rendered out nicely (as a layered 360).

Since I have so many layers that is on top of each other, I need PNG as output. so JPG is out of the question.
I am fine with it being a bit larger but pixelated is still a big issue for me.

My workflow is to follow the original tutorial by Klaus. Render out a bunch of options in equirectangular and then modified them in HUGIN to export as Rectilinear. Is there a better way of exporting or retaining it as equirectangular?

Thank you!
»superhoha« hat folgende Bilder angehängt:
  • 1.jpg
  • 2.jpg