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

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

    I change code:

    Code
    <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?

  • 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:

    Code
    <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

  • Hi,

    Quote

    "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:
    https://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.

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

    best regards,
    Klaus

  • 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?

    Code
    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.

  • 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

  • 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:

    Code
    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

  • 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

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!