THUMBNAILS ON MAKE VTOUR (MULTI-RES) DROPLET

  • Hi is there anyway to make the thumbnails display in "Grid" mode by default?
    I'm using the Make VTOUR (Multi-res) Droplet, it provides a collection of thumbnails at the bottom left of the pano but you need to click it first to expand into GRID mode. I want it to load automatically in GRID mode. Please can anybody help.
    Thanks!

  • Hi,

    look into the 'buildthumbs' action - there you see these lines:

    Code
    set(plugin[get(thumbname)].width,  40);
    set(plugin[get(thumbname)].height, 40);
    mul(plugin[get(thumbname)].x, i,3);
    mul(plugin[get(thumbname)].y, i,3);
    add(plugin[get(thumbname)].x, 5);
    add(plugin[get(thumbname)].y, 5);

    these lines are setting the startup size and position of the thumbs:

    i = the index of the thumb (0-n)

    the position will be calculated that way (by default):
    x = i*3 + 5
    y = i*3 + 5

    change that maybe to:
    x = 5
    y = i*45 + 5

    as code:

    Code
    set(plugin[get(thumbname)].x, 5);
    
    
    mul(plugin[get(thumbname)].y, i, 45);
    add(plugin[get(thumbname)].y, 5);

    then all thumbs will be aligned in a column form,

    and finally change the onclick event of the thumbs to directly load the scene instead of changing the thumb positions,

    change that line:

    Code
    set(plugin[get(thumbname)].onclick, openthumbs() );


    to

    Code
    set(plugin[get(thumbname)].onclick, loadscene(get(linkedscene),null,MERGE,BLEND(1)); );

    Best regards,
    Klaus

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!