CesiumGS / CesiumGS/cesium

Add heading option for a billboard

Open
#6,165 14 comments 1 reaction 0 assignees View on GitHub
category - billboards type - enhancement
Dominant language
JavaScript
Stars
15.8k
Forks
3.9k
Avg merge
4d 6h
Merged PRs (30d)
34

Description

When I have a billboard with an image that is facing north, I can tilt the camera so the image is flipped. This is not what I would've expected, and there doesn't seem to be a way to keep the billboard's direction locked. Please fix.

Expected behavior - image pointing north:
![screen shot 2018-01-26 at 12 56 30 pm](https://user-images.githubusercontent.com/35077650/35458182-a0f1bc86-0298-11e8-9186-20c3d92670cd.png)

After a slight camera tilt, it then faces more southward:
![screen shot 2018-01-26 at 12 56 51 pm](https://user-images.githubusercontent.com/35077650/35458230-c91d356e-0298-11e8-8b5e-96a783426612.png)

At a more extreme tilt, it seems to be pointing into the earth:
![screen shot 2018-01-26 at 1 01 04 pm](https://user-images.githubusercontent.com/35077650/35458316-173c726e-0299-11e8-9c9b-93720ff1e86b.png)

I've been able to get it to happen in this workspace:
https://cesiumjs.org/Cesium/Apps/Sandcastle/?src=Hello%20World.html&label=Showcases&gist=6f6710474236e3ffb99d41673e7b3632

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the billboard orientation problem in the linked Cesium Sandcastle Hello World workspace and inspect the billboard behavior under camera tilt. The work is done when a heading option can keep a north-facing image direction locked as the camera tilts, matching the expected screenshot behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.