Commit Graph

9 Commits (aaaa4d097a9a627b22bf3403a68fea6003b51a4b)

Author SHA1 Message Date
Bill Currie 7a29651f67 Pre-rotate the anchor transform
This is the launch clamp side of the fix for the EL-ReStock launch clamp
compatibility issue. The issue was reported in the EL thread and started
out as issues with getting the build cost but after fixing that, had
issues with the clamps extending properly when built at a survey site.
The bulk of the fix for that is (or will be) in EL, but this change is
for handling rotated clamps: it points the tower in the correct (editor)
direction prior to the tower being extended.
4 years ago
Andrew Cassidy fd68fe9b10
Cache generated girder meshes for later use
Should help with vessels that have large numbers of launch clamps
4 years ago
Andrew Cassidy 6153434179
Always use fallback launch clamp implementation in flight
Instanced rendering doesnt work with lighting correctly in Unity, so we cant use it in the flight scene.
4 years ago
Andrew Cassidy 2c16fab42e
Add launch clamp fallback for older versions of OpenGL
Add a fallback method for the launch clamp module that does not require GPU instancing, for users with older computers. This method is currently very slow when calculating several launch clamps in a single frame in the editor, but fine in the flight scene
4 years ago
Andrew Cassidy 75b05e96fe
Fix launch clamp instancing in flight scene
Closes #693
5 years ago
Andrew Cassidy 7ab6df3bd4
Update launch clamp module
• Use instancing instead of editing the mesh to extend the launch clamp girder
• Calculate length from local position when in editor to avoid slight delay
5 years ago
Andrew Cassidy 1d0042de8a
Remove debug messages from module 5 years ago
Andrew Cassidy 922dd5e282
Get launch clamp code working 5 years ago
Andrew Cassidy 3e13dab645
Launchclamp module works but hangs unexpectedly due to it growing too large 5 years ago