Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Stupid Question) Textures not loading? #13

Open
PixelOnYourScreen opened this issue Jun 18, 2024 · 8 comments
Open

(Stupid Question) Textures not loading? #13

PixelOnYourScreen opened this issue Jun 18, 2024 · 8 comments

Comments

@PixelOnYourScreen
Copy link

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
Copy link
Owner

Hi. Do you have any example?

@PixelOnYourScreen
Copy link
Author

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
Copy link
Owner

Currently model texture is being overridden:

child.material = create_material(params.color, params.opacity);

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

@PixelOnYourScreen
Copy link
Author

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

appreciated!

@Hakaminah
Copy link

Do you mind saying what wiki you work on? I'm super new to all of this and would like to see a working example. It'd be fine even if you didn't get textures working, since I'm currently stuck on getting the 3d mesh to work (extension is working since I could check that with the cube, so it's not its fault).

@PixelOnYourScreen
Copy link
Author

PixelOnYourScreen commented Sep 5, 2024

Hey there,
Thank you for reaching out <3

I am supporting Kidori on the SWGOH.WIKI
(a Star Wars Mobile Game)

I havent touched this project as of late, but it is on my long list in the future.
One of em being that our current Server not supporting the Plugin,
but the MediWiki on my local NAS (where I run most of the pages in advance) works fine.
As such the link below will not show you any models for now :(
https://swgoh.wiki/wiki/User:Sheev_Palpatine/obj_dummy

I also tested it with a Free 3D Model from https://free3d.com/3d-model/decorative-statue-96189.html
but it seems to be displaying the model in 1 color; not with textures from the file.
Again the models in itself work fine in any modelviewer with textures,
but even on my Local NAS its not with textures. Any ideas? ^^

Edit:
Even the PluginPage only shows the Model in 1 Color ; so im not sure if it is even possible to display the models with textures, thus the reaching out in the first place
https://www.mediawiki.org/wiki/Extension:3DAlloy

@Godot-Fye
Copy link

Same here, it would be nice it he the model could show textures on it.

@PixelOnYourScreen
Copy link
Author

PixelOnYourScreen commented Dec 16, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants