JensJensen2
Forum Replies Created
-
Forum: Plugins
In reply to: [3D Model Viewer] Start Problem .dae / .objThanks,
the support for this Plug-In is awesome !
Jens
Forum: Plugins
In reply to: [Kento 3D Model Viewer] background colorHey 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 ??Forum: Plugins
In reply to: [Kento 3D Model Viewer] background colorNice 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 ??Forum: Plugins
In reply to: [Kento 3D Model Viewer] background colorYes 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’); BLACKJust 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’); WHITETo be sure save the parts you change for a backup or whatever.
Hope i could help you.