• abbundarno

    (@abbundarno)


    Hey,

    first of all thanks for the great tool you created here.

    I am currently trying to implement one of our models (exported with our own software) but can’t understand why all objects are displayed semi-transparently (explicitly the wooden beams).
    Other online viewers show them fine as far as I can tell.

    Do I have to make some alterations to my material file?

    Also, is it possible to prevent the viewer from catching mousewheel events? It hinders the flow of the page because you have to position your cursor in the correct manner to scroll the page.

    Thank you very much in advance for your help and have a nice start to your week.

    Stay healthy

    MTL File:

    # Materialien
    newmtl Holz026
    Ka 0.200000 0.200000 0.200000
    Kd 0.500000 0.500000 0.500000
    Ks 0.200000 0.200000 0.200000
    Tf 0.0000
    d 1.0000
    Ns 1.200000
    illum 6
    map_Ka Holz026.bmp
    map_Kd Holz026.bmp
    map_Ks Holz026.bmp
    map_d Holz026.bmp

    newmtl Holz026
    Ka 0.200000 0.200000 0.200000
    Kd 0.500000 0.500000 0.500000
    Ks 0.200000 0.200000 0.200000
    Tf 0.0000
    d 1.0000
    Ns 1.200000
    illum 6
    map_Ka Holz026.bmp
    map_Kd Holz026.bmp
    map_Ks Holz026.bmp
    map_d Holz026.bmp

    newmtl standard
    Ka 0.200000 0.200000 0.200000
    Kd 0.500000 0.500000 0.500000
    Ks 0.200000 0.200000 0.200000
    Tf 0.0000
    d 1.0000
    Ns 1.200000
    illum 6
    map_Ka standard.bmp
    map_Kd standard.bmp
    map_Ks standard.bmp
    map_d standard.bmp

    newmtl standard
    Ka 0.200000 0.200000 0.200000
    Kd 0.500000 0.500000 0.500000
    Ks 0.200000 0.200000 0.200000
    Tf 0.0000
    d 1.0000
    Ns 1.200000
    illum 6
    map_Ka standard.bmp
    map_Kd standard.bmp
    map_Ks standard.bmp
    map_d standard.bmp

    newmtl 003
    Ka 0.200000 0.200000 0.200000
    Kd 0.500000 0.500000 0.500000
    Ks 0.200000 0.200000 0.200000
    Tf 0.6000
    d 0.4000
    Ns 1.200000
    illum 6
    map_Ka 003.bmp
    map_Kd 003.bmp
    map_Ks 003.bmp
    map_d 003.bmp

    newmtl 003
    Ka 0.200000 0.200000 0.200000
    Kd 0.500000 0.500000 0.500000
    Ks 0.200000 0.200000 0.200000
    Tf 0.6000
    d 0.4000
    Ns 1.200000
    illum 6
    map_Ka 003.bmp
    map_Kd 003.bmp
    map_Ks 003.bmp
    map_d 003.bmp

    newmtl Holz031r
    Ka 0.200000 0.200000 0.200000
    Kd 0.500000 0.500000 0.500000
    Ks 0.200000 0.200000 0.200000
    Tf 0.0000
    d 1.0000
    Ns 1.200000
    illum 6
    map_Ka Holz031r.bmp
    map_Kd Holz031r.bmp
    map_Ks Holz031r.bmp
    map_d Holz031r.bmp

    newmtl Holz031r
    Ka 0.200000 0.200000 0.200000
    Kd 0.500000 0.500000 0.500000
    Ks 0.200000 0.200000 0.200000
    Tf 0.0000
    d 1.0000
    Ns 1.200000
    illum 6
    map_Ka Holz031r.bmp
    map_Kd Holz031r.bmp
    map_Ks Holz031r.bmp
    map_d Holz031r.bmp

    newmtl 001
    Ka 0.200000 0.200000 0.200000
    Kd 0.500000 0.500000 0.500000
    Ks 0.200000 0.200000 0.200000
    Tf 0.6000
    d 0.4000
    Ns 1.200000
    illum 6
    map_Ka 001.bmp
    map_Kd 001.bmp
    map_Ks 001.bmp
    map_d 001.bmp

    newmtl 001
    Ka 0.200000 0.200000 0.200000
    Kd 0.500000 0.500000 0.500000
    Ks 0.200000 0.200000 0.200000
    Tf 0.6000
    d 0.4000
    Ns 1.200000
    illum 6
    map_Ka 001.bmp
    map_Kd 001.bmp
    map_Ks 001.bmp
    map_d 001.bmp

    newmtl standard
    Ka 0.200000 0.200000 0.200000
    Kd 0.500000 0.500000 0.500000
    Ks 0.200000 0.200000 0.200000
    Tf 1.0000
    d 0.0000
    Ns 1.200000
    illum 6
    map_Ka standard.bmp
    map_Kd standard.bmp
    map_Ks standard.bmp
    map_d standard.bmp

    newmtl standard_kopf
    Ka 0.200000 0.200000 0.200000
    Kd 0.500000 0.500000 0.500000
    Ks 0.200000 0.200000 0.200000
    Tf 1.0000
    d 0.0000
    Ns 1.200000
    illum 6
    map_Ka standard_kopf.bmp
    map_Kd standard_kopf.bmp
    map_Ks standard_kopf.bmp
    map_d standard_kopf.bmp

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author maui2wp

    (@maui2wp)

    @abbundarno
    would you please test your model on Blender?
    If it is displayed correctly, then you could export the model from Blender and see if your result is as you want. My plugin is based on threejs lib wich is most tested on Blender generated models.

    Thread Starter abbundarno

    (@abbundarno)

    I tried importing the model into Blender and exporting it as a new file.

    It shows fine in Blender (as it does in other Three.js based online viewers) but still has most objects semi-transparent on my page.
    Maybe I configured something wrong?

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

The topic ‘Forced Opacity and MouseWheel’ is closed to new replies.