3D object support

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
2 года назад
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 года назад
do you want to load 3d object using three.js https://threejs.org/
from .obj octet-stream?
2 года назад
(please don't create a new topic; just 'bump' your prior one :)
2 года назад
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 года назад
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 года назад
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 года назад
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 года назад
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 года назад
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.