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

Added spherical harmonics class #16187

Merged
merged 2 commits into from
Apr 11, 2019
Merged

Added spherical harmonics class #16187

merged 2 commits into from
Apr 11, 2019

Conversation

WestLangley
Copy link
Collaborator

@bhouston and I worked on this in 2015, I think. I subsequently modified it.

The code is different from other versions of this file I have seen floating around the net, but in my testing, this code appears to work as expected.

I'll add this file to the build in a follow-up PR.

@bhouston
Copy link
Contributor

bhouston commented Apr 8, 2019

Well of course I support merging this in. :)

@bhouston
Copy link
Contributor

bhouston commented Apr 8, 2019

Thanks @WestLangley

@WestLangley WestLangley added this to the r104 milestone Apr 10, 2019
@WestLangley WestLangley merged commit 27a7280 into mrdoob:dev Apr 11, 2019
@WestLangley
Copy link
Collaborator Author

Merged this for now so we can continue to press forward. :)

@mrdoob
Copy link
Owner

mrdoob commented Apr 11, 2019

Thanks @WestLangley!

@mrdoob
Copy link
Owner

mrdoob commented Apr 11, 2019

I'm sorry it takes me so long to understand all these things. I'm slowly getting there... this week I bumped into an issue where I needed renderer.outputEncoding 😅

@WestLangley
Copy link
Collaborator Author

We'll get there. :-)

@bhouston
Copy link
Contributor

BTW I found this interesting SH paper that Unity 3D references: http://www.ppsloan.org/publications/StupidSH36.pdf

@WestLangley
Copy link
Collaborator Author

Yes, that is referenced in a comment at the top of the file. :-)

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