jdan / isomer

Simple isometric graphics library for HTML5 canvas
http://jdan.github.io/isomer
MIT License
2.87k stars 139 forks source link

Isometric shadows #45

Open jbovenschen opened 10 years ago

jbovenschen commented 10 years ago

It will be nice to have shadows like on the image below screenshot from http://eysventura.wordpress.com/2013/01/16/isometric-shadows/

jdan commented 10 years ago

Oh wow I love it, great idea. We would need to keep track (and order) all of the shapes, so I guess this depends heavily on #9.

derhuerst commented 10 years ago

+1

ooflorent commented 10 years ago

WOOHOO

jpsullivan commented 9 years ago

Aww yiss

NetOpWibby commented 9 years ago

Haha, sweet gifs guys!

jdan commented 9 years ago

Sneak peek!

image

NetOpWibby commented 9 years ago

Nice

FranDias commented 9 years ago

jpsullivan commented 9 years ago

Looks incredible dude. Seriously can't wait to mess with this.

jbovenschen commented 9 years ago

What is the progress on this issue so far?

rubytastic commented 9 years ago

+1

jdan commented 9 years ago

Hi @jbovenschen, I've rewritten isomer to use Three.js (see the threejs branch), and I'm still in the process of making the API backwards compatible and adding a few more features.

Things like shadows and animation will come easy with Three.js, but unfortunately the library becomes very large (when bundled with it, of course).

But anyway, it's coming soon.

jbovenschen commented 9 years ago

Great! I've seen it some months ago. I can help if you like?

Maybe it is better to not bundle it with three.js? And just say three.js is a requirement?

jjshammas commented 9 years ago

Any progress on this? Hope it's still coming. Would be happy to contrib if I can.

jdan commented 9 years ago

@jbovenschen @jjshammas I think the next actionable is for me to open a new issue with a "1.0" release checklist. Then I'll probably direct folks to the 1.0-release branch (doesn't exist yet) for contributions :) Promise I will do that soon! Watch the repo so you get notified about it.

whoeverest commented 9 years ago

What's the plan regarding Three.js integration? Will bundling it be an option, or will it be integrated by default?

I really like how minimal your library is and I plan to use it for a game where resources limited (OLPC learning game, basically) so I wonder what's the direction this project is heading.

Thanks!

jdan commented 9 years ago

Hey @whoeverest,

Thanks for explicitly calling this out. My plan (which I'll be making a more formal announcement about) is to allow users to pass in a Three.js instance, which would then give them access to more features. For use-cases such as yours (or anyone who doesn't want to include such a big library), they'll still have access to the Isomer API as-is.

Any thoughts on that?

NetOpWibby commented 9 years ago

That sounds good to me @whoeverest @jdan.

whoeverest commented 9 years ago

Yep, awesome. :-) @NetOperatorWibby @jdan

cryptoquick commented 9 years ago

I'm looking forward to this! Super exciting idea, @jdan . I've had some involvement in the voxel.js project, and they're moving towards stackgl. Since there's so much community momentum behind stackgl, perhaps that'd be a better engine to target. They have the backing of Mikola Lysenko, which is a huge graphics heavy-hitter, and they're tightly integrated with browserify. Because it's more modular and they place a greater emphasis on writing from the bottom-up, it should be lighter in weight, too.

jdan commented 9 years ago

@cryptoquick ah! I would totally be up for including a library if it were small and quick

glrodasz commented 8 years ago

There is any updates on this?

jdan commented 8 years ago

@Garethderioth Sadly, no. I have not been working on isomer for quite some time. There is a threejs branch that contains the updated library to do this, but I never got close to shipping anything.