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.

1

Sunday, May 30th 2010, 7:09am

MAKE OBJECT (MULTIRES) droplet

Hi Klaus!
Is it possible to make an object without background? As i understand, it is necessary to use .png format to this. But "MAKE OBJECT (MULTIRES) droplet" doesn't support this format. Or probably there is another one way to achieve this purpose. I think it could be interesting to paste such objects to panos. Now there is a problem with non transparent background.

With regards,
vir2city

2

Tuesday, June 1st 2010, 9:57am

Hi,

no, transparent panos (or objects, internally it's the same) are not possible,

Quoted

I think it could be interesting to paste such objects to panos.
that's not possible too,

best regards,
Klaus

Andrey_K

Beginner

Posts: 36

Location: Ukraine

Occupation: photographer

  • Send private message

3

Monday, January 17th 2011, 2:08pm

Hi!
I can not make out how to do without the multiresolution ?
Droplet makes such code:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<image type="CYLINDER" hfov="1.00" multires="true" tilesize="512" progressive="true" frames="24" frame="1">
      <level tiledimagewidth="1233" tiledimageheight="4928">
         <cylinder url="image_1.tiles/%0f/l6/%0v_%0h.jpg" />
      </level>
      <level tiledimagewidth="617" tiledimageheight="2464">
         <cylinder url="image_1.tiles/%0f/l5/%0v_%0h.jpg" />
      </level>
      <level tiledimagewidth="309" tiledimageheight="1232">
         <cylinder url="image_1.tiles/%0f/l4/%0v_%0h.jpg" />
      </level>
      <level tiledimagewidth="155" tiledimageheight="616">
         <cylinder url="image_1.tiles/%0f/l3/%0v_%0h.jpg" />
      </level>
      <level tiledimagewidth="78" tiledimageheight="308">
         <cylinder url="image_1.tiles/%0f/l2/%0v_%0h.jpg" />
      </level>
      <level tiledimagewidth="39" tiledimageheight="154" aspreview="true">
         <cylinder url="image_1.tiles/%0f/l1/%0v_%0h.jpg" />
      </level>
   </image>


I change code:

Source code

1
2
3
4
5
6
7
<image type="CYLINDER" hfov="1.00" frames="24" frame="1">
 <cylinder url="image_1.jpg" />
 <cylinder url="image_2.jpg" />
 <cylinder url="image_3.jpg" />
.... 
<cylinder url="image_24.jpg" />
   </image>

Loaded only image_1.jpg
How to write code?

4

Tuesday, January 18th 2011, 10:42am

Hi,

there is only one <cylinder> tag possible and the frames can be only used together with multires,

but you can write it in that way to use singe images:
use only one level and a very big tilesize (larger then the image width or height)
and set the tiledimagewidth/tiledimageheight values correct:

Source code

1
2
3
4
5
<image type="CYLINDER" hfov="1.00" frames="24" frame="1" multires="true" tilesize="4000">
  <level tiledimagewidth="XXX" tiledimageheight="XXX">
    <cylinder url="image_%f.jpg" />
  </level>
</image>


best regards,
Klaus

Andrey_K

Beginner

Posts: 36

Location: Ukraine

Occupation: photographer

  • Send private message

5

Tuesday, January 18th 2011, 4:28pm

Klaus is probably something I did not understand ..?

6

Tuesday, January 25th 2011, 1:29pm

Hi,

in your xml you wrote:

Source code

1
image_1_%f.jpg


but your file is named

Source code

1
image_1.jpg


note - the %f will be replaced with the frame number,
so you need to write that:

Source code

1
image_%f.jpg


best regards,
Klaus

Andrey_K

Beginner

Posts: 36

Location: Ukraine

Occupation: photographer

  • Send private message

7

Thursday, January 27th 2011, 11:25pm

Hi Klaus!
Thank you! I solved this problem!

8

Thursday, July 28th 2011, 1:28pm

Hi Klaus.
I have a question: "how to attach a hotspot to the first frame of vr-object?".
Gratefully, Rrrrroma!

9

Thursday, July 28th 2011, 2:11pm

In case this question have been already answered, could you please give me a link. It is difficult for me to translate english.

10

Thursday, July 28th 2011, 2:27pm

Hi,

Quoted

"how to attach a hotspot to the first frame of vr-object?".
frames and hotspots are independent of each other,
but you can use an action and check there for the frame number and then hide or show and eventually also change the position of the hotspot,

maybe have a look at the xml files from the Aircraft examples here:
http://krpano.com/examples/objects/

there the "objectrotate" action from the original "objectskin.xml" was extended with a call to an "update_hotspots" action, and in that
action the frame number will be checked and the hotspot modifed,

e.g.

Source code

1
2
3
4
5
<action name="update_hotspots">
if(image.frame == 1, set(hotspot[...].visible,true), set(hotspot[...].visible,false));
if(image.frame == 2, ...);
...
</action>


best regards,
Klaus

11

Thursday, July 28th 2011, 3:06pm

maybe have a look at the xml files from the Aircraft examples here:
http://krpano.com/examples/objects/

How to look initial XML Aircraft? There only links to sites of firm and tours

12

Thursday, July 28th 2011, 3:38pm

Hi,

just view the html page source, there you see the path of the xml,
e.g.
http://krpano.com/objects/pilatuspc12/sk…kin_pilatus.xml

best regards,
Klaus

13

Friday, July 29th 2011, 1:38pm

Klaus, many thanks for council with hotspots. All has earned


Now, the question is how to make spot to be led to the 3D tour?

Source code

1
onclick="looktohotspot(get(name)); loadpano(home3d.xml, null, MERGE, BLEND(1));"/>



What format the filesystem should be?
And how to make loadable tour be displayed with the original settings?
Thanks in advance
Roman.

14

Friday, July 29th 2011, 3:25pm

Hi,
Now, the question is how to make spot to be led to the 3D tour?
the events that control the object movement and disable the default movements must be set back to default,
have a look at the objectskin.xml, everything from there,

in the next version I will provide a better template that does that automatically when leaving the object movie,

best regards,
Klaus

15

Friday, July 29th 2011, 6:43pm

which properties of the spot should i change and where do i find them

16

Monday, August 1st 2011, 8:18am

Whether and can pano open in the appendix as the Plug-in over all appendix? Whether it will work with the XML a file, instead of a file of the main appendix.

17

Saturday, August 6th 2011, 9:59am

Hi,
which properties of the spot should i change and where do i find them
not the properties of a spot,
if you want to link from an object to an normal pano, the global events and settings from the object skin must be removed,
see the objectskin.xml for details,

e.g. these settings should do it:

Source code

1
2
3
4
5
6
7
set(control.mousetype, moveto);
set(control.zoomtocursor, false);
set(control.mousespeed,10);
set(events.onmousedown, null);
set(events.onmouseup, null);
set(events.onidle, null);
set(events.onviewchange, null);



Whether and can pano open in the appendix as the Plug-in over all appendix? Whether it will work with the XML a file, instead of a file of the main appendix.
sorry, I'm not sure if I understand how you mean that, but if you want open a pano or an object as layer 'over' the other pano or object, then this is not possible,

best regards,
Klaus

18

Sunday, December 18th 2011, 2:21pm

MAKE OBJECT

How can I move frame by frame, to fix position of a hotspot in vr object using the editor?, Is there any way to know the number of the frame in which I am working?

Thanks. *rolleyes*
Suso

19

Tuesday, December 20th 2011, 10:09pm

Hi,

the image.frame variable contains the current frame number,

and to switch to another frame just modify it,
e.g. by:

Source code

1
inc(image.frame,1,get(image.frames),1);


best regards,
Klaus

20

Wednesday, December 21st 2011, 4:46pm

Thanks your help,

best regards,
Suso