Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter JensJensen2

    (@jensjensen2)

    Thanks,

    the support for this Plug-In is awesome !

    Jens

    Hey Ronald ,

    looks great yeah, ill check this one out as well.
    Thanks a lot for this tip , hope u have some fun with your site ??

    Nice to hear that i could help.

    Yep, responsive would be awesome ??
    Also a transparent background would be hot. Ill keep the search going and test some stuff out the next days.

    This 2 “little” things would be really one step ahead.
    Maybe we can figure it out the next couple days ??

    Yes you can.

    You have to go to :

    Plugins –> Kento3D –> Editor

    You will find some Javascript right here.
    Almost 50% down in this file you should find this part :

    <script type=’text/javascript’>
    var canvas = document.getElementById(‘cv’);
    var viewer = new JSC3D.Viewer(canvas);
    viewer.setParameter(‘SceneUrl’, ‘”.$atts[‘source’].”‘);
    viewer.setParameter(‘InitRotationX’, -15);
    viewer.setParameter(‘InitRotationY’, 135);
    viewer.setParameter(‘InitRotationZ’, 0);
    viewer.setParameter(‘ModelColor’, ‘#57524C’);
    viewer.setParameter(‘BackgroundColor1’, ‘#383840’);
    viewer.setParameter(‘BackgroundColor2’, ‘#000000’);
    viewer.setParameter(‘RenderMode’, ‘texturesmooth’);
    viewer.setParameter(‘MipMapping’, ‘on’);
    viewer.init();
    viewer.update();
    </script>”;

    You aim for this 2 parameters
    viewer.setParameter(‘BackgroundColor1’, ‘#383840’); GREY
    viewer.setParameter(‘BackgroundColor2’, ‘#000000’); BLACK

    Just change the value of the parameters as you want.
    In your example you want this 2 values here
    viewer.setParameter(‘BackgroundColor1’, ‘#383840’); GREY
    viewer.setParameter(‘BackgroundColor2’, ‘#ffffff’); WHITE

    To be sure save the parts you change for a backup or whatever.

    Hope i could help you.

Viewing 4 replies - 1 through 4 (of 4 total)