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

Relativity 2D #66

Merged
merged 16 commits into from
Jan 30, 2022
Merged

Relativity 2D #66

merged 16 commits into from
Jan 30, 2022

Conversation

WrathfulSpatula
Copy link
Member

Coopting the PhysX 2D components is more difficult than 3D, particularly due to the unreliability of velocity-setting-based updates, but we can compromise with a "soft constraint" on 3D physics object to stay in their initial X-Y plane. This gives us "2.5D" type depth, anyway, and its sufficient for my personal game development purposes.

@WrathfulSpatula WrathfulSpatula merged commit aeb1925 into master Jan 30, 2022
@WrathfulSpatula WrathfulSpatula deleted the relativity_2d branch January 30, 2022 20:53
WrathfulSpatula added a commit that referenced this pull request Mar 10, 2023
* Update Qrack plugin

* Qrack plugin update (pyqrack compatible!)

* Fix Linux x86_64 shared library

* Update Qrack plugin

* Update Qrack plugin (PyQrack v0.3.3 update, including backwards)

* Update Qrack plugin (PyQrack v0.4.0 compatible)

* Update Qrack plugin (PyQrack v0.4.1)

* Automatic support for 0 OpenCL device systems

* Qrack plugin update (PyQrack v0.4.4)

* Qrack plugin update (PyQrack v0.7.2 binaries)

* Fix Linux ARM64 meta

* Qrack binary update (PyQrack v0.7.4)

* Update binaries (PyQrack v0.7.5)

* Qrack v7 API

* Fix monopole scene

* Qrack update (PyQrack v0.7.11)

* Qrack update (PyQrack v0.7.12)

* Qrack binary update (PyQrack v0.7.13)

* Add MAll() to Qrack API (plugin version bump)

* Update Qrack plugin (PyQrack v0.8.1)

* PyQrack v0.8.2 binaries (reduced thread usage)

* Qrack update (PyQrack v0.8.3)

* Refactor FLT_EPSILON (and fix AddForce())

* 5 velocity solver iterations

* Division by 0 fixes

* Prob. expectation from 0-1 maps 0-180 degrees

* Qrack update (PyQrack v0.8.4)

* Update Qrack plugin (PyQrack v0.8.5)

* Official, final Qrack v7 API update

* Qrack plugin update (PyQrack v0.8.8)

* Qrack update (PyQrack v0.9.1)

* Qrack plugin update (PyQrack v0.9.2)

* Charged black hole interior

* Smooth comovement

* Smooth player comovement

* Diff review

* Fix chargeRadius

* Kerr-Newman interior

* Fix charged black hole scene parameters

* Kerr-Newman scene parameters

* Disable RigidMesh

* Typo in README

* Qrack update (PyQrack v0.10.0)

* Editor 2020 LTS

* AdjS in teleport

* Fix AdjS/AdjT spelling

* 360 TripletOxygen

* Fix QuantumSystem

* Prob3Axis()

* TripletOxygen Prob3Axis()

* Local Bloch sphere teleport

* Scale qubit "r"

* Fix Prob3Axis()

* Fix quantum test scale

* Fix teleport

* Update Rindler features scene

* ResetAll()

* Fix mapping

* MACPowH

* Refactor MapQubits()

* Temporarily disable stabilizer hybrid

* Debug QuantumManager

* Add Measure()/MeasureShots() to QuantumManager

* Wrap Measure()/MeasureShots()

* Add GetError()

* Catch Qrack exceptions

* Update x64 Windows plugin

* Disable BDT (non-optimal)

* Stabilizer hybrid works, except on Windows

* USE_SYSTEM_QRACK_INSTALL

* Linux macro

* Controller support

* Default invert w/ or w/o controller

* Higher player acceleration

* Qrack Mac system install support

* Relativity 2D (#66)

* Start setting up 2D scene

* Include 2D physics module

* Progress toward 2D paddles

* Updating RelativisticObject for 2D

* Rigidbody2D physics types

* Fixing isNonrelativisticShader

* myColliders2D

* Cleanup after physics if Update() missed

* 2D physics

* Setter safety

* UpdateRigidbidyVelocity() safety/optimization

* 2.5D compromise

* Remove physics2d package

* Remove physics2D package

* Remove physics2d package

* Debug

* Fix Rindler scene params

* Clamp 2D collision

* Rigidbody constraints work better without isPhysics2D mode

* Fix Rindler scene

* Better soft Z clamp

* Minor refactor in shaders

* Always require ConformalMap

* ConformalMap instance always exists

* QuantumSystem API

* Fix quantum relativistic local time

* Fix peculiarVelocity setter

* Update Qrack (PyQrack v0.10.1) and Unity LTS version

* Update Qrack meta

* Use peculiarVelocity setter

* Remove duplicate shader param slider

* Refactor MovementScripts -> PlayerController

* Refactor redundant conditionals

* Fix piw update w/o Rigidbody

* Update Qrack (PyQrack v0.10.2)

* Fix Rindler Features scene

* Default QuantumSystem to 1qb

* Fix static colliders in Rindler

* Fix BoxColliders

* Sphere/Box/CapsuleCollider

* MeshCollider: RecalculateTangents()

* No playermesh tag

* PlayerRigidbody

* Fix player perspective rotation/acceleration

* Update Qrack (PyQrack v0.10.3)

* Update Qrack (PyQrack v0.10.4)

* Qrack update (PyQrack v0.10.6)

* Update Qrack (PyQrack v0.10.7)

* Update Qrack plugin (PyQrack v0.10.8)

* Update Qrack (PyQrack v0.10.9)

* Update Qrack (PyQrack v0.10.15) and Unity Editor

* Update Qrack plugin (PyQrack v0.11.0)

* Update Qrack (PyQrack v0.11.1) and Unity Editor version

* Update Qrack plugin (PyQrack v0.11.2)

* Update Qrack plugin (PyQrack v0.11.4)

* Update Qrack plugin (PyQrack v0.12.0)

* New gates (PyQrack v0.13.0)

* Qrack update (PyQrack v0.16.2, including up to 2^12 qubits for stabilizer and Schmidt decomposition)

* Update Qrack binaries (PyQrack v0.17.5)

* Qrack plugin update (PyQrack v0.18.1)

* Update Qrack binaries (PyQrack v0.18.7)

* Reorient GOs before teleport display

* Update Qrack binaries (PyQrack v0.18.9)

* Update meta, for Qrack plugin OS/CPU mapping

* Revert "Update meta, for Qrack plugin OS/CPU mapping"

This reverts commit fee0429.

* Fix Mac x86_64 meta

* Fixing Qrack plugin meta

* Fix PInvoke, uint -> ulong

* Fix Prob3Axis()

* Update Qrack plugin (PyQrack v0.19.2)

* Import to most recent 2021 LTS

* Update Qrack plugin (PyQrack v0.19.3)

* Update Qrack (PyQrack v0.19.4)

* Update Qrack (PyQrack v0.19.5)

* Update Qrack (PyQrack v0.19.6)

* Update Qrack (PyQrack v0.20.0)

* Update Qrack (PyQrack v0.20.1)

* Update Qrack (PyQrack v0.20.2)

* Update Qrack (PyQrack v0.20.4)

* Update Qrack (PyQrack v0.20.5)

* Update Qrack (PyQrack v0.21.0)

* Update Qrack (PyQrack v0.21.1)

* Update Qrack (PyQrack v0.21.2)

* Update Qrack (PyQrack v0.21.3)

* Update Qrack (PyQrack v0.21.4)

* Fix black hole scenes

* Fix player controller jitter, and restore physics settings

* Fix standard shader meta pass

* Fix emission UV in shader

* Fix player controller resting conditions

* Refactor SRelativityUtil

* Clean up ConformalMap sub-classes

* Fix player controller jitter

* Simplify player controller bounce threshold

* Higher physics solver iterations settings

* Don't check DeltaTimePlayer for isNaN

* Construct Matrix4x4 with SetColumn()

* Don't round-trip square/square-root

* Style: Always use implicit float up-cast, where correct

* Style: Always use implicit float up-cast, where correct

* Style: Always use implicit float up-cast, where correct

* Improved patch friction setting

* Use double in Lorentz transform where supported and appropriate

* Use double in Lorentz transform where supported and appropriate

* Revert: double diff is in 9th or 10th decimal place (where float has about 7 digits)

* Simplify physics parameter calculations

* Cut unused methods in SRelativityUtil

* Don't need IsNaNorInf()

* Don't need IsNaNorInf()

* Fix bounciness, (applied to rapidities)

* Aim for improved deterministic accuracy

* Aiming for plausible hyper-relativity

* Light map rebake (might be idempotent)

* Overload SRelativityUtil, rather than default parameters

* Use high-accuracy friction type

* Friction type makes a big difference to stability

* Thinking about friction

* Thinking about friction

* Simplify and correct SRelativityUtil overloads

* Remove unused RelativisticObject overloads

* Tweak rindlerFeatures scene

* Refactor for style

* Move charged_skybox scene to correct folder

* Fix Vector3 extension method signatures

* Fix 'aiw' in signatures of extension methods

* Planck unit FP-denorm. safety

* Update Qrack (PyQrack v0.21.5)

* Fix inverse square attentuation

* Fix relativity parameters for baked light maps

* Fix Contractor leak

* Init global shader params for bake

* Light map bake example in rindlerFeatures

* Bake real_constants scene

* IBMQ Yorktown demo scene (just 1qb gates)

* Add Yorktown couplers

* Add Yorktown couplers

* Reorganize Yorktown GameObject hierarchy

* Reorganize Yorktown GameObject hierarchy

* Upgrade Qrack (PyQrack v0.21.6)

* Fix undershoot for Yorktown 1qb gates

* Fix undershoot for Yorktown 2qb gates

* Update Qrack (PyQrack v0.21.7)

* Update Qrack (PyQrack v0.21.8)

* Change Doppler shift (see comments)

* README note about baked lighting

* README note about baked lighting

* README note about baked lighting

* README note about baked lighting

* README note about baked lighting

* README note and fix sharedMaterial splitting

* Update Qrack (PyQrack v0.21.9)

* Bump Qrack (PyQrack v0.21.10)

* Update Qrack (PyQrack v0.21.11)

* Update Qrack (PyQrack v0.21.12, Qrack v8 API)

* Update Qrack (PyQrack v0.21.13)

* Skip null sharedMaterial references

* Cut empty asset folder

* Update Qrack (PyQrack v0.21.15)

* Update Qrack (PyQrack v0.21.16)

* Update Qrack (PyQrack v0.21.17)

* Update Qrack (PyQrack v0.21.19)

* Upgrade Unity Editor version

* Add Hawking radiation term to black holes

* No Planck-scale correction for Hawking radiation

* Fix editor errors

* Update Qrack binaries (PyQrack v1.0.0) 🎉

* Update Qrack (PyQrack v1.0.1)

* Update Qrack (PyQrack v1.0.2)

* Upgrade Qrack (PyQrack v1.0.3)

* Update Qrack (PyQrack v1.0.5)

* Update Qrack (PyQrack v1.0.6)

* Update Qrack plugin (PyQrack v1.1.1)

* Update Qrack plugin (PyQrack v1.2.0)

* Update Qrack plugin (PyQrack v1.2.1)

* Update Qrack (PyQrack v1.3.0, same as Qrack v8.1.0)

* Update to (C++) Qrack v8.2.0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant