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

Donnerstag, 27. August 2009, 16:33

How to impove graphic display quality in krpano ?

Hello,

When i draw a circle in flash, or photoshop (for a button for example), the circle looks good but when i use it in krpano, it looks very bad. I think it’s a problem like antialiasing. The border of the circle is not clean.
There is no problem with square. I've tried to draw a black circle in flash and the background color is white. I've tried the same in photoshop but the result is the same. When i preview the circle in Flash, it's ok. But not in krpano.

Do you know if there is a parameter in krpano to improve the quality display of the graphics ?

I’m using krpano 1.08 beta and my flash project is flash player 9.

Thank you !

Tuur

Erleuchteter

Beiträge: 2 775

Wohnort: Netherlands

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

  • Nachricht senden

2

Donnerstag, 27. August 2009, 17:07

Try to skip the scale="..."

or make it scale 1..

that will do..
Tuur *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur

3

Donnerstag, 27. August 2009, 17:50

Thanx Tuur for your answer.

In fact, scale is already set to 1.
Or there is no scale. I've tried both.

There is always this problem of display.

I create my own plugin in Flash for krpano.

In that plugin, i draw "circle" buttons. When i publish the plugin, the display is quite ok.

But in krpano, the circle are bad.

Attachments : This is 2 screen capture : First one in krpano, 2nd one in flash. Do you notice the difference ?
»Vinyl« hat folgende Bilder angehängt:
  • 01-cicle-buttons-preview-in-krpano.jpg
  • 02-circe-buttons-published-in-flash.jpg

4

Donnerstag, 27. August 2009, 19:31

Hi Vinyl,

I have the same display problem on my swf files displayed in Krpano...
The bad display is evident when there is some text in the swf... the text looks very bad.... *sad*
I have tried using smoothing=true parameter in the plugin used to display the swf, without result.
It looks like if the display quality option of flashplayer was set to low ...

Salut

5

Donnerstag, 27. August 2009, 22:21

Hi,

krpano uses for performance reasons the StageQuality MEDIUM when the display quality (movequality10/stillquality10) was set to HIGH,

with StageQuality MEDIUM the Flashplayer uses a 2x2 anti-alias pixel grid and with StageQuality HIGH or BEST a 4x4 grid,

see here:
http://help.adobe.com/en_US/AS3LCR/Flash…ageQuality.html

but for rendering the pano itself NO "edge" anti-alias would be necessary (don't mixup with bitmap filtering!) because all "edges" of the internal triangles are connected, unfortunately there is no way in Flash to disable it, so I used the MEDIUM StageQuality as compromise between Quality and Performance,


if possible I would recommend to use bitmaps instead of vector graphics for best performance,
but you could also set the stage quality to a higher level in your plugin,

e.g. set in your plugin:

Quellcode

1
stage.quality = StageQuality.BEST;


(I will add a display quality setting for StageQuality.BEST in the next release)

best regards,
Klaus

6

Freitag, 28. August 2009, 02:17

Salut Klaus,

Thanx for your answer and your explanation.
I was looking for a solution since a long time. Didn't think of this parameter.

Quellcode

1
stage.quality = StageQuality.BEST;


So, thank you, It works !

But :

When i load a plugin in krpano which contains this as3 code :

Quellcode

1
stage.quality = StageQuality.BEST;


It doesn't work at all. My plugin is out (no buttons, no action).

But when i load a plugin (ex : main.swf) wich contains a button or an action which loads an other plugin (ex : 01.swf) containing

Quellcode

1
stage.quality = StageQuality.BEST;


it works, no problem, graphic display is ok, plugin works very well.

Do you know why ?


Zitat

if possible I would recommend to use bitmaps instead of vector graphics for best performance,


It's weird, i've tried to use bitmap graphic and the result is worst. It a simple .gif file. It looks perfect in Flash, horrible in krpano. By the way, it works now with vector graphics.

Zitat

(I will add a display quality setting for StageQuality. BEST in the next release)


Great !

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Vinyl« (28. August 2009, 02:58)


7

Freitag, 28. August 2009, 11:38

Hi,

When i load a plugin in krpano which contains this as3 code :

Quellcode

1
stage.quality = StageQuality.BEST;


It doesn't work at all. My plugin is out (no buttons, no action).
when do you make this call?
note - the plugin must wait for until it was added to the stage before it can access the stage object!
e.g. do:

Quellcode

1
2
3
4
5
this.addEventListener(Event.ADDED_TO_STAGE, startplugin);
function startplugin(evt:Event):void
{
 stage.quality = StageQuality.BEST;
}


It's weird, i've tried to use bitmap graphic and the result is worst. It a simple .gif file. It looks perfect in Flash, horrible in krpano. By the way, it works now with vector graphics.
do you scale the bitmap? disabled smoothing? pixel fitting?

best regards,
Klaus

bulp

Fortgeschrittener

Beiträge: 389

Wohnort: Malaysia

  • Nachricht senden

8

Samstag, 29. August 2009, 19:26

Thank you Vinyl for bring up this issue... *thumbsup*

i do notice this also.. but didn't think off stage quality issue.. just thinking of the rendering issue that occur when flash10 mode turn off/on..

id just tried this new code... it works.. thank you Klaus... *thumbsup*

maybe all the textfield plugin (or other plugins) also have to set the best quality ever Klaus... just my opinion.. if this kind of setting do have effect into rendering performance better stay the current stage setting...

9

Dienstag, 1. September 2009, 03:23

Hi !

Zitat

Thank you Vinyl for bring up this issue...


Yes !! Thanx Klaus for the answer ! I It's a really important thing to know ;-)

This as3 code is ok :

Quellcode

1
2
3
4
5
this.addEventListener(Event.ADDED_TO_STAGE, startplugin);
function startplugin(evt:Event):void
{
 stage.quality = StageQuality.BEST;
}


Zitat

do you scale the bitmap? disabled smoothing? pixel fitting?


Concerning the display of bitmaps, i will make a test soon.

10

Mittwoch, 2. September 2009, 13:20

Hi,
maybe all the textfield plugin (or other plugins) also have to set the best quality ever Klaus... just my opinion.. if this kind of setting do have effect into rendering performance better stay the current stage setting...
not that wouldn't be good, the setting will be for the whole flashplayer,
changing the setting for only a plugin or so is not possible!

e.g. when using flash9 the BEST(or HIGH) setting will be very slow compared to the LOW setting!
I already implemented the BEST setting for the next release, when using only cubical faces and no fisheye/stereographic distortion then the rendering performance will be still okay,

best regards,
Klaus

bulp

Fortgeschrittener

Beiträge: 389

Wohnort: Malaysia

  • Nachricht senden

11

Mittwoch, 2. September 2009, 15:52

owh... thanks you klaus... *thumbsup*

bulp

Fortgeschrittener

Beiträge: 389

Wohnort: Malaysia

  • Nachricht senden

12

Montag, 14. September 2009, 17:19

deleted.

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »bulp« (27. Mai 2010, 03:50)


13

Montag, 14. September 2009, 22:03

Hi,
1)the quality drop in littleplanet view. i do reset to the normal view with flash10.on the quality drop as in littleplanet view..
right, with flash10 off - the "movequality" and "stillquality" settings are used, and if there are different the stage quality is changed on every move,

2)the stage.quality didnt work (quality drop) in littleplanet view..
yes, because of the continuing changing between move and stillquality,
set both to HIGH and it should work,


maybe on your next release wont have this problems...
yes
then "BEST" can be used for movequality(10) and stillquality(10),

best regards,
Klaus

Tuur

Erleuchteter

Beiträge: 2 775

Wohnort: Netherlands

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

  • Nachricht senden

14

Montag, 8. Februar 2010, 18:50

Read and done,

but how do i make the panorama move nice and smooth again and why does the plugin reacts slower when the brouwser screen is bigger??

in xml i had a much better performance but you should expect that from as3/flash..


Tuur
*thumbsup*
http://www.virtualtuur.com
Skype:studiotuur