You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

3sfera

Intermediate

  • "3sfera" started this thread

Posts: 220

Location: Mexico City

Occupation: Virtual tours, Krpano coding, Graphic Design, Photographer, Panographer

  • Send private message

1

Wednesday, August 31st 2011, 8:21pm

Turn antialiasing off, is it possible??

Hello! I'm trying to align some hotspot images with the background image and I thought it would be great if antialiasing could be disabled temporarily in Krpano. Do anyone know if it is possible or how to do it?

Thanx. Luis.

2

Wednesday, August 31st 2011, 9:15pm

Hi,

do you mean the bilinear interpolation of the pano images?
and why would that be necessary to align hotspots?

but if yes, that can be turned off by using the using the LOW display quality,
see here:
http://krpano.com/docu/xml/#display

e.g. try:

Source code

1
<display movequality="LOW" stillquality="LOW" movequality10="LOW" stillquality10="LOW" />


best regards,
Klaus

3sfera

Intermediate

  • "3sfera" started this thread

Posts: 220

Location: Mexico City

Occupation: Virtual tours, Krpano coding, Graphic Design, Photographer, Panographer

  • Send private message

3

Thursday, September 1st 2011, 4:33am

Exactly Klaus, that was what I had in mind. I'm doing right now a 360 of a car's interior and I am coding some interactive animated areas, so that you can turn on the stereo, the motor, etc. I do that by placing an image hotspot in front of a cubical pano's face image (both planes parallel) with the "active image" (the one with the stereo on for example) aligned with it so that by tweening the hotspot's alpha it creates the animation. The very big problem is to make the hotspot image to be aligned with the cube image in the background, I do it by typing values in the code for ox="" oy="" and looking close to the image for it's alignment, there is where bilinear interpolation doesn't let me see well the pixels in both images (they see blurry) and makes hard the alignment.

By the way Klaus, it would be nice with Krpano that if I place a hotspot image with: rx="0" ry="0" rz="0" ath="0" atv="0" and scale="1", say, an image parallel to the front cubical image in a cubical pano without any rotation or scaling it's pixel size would match the ones in the background image, right now I've found that for them to match you've to use a value around: scale="0.523", wich is really quite a strange value and also an imprecise one.

Best Regards.

4

Thursday, September 1st 2011, 8:13am

Hi,

please see this tutorial - it describes how to align a hotspot with perfect pixel fitting:
Example/Tutorial - interactive area in the pano (aligned distorted hotspot)

best regards,
Klaus

3sfera

Intermediate

  • "3sfera" started this thread

Posts: 220

Location: Mexico City

Occupation: Virtual tours, Krpano coding, Graphic Design, Photographer, Panographer

  • Send private message

5

Sunday, September 4th 2011, 7:40am

Ohhh I see, that will help a lot my aligning issue. Thanks Klaus, you rock man!! *thumbsup* *thumbsup* *thumbsup*

Best Regards.

Luis Erantzcani