calc_not_spherical_offset

  • Hello

    in the example 'cylinder-grid-hotspots.xml'

    I would like to get a mosaic with

    Code
    set(hs.distorted,false);


    calc_spherical_offset is not suitable for calculating 'ATH'. the hotspots are superimposed.


    by what to replace this line

    Code
    calc(hs.ath, (x - cnt/2) * wo + wo/2);
    
    
    calc(hs.ath, ...???... );


    by what to replace this action

    Code
    <action name="calc_spherical_offset">
      Math.atan2(a, %1, 500);
      calc(%2, a * 180.0 / Math.PI);
    </action>
    
    
    <action name="calc_not_spherical_offset">
      ...????...
    </action>


    help me please

Participate now!

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