Aframe: Reduce `<a-sky>` default radius

Created on 31 Mar 2016  路  1Comment  路  Source: aframevr/aframe

Description: The default radius is currently 5000, which is huge (5000 meters to scale). A single sky alone creates 8K faces and 24K vertices. Maybe a better default would be 50 to 100.

  • A-Frame Version: master
help wanted (easy) perf

Most helpful comment

This is also a good opportunity to reduce the number of faces and vertices by reducing the number of height segments. The lower the number of height segments the less distortion you get on an equatorial projected image as the src attribute.

64 Height segments:
screen shot 2016-03-31 at 12 26 42 am

10 Height segments:
screen shot 2016-03-31 at 12 24 34 am

>All comments

This is also a good opportunity to reduce the number of faces and vertices by reducing the number of height segments. The lower the number of height segments the less distortion you get on an equatorial projected image as the src attribute.

64 Height segments:
screen shot 2016-03-31 at 12 26 42 am

10 Height segments:
screen shot 2016-03-31 at 12 24 34 am

Was this page helpful?
0 / 5 - 0 ratings