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

Missing Concrete Examples of Usage #49

Open
micaelparadox opened this issue May 6, 2024 · 6 comments
Open

Missing Concrete Examples of Usage #49

micaelparadox opened this issue May 6, 2024 · 6 comments

Comments

@micaelparadox
Copy link

micaelparadox commented May 6, 2024

Missing Examples, I'm trying to integrate it to my application using nodejs and express ex i would like a guide since i add your lib in my project, somehow I'm failing to load

@Miorey

image

image

@Miorey
Copy link
Owner

Miorey commented May 7, 2024

Hello @micaelparadox I try to make a video of the usage asap. Do you have a public branch of what you did ? Or can you invite me to your repo ?

@micaelparadox
Copy link
Author

micaelparadox commented May 7, 2024

https://github.com/micaelparadox/chardev-wotlk/tree/error-branch

in this commit hash my attempt to run such project so that i can display some sample.

micaelparadox/chardev-wotlk@3f33f09

there is a branch and invited you tho

@micaelparadox
Copy link
Author

micaelparadox commented May 7, 2024

image

Connection refused, haha. I managed to bypass the previous error by exporting the ZamModelViewer class, but I'm still a bit lost on how to implement the view modeling. My plan is to display models based on my items in the database, in a way that's similar to the retail armory from back in the day. So, when someone is creating a character, they would see a 3D model showing off the gear. Basically, in this dashboard, I'd like to display a basic character model to test it out.

@Miorey
Copy link
Owner

Miorey commented May 7, 2024

@micaelparadox I take a look on it tomorrow.

@Miorey
Copy link
Owner

Miorey commented May 8, 2024

Hey @micaelparadox I made a little upgrade of the lib to add a more simple usage of the demo so here are steps by steps what you have to do:

git clone https://github.com/Miorey/wow-model-viewer 
cd wow-model-viewer
git switch demo
docker-compose up
http-server ./

If you haven’t docker-compose for docker compose use this:

docker compose up

npm install --global http-server is required if not already done.

The demo works for me here: http://127.0.0.1:8080/demo.html

If the demo works to me the lib should work in your project. If it already don't I take a look to your project.

@micaelparadox
Copy link
Author

micaelparadox commented May 8, 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

2 participants