-
Notifications
You must be signed in to change notification settings - Fork 31
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
Genesys Dice #48
Comments
@frankieali I also am keen to try this out. Is there any way I can contribute? |
@frankieali I've started work on this - I've got some 3D models of the dice that I've tweaked and I'm working on playing with Babylon exporter to create the textures similar to the way you've done so. |
Quick update: @frankieali I'm looking at changing some of the parsing code in dice-box to remove the implicit assumption all dice are I think on the code side I can add the support. With the 3D models I'm hitting the boundaries of my knowledge when it comes to mapping the die faces to the results. I'd appreciate some advice on how to proceed there. |
Hey @arranf. Yes, I think you're right about the |
RE the Genesys dice theme. I'd love to work with you on changing the parsing logic and remapping. I haven't had a chance to look at that yet. Quick question: does the vite build take a long time for you for the dice-box repo? I think it's transpiling all of Babylon each time for me and it takes up to 5 minutes on a 2015 XPS with an i7. Haven't run into this before. |
So when I'm developing code, I switch the dice-box repo to use the source code directly and skip the compiling step. Here's what I do.
I change these entries when developing to
This changes the entry point for the module to the source files. Then I will create an npm link. From my The code in the main.js file of my DiceAppTest is simply:
Then I run Let me know if you have any questions on this. I'd could even upload my DiceAppTest project if you think it would help. |
Once I've hit a code release point, I switch the package.json back, run a build, test it and push out the updates. |
@frankieali Thanks this is super helpful. I was doing the I put up a PR for the unoptimized Genesys theme but I'm just trying to figure out the face index mapping. Then I'll get started on a module that remaps the results. |
No worries! Thanks for responding! Will do this now :) |
An initial PR is up for the Genesys dice theme: 3d-dice/dice-themes#1 The next steps as I understand are:
|
Any updates? |
Released at @3d-dice/dice-themes/themes/genesys. Picker and Results addon available at @3d-dice/dice-ui. Demo available under "Genesys Picker" tab. |
The team at Quest Portal have requested support for the Genesys game dice. They even sent over 3D models and vector images.
I've already started working on implementing this feature but wanted to add it here for tracking purposes. One thing that need reworked is identifying dice not by their number of sides, but by some other unique identifier. I'm also looking into creating a small parser that can be added as a plug-in. Then '3 green dice'(
3dg
) could be written asggg
which is more commonly used on Discord rollers. I'll probably add a newdisplayResults
module over at dice ui to ensure the final results are easy to parse.The text was updated successfully, but these errors were encountered: