i have been working on a packet viewer on my website for a few weeks and got it to a place it looks quite nice
a live copy can be seen here: https://cqdx.uk/pkt/
though i am trying to add some bloom to the arcs like this: https://cqdx.uk/arms/
not quite so extreme but i think some bloom that lights up/reflects off the oceans of the earth would really make it quite beautiful but
you can see at the very bottom of the live copy i am trying to load unrealbloompass but i'm really lost at this point
docs found here: https://morioh.com/p/5e9aad9bc40a
the docs are awful
postProcessingComposer - Access the post-processing composer. Use this to add post-processing rendering effects to the scene. By default the composer has a single pass (RenderPass) that directly renders the scene without any effects.
but.... HOW.
https://threejs.org/examples/webgl_postprocessing_unreal_bloom.html
example found here, which is a very nice demo.... but no simple code example
just an entire functional example
which is nice, but does not help me understand what the living hell i am doing
https://github.com/vasturiano/react-globe.gl/issues/2
https://github.com/mrdoob/three.js/blob/dev/examples/jsm/postprocessing/UnrealBloomPass.js
line 26
constructor( resolution, strength, radius, threshold ) {
https://threejs.org/docs/?ref=morioh.com&utm_source=morioh.com#examples/en/postprocessing/EffectComposer
Used to implement post-processing effects in three.js. The class manages a chain of post-processing passes to produce the final visual result. Post-processing passes are executed in order of their addition/insertion. The last pass is automatically rendered to screen.
i mean this is all so fragmented its horrific to navigate all this
but i can see i need to pass some params to the bloom pass
but i cannot see HOW i am meant to do this
so that's why i'm here, to ask for help understanding all this - maybe someone more experienced than i can point me in the right direction
A React component to represent data visualization layers on a 3-dimensional globe in a spherical projection, using ThreeJS/WebGL for 3D rendering.