Stormworks: Build and Rescue

Stormworks: Build and Rescue

3d Projection Demo (Augmented Reality)
6개 중 1~6개 표시 중
업데이트: 2023년 10월 20일 오후 4시 49분

Updated 3d Projection Demo (Augmented Reality).

업데이트: 2023년 10월 17일 오후 3시 38분

Updated 3d Projection Demo (Augmented Reality).

업데이트: 2022년 6월 9일 오전 11시 22분

Updated 3d Projection Demo (Augmented Reality).
Updated pastebin

Improved head offset accuracy by a lot and some other small changes.
The data for analysing head pos: https://www.geogebra.org/classic/uaphpn2k

업데이트: 2022년 5월 22일 오후 1시 26분

Wasn't aware that the camera zoom changed, which I use to get higher pixel density, but that's fixed now.

Older Code: https://lua.flaffipony.rocks/?id=f9DXpxqapP

업데이트: 2022년 4월 17일 오전 8시 19분

Updated 3d Projection Demo.

Changed the code for roll to:
math.atan(math.sin(tiltSensor.left * tau), math.sin(tiltSensor.up * tau))

Instead of:
math.asin(math.sin(tiltSensor.left*tau)/math.sin((.25-tiltSensor.forward)*tau)
if tiltSensor.up < 0 then ang.y = math.pi-ang.y end


Yields the same accurate output, but the former is a lot nicer.

업데이트: 2022년 4월 13일 오후 2시 38분

Uploaded 3d Projection Demo to the Workshop.