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

fix: optimise augmented reality #883

Merged
merged 1 commit into from
Aug 3, 2023

Conversation

ardasnturk
Copy link
Member

@ardasnturk ardasnturk commented Aug 2, 2023

  • added totalMemory value to device.js to see the RAM information of the device and used totalMemory in expo-device package
  • added GB_TO_BYTES section to consts.js because the totalMemory property gives us RAM in bytes and therefore we need to know gb in bytes
  • removed spot and quad (shadow) to optimise AR for devices with less than 2 gb of RAM

SVA-1073

iPhone 7 (shadowless and spotless) iPhone 13 Pro Max (shaded and spotlighted)
AugmentedReality_1690986499031 AugmentedReality_1690986693770

@ardasnturk ardasnturk added bug Something isn't working ar SVA-561 labels Aug 2, 2023
@ardasnturk ardasnturk added this to the 3.2.5 milestone Aug 2, 2023
@ardasnturk ardasnturk self-assigned this Aug 2, 2023
@ardasnturk ardasnturk force-pushed the fix/SVA-1073-optimise-augmented-reality branch from 71b3f00 to c29fee6 Compare August 3, 2023 08:57
- added `totalMemory` value to `device.js` to see the `RAM` information of the device and
  used `totalMemory` in `expo-device` package
- added `GB_TO_BYTES` section to `consts.js` because the `totalMemory` property gives us RAM
  in bytes and therefore we need to know gb in bytes
- removed `spot` and `quad` (shadow) to optimise AR for devices with less than 2 gb of RAM

SVA-1073
@ardasnturk ardasnturk force-pushed the fix/SVA-1073-optimise-augmented-reality branch from c29fee6 to a345a69 Compare August 3, 2023 09:04
@ardasnturk ardasnturk merged commit e885cb7 into master Aug 3, 2023
1 check passed
@ardasnturk ardasnturk deleted the fix/SVA-1073-optimise-augmented-reality branch August 3, 2023 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ar SVA-561 bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants