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.

1

Montag, 23. Juli 2012, 12:37

Load images optional from separate R,G,B files

That will be good for anaglyph.

Say instead of

set(hotspot[%1].url,'image.jpg');

to be able to use also this
set(hotspot[%1].R.url,'imageR.jpg');
set(hotspot[%1].G.url,'imageG.jpg');
set(hotspot[%1].B.url,'imageB.jpg');

However this may be seen as very low interes but will be useful to switch from regular to anaglyph, for example.



thanks,

Dorin

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

2

Montag, 23. Juli 2012, 17:30

Can't you just use three different plugins, each partially opaque and with a variable distance from each other?

You could program a hotspot builder to do this for you.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

3

Dienstag, 24. Juli 2012, 14:28

Yes I think I can do that but then I'll have

1)Hotspot GB 32 bit
2)Hotspot R1 8 bit + 8 bit transparency
the above will make the regular image
then
1)Hotspot GB 32 bit
3) Hotspot R2 8 bit + 8 bit transparency
for the anaglyph image


As I already have 30 hotspots for a stitchless pano will be not practicall to multiplay then, let alone that the transparency will may not work as I want (not tested yet though)

Think is better for me to have the cubefaces generated on the fly by server and build them as regular or anaglyph from data files for separate channels, and feed them to webpage/krpano so on.. as an alternative..

I'd love this request implemented if it possible :)

cheers,
Dorin

4

Dienstag, 24. Juli 2012, 18:22

Hotspots have a "blendmode" attribute. If you set the blendmode to "add", you can do exactly what you want; since your anaglyph pair consists of two images, one of which is GB, and the other is R, adding them up will get you (anaglyph) R+GB.

5

Mittwoch, 25. Juli 2012, 10:24

Thanks Aldo,

Then I'll have 30 cubeface GB plus 30 cubefaces R1 and, for switch, another 30 cubefaces R2. That makes 90.
The pano then starts to pan slowly, and the memory requirement is huge.

For example this has "only" 60 cubefaces Warning! is a large download
http://www.livepanoramas.com/event/victo…_p=7.43_f=47.00


If this request will be implememnted for switch I only load R2 file in .r channel or even better, if possible, make channel R1 invisible and show R2.


At the end I'd like to add another reason for this feature in the case of anaglyph. The usual colorspace for jpeg files like JPEG_YCbCr is great as gives you great compression, but as we know the jpeg compression is pereceptive compresion based on color aproximation. In anaglyph that could have the result for certain color information to go from left to right and viceversa when a file is saved as jpeg, i.e. we'll have gosts. To fight with that I'm using another colorspace JPEG_RGB but that lead to much less performance in compression and the files are even more increased in size, as you may experience at the link above.

If the channels are separate in files, regardless of the compresion there will be no contamination from Left to Right and viceversa.


cheers,
Dorin

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »DorinDXN« (25. Juli 2012, 10:36)


6

Mittwoch, 25. Juli 2012, 11:27

Ah, now I see what you mean. What you need/want is a custom plug-in that loads multiple images into a single hotspot. The anaglyph blending would happen inside the plug-in, and could be cached as a single bitmap so you have the performance of a single hotspot.