Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author PluginsPoint

    (@kentothemes)

    Thanks for your feedback.

    This is basic plugin to display 3D model to WordPress site.

    Please keep all texture file and .obj file same folder.
    also check that you are assign texture correctly
    Please try .png or .jpg instead of .tga

    Love the plug-in. Very simple to use, yet functional. I do have a question though, can we use a .mtl file for textures?

    Thank you.

    JepGuy

    (@jepguy)

    Hi there,
    I love this plugin too and especially for its simplicity.
    I would appreciate if you could help me with the following request:
    I need to embed more than one viewer in the same page so I tried to copy the same piece of code … I have 2 canvas now but both 3d models are moving in the first one!
    I had a look at the code and I suppose it is due to the fact that there is only one same canvas reference … but I’m not an expert ??
    Would you be kind enough to help me solving that problem?
    Thanks again !!

    JepGuy

    (@jepguy)

    Hi,

    Sorry to disturb again but I found the solution …
    If it can help somebody who encounters the same problem as me …

    in the index.php file (kento_3dmv_shortcode function) I declared an extra parameter called “canvas_name” in the array and replaced all the ‘cv’ instances by “.$atts[‘canvas_name’].”

    Then the code to insert in the web page becomes:

    [kento_3dmv canvas_name=”first_canvas” width=”500″ height=”400″ source=”https://example.com/models/sample-model1.obj” ]

    [kento_3dmv canvas_name=”second_canvas” width=”500″ height=”400″ source=”https://example.com/models/sample-model2.obj” ]

    ….

    Hope this helps!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to apply textures to the obj model’ is closed to new replies.