Commit Graph

201 Commits

Author SHA1 Message Date
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
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
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
05252b8258 Merge branch 'master' into feature/model-opacity
* Solve conflict in iss.asset
2023-02-16 12:07:12 +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
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
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
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
a77e227430 Re-use textures in the FramebufferRenderer for model opacity rendering 2022-10-28 10:12:56 +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
Malin E
11981138f8 Move Model to render bin Post deffered if transparent 2022-10-06 09:53:25 +02:00
Malin E
c5f6f72b77 Fix depth issues 2022-10-04 14:34:36 +02:00
Malin E
5c3838f335 WIP Model is visible
* Opacity issues

* "Clearing" issues
2022-09-27 14:45:22 +02:00
Malin E
3b5c3c51d6 Fix OpenGL error for model opacity shader program 2022-09-14 16:52:58 +02:00
Malin E
77beb4c3af WIP First attempt at a solution 2022-09-14 14:36:33 +02:00
Alexander Bock
163ac4dcef Cleanup of mostly asset files
- Fixes for all files
 - constexpr cleanup
 - Cosmetic changes
 - Remove punctuation from the end of messages
2022-07-28 17:21:59 +02:00
Alexander Bock
9cc4c595a8 Code Cleanup (#2191)
* constexpr const -> constexpr
* const char* -> std::string_view
2022-07-25 15:57:45 +02:00
Malin E
45c776b7ba Address PR comments 2022-04-07 13:22:06 +02:00
Malin E
df46bcfcc1 Merge branch 'master' into feature/jwst-update 2022-04-06 13:37:17 +02:00
Alexander Bock
02adcf570e Add a hidden "Fade" property that modifies the effective opacity to enable other functionality (closes #1970) 2022-04-05 23:53:33 +02:00
Malin E
df8c303594 Set interactionspheres of models to be 10% of boundingsphere 2022-03-08 13:50:52 +01:00
Malin E
49ed676144 Merge branch 'master' into feature/jwst-update 2022-03-07 15:16:25 +01:00
Malin E
e30e9ee4cc Add event to toggle JWST trail when approaching or going away 2022-02-17 09:30:15 +01:00
Alexander Bock
e8072495ec Feature/warnings (#1885)
Remove many warnings from MSVC, Clang, and GCC
2022-02-16 18:33:12 +01:00
Alexander Bock
21df9066e1 Make use of the new map feature in codegen (#1801) 2022-01-02 13:36:41 +01:00
Alexander Bock
d7d279ea16 Happy new year 2022-01-01 12:32:55 +01:00
Alexander Bock
d32af9117a Code style cleanup 2021-12-10 17:31:01 +01:00