-
Notifications
You must be signed in to change notification settings - Fork 33
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
Replace custom anisotropy component with built-in A-Frame feature #332
Conversation
✅ Deploy Preview for 3dstreet-core-builds ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
GitHub actions yielded the following error. The command that failed is
There are a lot of errors. This is likely due to a small parsing issue or a missing import with the files changed in the PR. This is likely a linting or type-checking issue with the source code. Update the code changed by the PR. Don't modify the existing tests. |
Hi @sweep-ai[bot], I decided to make the following changes:
|
GitHub actions yielded the following error. The command that failed is
There are a lot of errors. This is likely due to a small parsing issue or a missing import with the files changed in the PR. This is likely a linting or type-checking issue with the source code. Update the code changed by the PR. Don't modify the existing tests. |
Hi @sweep-ai[bot], I decided to make the following changes:
|
Description
This PR replaces the custom anisotropy component in the 3DStreet project with the built-in anisotropy feature of A-Frame. The custom anisotropy component is no longer needed as A-Frame now supports anisotropy natively. The changes include modifying the
index.html
file to set the anisotropy at the renderer level, removing theanisotropy.js
file from the codebase, and removing any areas where anisotropy was applied in theassets.js
file.Summary of Changes
index.html
file to add theanisotropy
attribute to therenderer
component in thea-scene
element, setting its value to 16.anisotropy.js
file from thesrc/components/
directory.assets.js
file to remove any instances where theanisotropy
component was used.Please note that this PR is currently blocked and waiting for the next stable release of A-Frame (version 1.5) which includes the necessary changes for the anisotropy feature. Once the new version is released, this PR can be reviewed and merged.
Fixes #315.
To checkout this PR branch, run the following command in your terminal:
🎉 Latest improvements to Sweep:
💡 To get Sweep to edit this pull request, you can: