Commit Graph

924 Commits

Author SHA1 Message Date
Malin E 184a8b59ac Fix hole cutting or side by side stereo
* And disable face culling for Orion model that is a one sided plane
2023-03-08 11:49:55 +01:00
Malin E a3b5300684 Update model shader example shaders 2023-03-08 10:24:26 +01:00
Malin E 98836e5393 Fix manual depth test hole cutting 2023-03-03 08:44:13 +01:00
Malin E fedbf9a31e Remove unused textures 2023-03-02 15:31:10 +01:00
Malin E 896ca0f108 Make debug texture prettier 2023-03-01 17:33:26 +01:00
Malin E 5a6ac848f9 Make possible to disable manual depth test in opacity mode 2023-03-01 17:31:48 +01:00
Malin E 06db9b3ce9 Add model scale and debug invisible feature to model projection 2023-02-23 11:05:44 +01:00
Malin E bae8bbef3a Clean up some shader code 2023-02-22 14:50:55 +01:00
Malin E f6eac4f0c7 Take back manual depth test for the two pass model rendering 2023-02-21 18:08:38 +01:00
Malin E a877324c95 Make sure model rendering works with an odd number of atmospheres 2023-02-21 11:46:16 +01:00
Malin E 7484502db9 Fix model "shadow" bug 2023-02-21 11:29:51 +01:00
Malin E 05252b8258 Merge branch 'master' into feature/model-opacity
* Solve conflict in iss.asset
2023-02-16 12:07:12 +01:00
Emma Broman 9d53b1f62d Add option to specify an offset distance for RenderableNodeLine (#2483) 2023-02-14 13:07:05 +01:00
Malin E 7d2f781603 Only render with a two pass solution if the model is not opague 2023-02-08 14:14:59 +01:00
Alexander Bock 79ad5776cc CMake cleanup (#2489)
* CMake Cleanup
* Warning suppression with CEF
* Use SGCT tinyxml in skybrowser for now
* Disable warnings about missing field initializers
2023-02-05 23:24:12 +01:00
Malin E 14edda9e61 Remove problematic manual depth test code 2023-02-01 16:25:19 +01:00
Malin E 00e80139a2 Solve one more conflict 2023-02-01 16:07:42 +01:00
Malin E 4d9983a867 Solve 1 more conflict 2023-02-01 14:57:31 +01:00
Malin E f490fccee6 Merge branch 'master' into feature/model-opacity
* Solve conflicts in ghoul, renderablemodel.cpp and iss.asset
2023-02-01 14:52:33 +01:00
Alexander Bock 2fcf4617c9 Correctly swizzle the textures for ScreenSpaceImage types to allow for 8 bit grayscale images (closes #2330) 2023-01-27 21:29:12 +01:00
Alexander Bock eba9d000e6 Don't render RenderableTrailTrajectory if the time is _exactly_ the start time (closes #2314) 2023-01-27 21:02:27 +01:00
Alexander Bock d52c5dd0d9 Cleanup code with designated initializer lists 2023-01-22 23:01:32 +01:00
Alexander Bock ac228c9c87 Add a new dashboard item that shows the state of input devices (closes #2415) 2023-01-21 18:29:17 +01:00
Alexander Bock a2a1554c9a Small cleanup of property documentation 2023-01-09 00:11:58 +01:00
Alexander Bock 4f4764209f Happy new year 2023-01-02 11:19:33 +01:00
Malin E 560c58e499 Add manual depth test between models 2022-12-07 14:19:12 +01:00
Malin E ee35aee5bb Remove PointsAndLines blend mode for models
* Duplicate of deafult blend mode
2022-12-05 11:20:03 +01:00
Malin E 87ed8c69c8 Simplyfy model opacity rendering 2022-12-05 11:19:22 +01:00
Malin E 574b789338 Merge branch 'master' into feature/model-opacity
* Solve conflicts in nebula and asset_helper assets
2022-12-01 10:20:05 +01:00
Emma Broman ccfe61cbef Fix type in documentation for RenderableTimeVaryingSphere 2022-11-29 11:46:44 +01:00
Malin E bf25e4562a Invert the disable properties culling and depth test in models
* disableFaceCulling -> enableFaceCulling

* disableDepthTest -> enableDepthTest
2022-11-25 10:01:46 +01:00
Malin E 005ff102e7 Decouple property for culling and transparecny 2 pass for models 2022-11-23 11:43:15 +01:00
Alexander Bock 44e5b17ec9 Global pass over the code to remove trailing spaces 2022-11-22 21:06:52 +01:00
Malin E ec625c1c41 Detect transparent models 2022-11-16 16:41:16 +01:00
Malin E a0423daf30 Render front anv back faces seperatly to fix transparency 2022-11-15 16:24:49 +01:00
Malin E 04f0b1281a Remove EnableOpacityBlending property for models (unused) 2022-11-15 16:06:05 +01:00
Malin E 2cd09de2fa Fix support for transparent models 2022-11-14 10:27:20 +01:00
Malin E 8dbdba1174 Fix opacity blending 2022-11-03 13:14:08 +01:00
Malin E 6c223cd8ae Some clean up 2022-11-03 11:15:21 +01:00
Malin E e749be21a5 Move Overlay RenderBin to before postDeffredTransparent 2022-11-02 17:46:20 +01:00
Malin E 8e2f5450f4 Add documentation for texture access functions 2022-11-02 17:34:00 +01:00
Malin E 2fe78e949d Merge branch 'master' into feature/model-opacity 2022-11-02 13:51:22 +01:00
Alexander Bock 6249fa6d89 Collection of a number of changes (#2286)
* Cleanup Property code
* Remove NOLINT statements
* Return Property class types as string_view
* Remove getStringValue function
* Simplify string value retrieval
* Ensure that image paths in the ImageSequenceTileProvider are sorted (closes #2205)
* Some cleanup of OpenSpaceEngine
* Cleanup documentation
* Some more cleanup of engine classes
* Some more cleanup
* Update SGCT repository
* Use new Jenkins node identifiers as the old method broke with update
2022-10-30 12:54:14 +01:00
Malin E a77e227430 Re-use textures in the FramebufferRenderer for model opacity rendering 2022-10-28 10:12:56 +02:00
Alexander Bock aeb366ae61 Add new dashboard item to show elapsed times (closes #2234). Cleanup handling of TimeConversion and add unit testing 2022-10-15 00:08:22 +02:00
Malin E 9f9f2e1558 Merge branch 'master' into feature/model-opacity 2022-10-12 16:30:33 +02:00
Malin E 93a8b3af8a Small clean up 2022-10-10 09:31:35 +02:00
Malin E eeebfdb2c6 Some small clean up 2022-10-06 13:48:16 +02:00
Malin E 4adaea5b76 Resize textures when window resizes 2022-10-06 12:04:22 +02:00
Malin E 202cf4b5b6 Fix opacity issue with model vs trails + small clean up 2022-10-06 11:41:15 +02:00