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.

Zephyr

Professional

  • "Zephyr" started this thread

Posts: 994

Location: Netherlands

Occupation: Web developer

  • Send private message

1

Friday, September 24th 2010, 3:02pm

Image/levels question

Is this code:

Source code

1
2
3
<image type="SPHERE" tileimagewidth="6000" tileimageheight="3000" multires="false">
    <sphere url="sphereimage.jpg" />
</image>


technically the same code as:

Source code

1
2
3
4
5
<image type="SPHERE" multires="true">
<level tileimagewidth="6000" tileimageheight="3000">
    <sphere url="sphereimage.jpg" />
</level>
</image>


Both have 1 level.
That would save me for checking for certain stuff in my php loop, and just basicly set multires on true for every panorama, but make the number of levels variable. And just make 1 exception (CUBESTRIP). Or would a 1 level multires cubestripe work too?
3d childrens game using krpano Game
Minify your xml with my krpano XML Compressor
Krpano XML Parsing Error Checklist
Available for hire (krpano xml, javascript, actionscript, flash, php and ipad plugins).

Zephyr

Professional

  • "Zephyr" started this thread

Posts: 994

Location: Netherlands

Occupation: Web developer

  • Send private message

2

Saturday, September 25th 2010, 6:08pm

no one knows ?

I just wanna know if would run into trouble if I adjust the template of generating 1 level, if the user doesn't need multires
3d childrens game using krpano Game
Minify your xml with my krpano XML Compressor
Krpano XML Parsing Error Checklist
Available for hire (krpano xml, javascript, actionscript, flash, php and ipad plugins).

3

Monday, September 27th 2010, 4:37pm

Hi,

yes, finally it's the same, so it's no problem to generate only 1 level,
the MAKE PANO (NORMAL) and MAKE PANO (SINGLESWF) droplets are doing the same

best regards,
Klaus

Zephyr

Professional

  • "Zephyr" started this thread

Posts: 994

Location: Netherlands

Occupation: Web developer

  • Send private message

4

Monday, September 27th 2010, 8:32pm

Thanks, that will simplfy it :) Now I only need to check for cubestripe.

This means the multires is (or will be) depricated?

Alsoo a bit curious. why do you have to define the type of the image, when the next tag is either <sphere url.. <cubestripe url.... or if it's nothing it must be Cube. According to the docs, the type MUST be defined. while flash could easily check if a tag exists (like <sphere, cubestrpe )
3d childrens game using krpano Game
Minify your xml with my krpano XML Compressor
Krpano XML Parsing Error Checklist
Available for hire (krpano xml, javascript, actionscript, flash, php and ipad plugins).

5

Friday, October 1st 2010, 1:15pm

Hi,
This means the multires is (or will be) depricated?
no, for non-multires panos, there are no <level> tags necessary,
and this will be kept so,

Alsoo a bit curious. why do you have to define the type of the image, when the next tag is either
to let krpano know for what tags it should look

when using non-multires panos, it's already possible to let the type setting away,
the it will detected by looking if there are fitting sub tags (e.g. when there is "left" sub node, then it's probably a "cube" pano)

best regards,
Klaus