• Resolved BrandonTW

    (@brandontw)


    I’m not experienced at all with this kind of thing but I’m attempting to display 3d models on my site. I found your plugin very nice ?? thank you, but
    I’m having trouble I can load the obj file just fine but I dont understand how I would add the textures on to it.

    I have two files an .obj and a .mtl I’m using your example shortcode any help would be appreciated.
    [3D width="600" height="400" background="436523" opacity="0.5" model="untitled.obj" texture="untitled.mtl" camera="50,50,300" model-position="2,2,2" model-scale="2,2,2" ambient="BBBBBB" directional="1,1,0:FFFF44" class="3d" style="float: right" id="coffee" fps=20]

    https://www.ads-software.com/plugins/3d-model-viewer/

Viewing 3 replies - 1 through 3 (of 3 total)
  • same problem: loading the obj but not showing texture.

    i tried as BrandonTW and as written in support file like
    Use *.objmtl if you want OBJ/MTL and name the MTL file exaclty as the OBJMTL file.

    is it meant to write like e.g. ‘name-of-file.objmtl’ in one expression??

    any help would be nice, i’m not experienced in 3D :/

    Plugin Author joergviola

    (@joergviola)

    Sorry for the confusion.
    Added a new parameter in 1.8: material
    Use it to specify your mtl file.

    Plugin Author joergviola

    (@joergviola)

    Sorry for the confusion.
    Added a new parameter in 1.8: material
    Use it to specify your mtl file.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Incorporating mtl to an obj shortcode?’ is closed to new replies.