Stormworks: Build and Rescue

Stormworks: Build and Rescue

3d Projection Demo (Augmented Reality)
Hiển thị 1-6 trong 6 mục
Cập nhật: 20 Thg10, 2023 @ 4:49pm

Updated 3d Projection Demo (Augmented Reality).

Cập nhật: 17 Thg10, 2023 @ 3:38pm

Updated 3d Projection Demo (Augmented Reality).

Cập nhật: 9 Thg06, 2022 @ 11:22am

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

Cập nhật: 22 Thg05, 2022 @ 1:26pm

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

Cập nhật: 17 Thg04, 2022 @ 8:19am

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.

Cập nhật: 13 Thg04, 2022 @ 2:38pm

Uploaded 3d Projection Demo to the Workshop.