3D object support

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
2 yıl önce
Seeking some advice from someone who worked with .obj or .mtl file on the nopCommerce plugin. If there is anyone please help through my previous post. https://www.nopcommerce.com/en/boards/topic/92957/obj-file-support#291811
2 yıl önce
do you want to load 3d object using three.js https://threejs.org/
from .obj octet-stream?
2 yıl önce
(please don't create a new topic; just 'bump' your prior one :)
2 yıl önce
rk.menon wrote:
do you want to load 3d object using three.js https://threejs.org/
from .obj octet-stream?


Yes, while trying to load .obj file from the directory to threejs script, it can't load the file. But if I try with a url after uploading the .obj somewhere else, it works properly.
Faced the same issue in .Net project before and resolved by registering mime type on startup. But in the nopCommerce plugin, that trick isn't working.
2 yıl önce
New York wrote:
(please don't create a new topic; just 'bump' your prior one :)

Thanks for guiding me, I'll definitely do so next time.
2 yıl önce
jayadul wrote:
But if I try with a url after uploading the .obj somewhere else, it works properly.
Faced the same issue in .Net project before and resolved by registering mime type on startup. But in the nopCommerce plugin, that trick isn't working.

You can store your .obj file under www root from plugin and serve as url. What is the problem?
2 yıl önce
I didn't try to load the files keeping on the wwroot. I kept them on the plugin directory as generally, we keep static files inside specific plugin projects and load them from there, so that extra files don't occupy any space while uninstalling that plugin. Thanks for the advice, I'll apply your trick.
2 yıl önce
jayadul wrote:
Seeking some advice from someone who worked with .obj or .mtl file on the nopCommerce plugin. If there is anyone please help through my previous post. https://www.nopcommerce.com/en/boards/topic/92957/obj-file-support#291811


Hi jayadul,

Could you please tell me, what are the results of the implementation of this solution? I now have similar difficulties with 3D objects and would like to know your experience in solving this problem.
2 yıl önce
Uploaded files under another domain first. Later used the directory URL as it wasn't working with the local directory.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.