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
Alexander Bock
4a860fb01d
Some code facelifting
2021-10-14 10:31:46 +02:00
Gene Payne
1c0b7c347a
String-to-path fix for linux build
2021-09-14 15:45:39 -06:00
Alexander Bock
b649509bf0
Feature/model shader ( #1723 )
...
* Add support for RenderableModel to take custom shader code
* Added example to highlight usage
2021-08-24 10:45:19 +02:00
Alexander Bock
b2d12476dd
Correctly specify the model size of the Apollo capsules ( closes #1718 )
2021-08-20 12:43:47 +02:00
Malin Ejdbo
257d3f8538
Update model bounding sphere to account for parent scale, closes #1630
2021-06-04 10:16:48 +02:00
Malin Ejdbo
4202b21ebc
Merge branch 'master' into feature/jwst
...
* Resolve conflicts
2021-05-26 14:21:10 +02:00
Alexander Bock
63cbf270ee
Adapt to changes in codegen that require specifying the identifier in the codegen::doc function
2021-05-25 23:10:12 +02:00
Alexander Bock
cb17bd7570
Remove warnings
2021-05-25 22:06:49 +02:00
Alexander Bock
6cf6e450fb
Address MacOS compile issues, make ISS model scene graph node visible
2021-05-25 17:50:31 +02:00
Alexander Bock
92432caed2
Adapt to changes in Ghoul that made absPath return a std::filesystem::path instead of a std::string
2021-05-17 00:23:15 +02:00
Malin Ejdbo
16d38962c8
Add option to invert ModelScale
...
* Scale the JWST to correct size
* Add non standard units as option for ModelScale
* Add boolean option to invert the ModelScale of a RenderableModel
* Update JWST prism to correct size and matching rotation of JWST
2021-05-12 09:27:14 +02:00
Emma Broman
33a9dd2f09
Avoid problems with comment ending in backslash
2021-04-27 11:19:18 +02:00
Malin Ejdbo
2b74a04415
Adjust model bounding sphere
2021-04-21 11:04:42 +02:00
Malin Ejdbo
a541721d33
Address PR comments and tweak animation mode Once
2021-04-16 15:51:31 +02:00
Malin Ejdbo
4a97a21297
Address PR comments
2021-04-14 17:12:46 +02:00
Malin Ejdbo
3ec01fa25e
Address PR comments
2021-04-07 17:25:58 +02:00
Malin Ejdbo
e91d833c65
Optimize model rendering
...
* Don't render when too far away, same as RenderableGlobe
2021-03-31 14:19:27 +02:00
Malin Ejdbo
1596bbb813
Add possibility to give model scale as a number
2021-03-30 17:13:38 +02:00
Malin Ejdbo
2feff86181
Clean up
2021-03-29 11:37:23 +02:00
Malin Ejdbo
1bfa7bf5f5
Remove support to combine several geometries
...
* And make use of file verifier for the model file
2021-03-24 17:05:18 +01:00
Malin Ejdbo
2873cdb826
Use convertTime for time scale of animation
2021-03-24 12:06:34 +01:00
Malin Ejdbo
3a976ba0b0
Add model scale that can be set in asset file for each model
...
* Add cm and dm as units in DistanceUnits
* Scale the model according to the set unit
2021-03-24 10:47:40 +01:00
Malin Ejdbo
aa5394e88c
Add info message when an animation exists for a model
2021-03-23 18:02:06 +01:00
Malin Ejdbo
7ae3922132
Add BounceFromStart and BounceInfinitely animation modes
2021-03-23 13:42:05 +01:00
Malin Ejdbo
0a9af8f0ed
Add error handling
2021-03-22 10:01:16 +01:00
Malin Ejdbo
f1d66b1a74
Add animation mode bounce
2021-03-19 09:55:50 +01:00