dolfinus / 3DAlloy

LightWeight 3D-viewer for MediaWiki
MIT License
3 stars 4 forks source link

(Stupid Question) Textures not loading? #13

Open PixelOnYourScreen opened 2 weeks ago

PixelOnYourScreen commented 2 weeks ago

Sorry if this is a stupid question,

but I cant get the textures to load with an exported obj file or anything similiar, Does the AddOn only support MESH?

Thanks

dolfinus commented 2 weeks ago

Hi. Do you have any example?

PixelOnYourScreen commented 2 weeks ago

firefox_2024-06-18_18-49-11 Noesis_2024-06-18_18-52-36

3D Model in the Wiki vs 3D Model in Noesis (same in Blender) I am just checking if that is the norm and cant be changed

thank you for the fast reply :)

dolfinus commented 2 weeks ago

Currently model texture is being overridden: https://github.com/dolfinus/3DAlloy/blob/78496c99dd92956376833f63f9e6228bb3fc4324/modules/3DAlloy.js#L121

I don't remember if textures were loaded properly at all.

PixelOnYourScreen commented 2 weeks ago

thank you, that gives me an idea where to look and to play with <3

appreciated!