Commit Graph

800 Commits

Author SHA1 Message Date
Malin E 04a201acf4 Add wireframe mode for the tube 2023-12-08 10:59:02 +01:00
Malin E 8a69d6653e Add property to take off bottom and top of tube 2023-12-07 15:00:49 +01:00
Malin E 7093860511 Merge branch 'master' into project/b612-asteroid-uncertainty 2023-12-07 13:39:21 +01:00
Alexander Bock 3dadf9c5fa Only create RingComponents and ShadowComponents when they are actually needed 2023-12-01 09:35:38 +01:00
Alexander Bock 3a9716a535 No need to use the .set method of properties directly 2023-11-28 21:37:52 +01:00
Malin E 8f654eae50 Add transfer function for renderable tube 2023-11-28 16:21:57 +01:00
Malin E 4a83bb9b8d Add value to tube data 2023-11-28 14:15:52 +01:00
Malin E 536ba1eb5b Fix perform shading property bug 2023-11-23 14:57:17 +01:00
Malin E e3e1bdcfa6 Restructure tube verticies 2023-11-23 09:54:36 +01:00
Malin E 7a3af2c991 Merge branch 'master' into project/b612-asteroid-uncertainty 2023-11-23 09:22:36 +01:00
Malin E eeb9ec319d Some small clean up 2023-11-21 16:43:44 +01:00
Malin E 5b930487b2 Add hard shadows to edges of the tube 2023-11-21 11:47:58 +01:00
Alexander Bock 7db7c40841 Doxygen style overhaul (#2954)
Reformatting the existing Doxygen comments to be unified
2023-11-20 23:39:17 +01:00
Alexander Bock 4ee078502b Doxygen (#2953)
* Update Doxygen and add new CSS file
* Remove Doxygen warnings
2023-11-19 16:35:14 +01:00
Malin E d88c25c33e Add shading 2023-11-17 13:41:51 +01:00
Malin E 803f79b3c7 Some clean up 2023-11-17 10:15:30 +01:00
Malin E 26e60edd9d First version of working tube from data 2023-11-16 13:34:37 +01:00
Malin E c2200acf90 Make it based on data (top and bottom) 2023-11-15 14:24:55 +01:00
Malin E 482a463284 Something renders 2023-11-15 13:42:10 +01:00
Alexander Bock 870850db07 Enable warnings for missing case labels and subsequent cleanup. Updated ghoul, sgct, and codegen repository for same 2023-11-05 22:16:06 +01:00
Malin E 1a32c5a4ca Add initial (non working) verison of new renderable tube 2023-10-25 12:03:05 +02:00
Malin E ce789fcd22 Feature/matrix maintenance (#2875)
* Split RenderableSphere class into a local and an online sphere

* Make the video sphere derive from the regular sphere

* Make RenderableTimeVaryingSphere derive from RenderableSphere

* Some clean up

* Add general functions for renderable matrix calculations

* Make RenderableSphere and Plane use them

* Fix an issue with the RenderablePlane shader

* Make one function that returns all three types of render matrices

* Make more Renderables use the general matric calculation function

* Make more Renderable use the general matrix function

* Simplify alternative transforms for matrix calculations

* Small clean-up

* Update RenderableModel (again) to use new transform functions

* Make calc all matrix function to return tuple

* Update some more places
2023-09-21 14:22:36 +02:00
Alexander Bock 7483b912e0 Update submodules to fix compilation error on newer Clang and GCC (#2890)
* Update submodules

* Update Ghoul
2023-09-13 09:51:30 +02:00
Emma Broman d77836d910 Feature/arrow renderable (#2219)
* Create a RenderableNodeLine example asset

* First version of node direction hint renderable (arrow)

* Add possibility to set length as a multiplier of the bounding sphere

* Draw arrow cylinder using index array

* Update exponents and min max values for lengths

* Draw arrow head

* Only update arrow geometry when positions change

* Add some properties to control visuals of arrow

* Implement invert option

* Add normals and shading

* Set arrow head size by length percentage instead of angle

* Add bottom circle to cone

* Cleanup and update examples

* Remove non-existing property from example asset

* Fix vertices not updating if anchor node was changed

And some missing updates on property change

* Start cleaning up some shape rendering helper functions

* Cleanup code and move cylinder function to helper class

* Refactor cylinder creation code (fewer loops over same vector)

* Update transformations to correctly scale and place arrow

* Add the cone to make the arrowhead

* Update faulty triangle normals

* Add property visibilities

* Rename NodeDirectionHint to NodeArrow

* Apply suggestions from code review

Co-authored-by: Alexander Bock <alexander.bock@liu.se>


---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2023-09-11 11:04:46 +02:00
Ylva Selling c3ae39da62 Change name of line fade in RenderableTrail from Fade to LineFade (#2857)
* Change name of line fade in RenderableTrail from Fade to LineFade

* Adress review comments

---------

Co-authored-by: Emma Broman <emma.broman@liu.se>
2023-09-01 14:10:10 +02:00
Alexander Bock 455ee9335a Add a proper blackout to the ScreenSpaceRenderables and a property and codegen option to toggle that behavior (#2868) 2023-08-31 18:19:37 +02:00
Alexander Bock e7cad060c2 Adapt to coding style 2023-08-11 20:58:41 +02:00
Malin E 54ad5bfdd5 Add pivot property for Models to move model origin 2023-08-09 16:04:20 +02:00
Malin E 786c2887da Sphere maintenance (#2800)
* Split RenderableSphere class into a local and online sphere

* Make the video sphere derive from the regular sphere

* Make RenderableTimeVaryingSphere derive from RenderableSphere

* Some clean up

* Address PR comments
2023-08-07 11:47:32 +02:00
Adam Rohdin 71827c2f1e Fix for minor trail issue 2023-06-10 12:58:08 +02:00
Adam Rohdin f732702680 Readability fix
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2023-06-08 09:02:07 +02:00
Adam Rohdin 8629ee6330 Added extra spacing
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2023-06-08 09:00:53 +02:00
Adam Rohdin 7bf6b1d00f Merged two if-statements 2023-06-07 17:14:08 +02:00
Adam Rohdin f1d838da77 Fixes bugs when some variables equals 0 2023-06-07 16:59:39 +02:00
Adam Rohdin 959efddc51 Fixes #2540 by correctly showing all points, including the proper end point 2023-06-07 16:20:19 +02:00
Alexander Bock 25292cef76 Disable too agressive culling of renderabletrails for now (closes #2653) 2023-06-03 13:42:13 +02:00
Alexander Bock 9d5e50d930 Ensure that the geometry has the animation enabled (closes #2731) 2023-06-03 02:50:39 +02:00
Adam Rohdin 781b114d29 Moved bounding sphere calculations for better performance 2023-05-31 15:45:00 +02:00
Malin E ff805d334f Fix issue with atmosphere rendering on top of spheres 2023-05-26 16:34:38 +02:00
Malin E 6f8245d9cb Fix issue with atmosphere rendered on top of video plane
* Issue still persists with video sphere and regular sphere
2023-05-26 11:23:09 +02:00
Malin E 6054a817d8 Move model loading code to initialiseGL, fixes #1838 2023-05-24 16:40:17 +02:00
Malin E 4d9d4717d3 Set clear color for transparent models, fixes #2683 2023-05-23 11:25:48 +02:00
Malin E 9081a4db66 Make the numeric value of the model scale a property in the gui 2023-05-22 17:46:31 +02:00
Emma Broman 12d37d92a6 Fix faulty type for RenderableModel ModelTransform property input
from asset dictionary
2023-05-22 17:07:28 +02:00
Malin E 0490e94350 Fix modelshader example in Debug mode 2023-05-22 11:37:28 +02:00
Alexander Bock bde840ad03 Remove a bunch of compiler warnings
* Remove compile warnings
* Coding style fix
2023-05-16 11:59:28 +02:00
Micah Acinapura 4731e8e0a8 MacOS build fixes (#2622)
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
Co-authored-by: Joakim Kilby <jockekilby@gmail.com>
2023-05-12 09:35:59 +02:00
Alexander Bock 6dfd0cd3a8 Remove warnings on MSVC 2023-04-26 23:51:16 +02:00
Alexander Bock ca916877b2 Adapt the visibility settings for all properties 2023-04-15 09:33:31 +02:00
Ylva Selling 7fef92802d Merge pull request #2608 from OpenSpace/feature/video-module
Video module
2023-04-14 18:28:35 -04:00