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

Firefox fix / hack #1

Open
xem opened this Issue Nov 16, 2016 · 2 comments

Comments

Projects
None yet
2 participants
@xem

xem commented Nov 16, 2016

I spent the last 4 days to come up with a solution for Firefox (keeping 25 cubes below 100 polygons), the idea is to show only 3 faces to each cube, and give 3 more faces to the one(s) that rotate at a given moment.
It's hacky and dirty and adds a ton of code, but it kinda works. :)
FYI:
http://codepen.io/xem/pen/vyXejE
http://codepen.io/xem/pen/JbbGPR
(it's a WIP)

@crnacura crnacura self-assigned this Nov 19, 2016

@crnacura

This comment has been minimized.

Show comment
Hide comment
@crnacura

crnacura Nov 19, 2016

Member

That's a really interesting solution and although it does add lots of code, I believe that it will be very useful for many devs who are facing that problem. I'm going to link to your pens from the article if that's alright with you :) Let's leave this issue open, so that the ones seeking for a solution will find it easily.

Member

crnacura commented Nov 19, 2016

That's a really interesting solution and although it does add lots of code, I believe that it will be very useful for many devs who are facing that problem. I'm going to link to your pens from the article if that's alright with you :) Let's leave this issue open, so that the ones seeking for a solution will find it easily.

@xem

This comment has been minimized.

Show comment
Hide comment
@xem

xem Nov 19, 2016

@crnacura Sure, thanks I think I also found a way to keep all faces and still look less broken on Fx:
You need to add the cubes of each line from left to center, then from right to center (like: 1 2 3 4 7 6 5)
By doing so, you'll force a little the Z-ordering on Fx even if you have more than 100 polygons (like in your demo).
Cheers!

xem commented Nov 19, 2016

@crnacura Sure, thanks I think I also found a way to keep all faces and still look less broken on Fx:
You need to add the cubes of each line from left to center, then from right to center (like: 1 2 3 4 7 6 5)
By doing so, you'll force a little the Z-ordering on Fx even if you have more than 100 polygons (like in your demo).
Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment