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

Adding support for textures #105

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

sunnygoyal
Copy link

Adding texture support for flat surfaces (rects, boxes, front/back face of cylinder...)
Textures can be images or linear/radial gradients

#38

@webocs
Copy link

webocs commented Dec 13, 2020

This is interesting, I like it.. I'm not sure if anybody is merging PRs anymore tho..

Here's there rendered version of the demo if anybody wants to have a quick peek

https://htmlpreview.github.io/?https://github.com/metafizzy/zdog/blob/0a91d78df8b5653d2c5d36793b22b7bc10c7f7f0/demos/textures/index.html

@sunnygoyal
Copy link
Author

Opps, forgot to host the repo.
Demo link: http://sunnygoyal.com/zdog/demos/textures/ in case the above link is not working

@turbo
Copy link

turbo commented Dec 19, 2020

Woooh, awesome. Thanks for implementing this :)

@desandro
Copy link
Member

Excellent work! Thanks so much for this work here. I'll be evaluating this when I revisit Zdog in the future.

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

Successfully merging this pull request may close these issues.

None yet

4 participants