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

Initial untested spherical harmonics implementation. #6405

Closed
wants to merge 10 commits into from

Conversation

bhouston
Copy link
Contributor

I've made this PR at @WestLangley's request.

This is an initial implementation of SphericalHarmonics, both the JS class and a shader. I haven't tested it, but I think that this implementation form is pretty close to what we want as it is based on the general standards.

Thus this PR is for others to build upon.

@bhouston
Copy link
Contributor Author

Adding this for future reference: How to calculate SH from a cube texture - http://www.sunandblackcat.com/tipFullView.php?l=eng&topicid=32

@bhouston bhouston force-pushed the sphericalHarmonics branch from d0a9ed9 to ab8acdc Compare April 15, 2015 16:56
@threejsworker
Copy link

The examples of this pullrequest are now built and visible in threejsworker. To view them, go to the following link:

http://threejsworker.com/viewpullrequest.html#6405

@mattdesl
Copy link
Contributor

I just stumbled on this repository which may also be useful for reference.
https://github.com/google/spherical-harmonics

@bhouston
Copy link
Contributor Author

@mattdesl very nice. I wonder what Google is using it for?

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

Successfully merging this pull request may close these issues.

3 participants