-
Notifications
You must be signed in to change notification settings - Fork 37
feat: add 3d model viewer #164
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds a comprehensive 3D model viewer for World of Warcraft items in a WordPress WooCommerce plugin. The implementation includes a JavaScript library for rendering 3D models, integration with WooCommerce products, and backend configuration options.
- Introduces a complete WoW model viewer JavaScript library with character and item modeling capabilities
- Adds WooCommerce product configuration to enable/disable 3D viewer per product
- Integrates 3D viewer display functionality into product pages for both regular items and transmog items
Reviewed Changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| wow_model_viewer.js | Core JavaScript class extending ZamModelViewer with WoW-specific functionality |
| setup.js | Configuration and initialization for the model viewer environment |
| index.js | Main entry point providing model generation and utility functions |
| character_modeling.js | Character customization and item modeling logic |
| boot.php | Adds new WooCommerce products hook inclusion |
| TransmogItemSend.php | Integrates 3D viewer for transmog items |
| Products.php | Adds WooCommerce admin fields for 3D viewer configuration |
| ItemSend.php | Integrates 3D viewer for regular items |
| FieldElements.php | Implements 3D viewer rendering functionality |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
src/acore-wp-plugin/web/libraries/wow-model-viewer/character_modeling.js
Show resolved
Hide resolved
src/acore-wp-plugin/web/libraries/wow-model-viewer/character_modeling.js
Show resolved
Hide resolved
|
@Helias is there any option to disable this? for anyone that wishes to use a static image or face the issue of being geolock |
|
I created an issue about it #165 |
Uh oh!
There was an error while loading. Please reload this page.