COSIMA / 3D_animations

This repository contains examples of 3D animations generated using Blender.
https://cosima.github.io/3D_animations/
4 stars 2 forks source link

Australia-centric animations #4

Open josuemtzmo opened 2 years ago

josuemtzmo commented 2 years ago

The following snapshots show MLD, salinity, and temperature from ACCESS-OM2 0.1 degrees.

MLD mld_aus_720

Salinity salinity_aus

Temperature temperature_aus

The changes I have in mind are:

Please let me know if you would like any other change, otherwise, I will upload a sample video in the next couple of days.

josuemtzmo commented 2 years ago

FYI, this will generate in total 3 different videos, one for each field.

navidcy commented 2 years ago

In my opinion, since these are to serve are examples, then they are absolutely fine as is! What should be clear, though, is a comment somewhere in the scripts (or wherever appropriate) informing the users what they should edit to change the camera focus to their liking.

navidcy commented 2 years ago

(@josuemtzmo, perhaps you need to ping some people if you want their feedback?)

josuemtzmo commented 2 years ago

@aekiss @AndyHoggANU @adele157; Do you have any comments on how to improve these stills before I commit to render the animatios?

aekiss commented 2 years ago

I agree with @navidcy that they are fine as examples, and the main thing is to include comments to help people learn. But I also like your suggested changes @josuemtzmo. Perhaps they could be used as part of a how-to guide?

Also, some small suggestions:

navidcy commented 2 years ago

You can change the camera view on one of them...

AndyHoggANU commented 2 years ago

OK, but these are not just for examples, right? We also want to create some animations that we will use as part of this project.

navidcy commented 2 years ago

@AndyHoggANU is this directed to @josuemtzmo ? Because I don't understand exactly what you mean. But I don't need to (if it wasn't been addressed to all)! 😀

josuemtzmo commented 2 years ago

Salinity animation: https://youtu.be/A6S2w-Hleho

navidcy commented 2 years ago

Is this just an announcement? Invitation for review?

josuemtzmo commented 2 years ago

Invitation for review, and comments if you have any :)

navidcy commented 2 years ago

There is no contrast... I almost can't see anything. But hopefully this will come with some documentation so people can modify the colorscale??

I have to say I don't have any background of what's happening here. Is this gonna be just a collection of animations to showcase the model? A repo that helps people make animations? Bit of both?

AndyHoggANU commented 2 years ago

So, actually, the original aim was for Josué to produce animations that show off the model. But, of course, we want things to be reproducible, hence the repo where people can borrow code to replicate if wanted.

But we should try to perfect these simulations. I agree with Navid - the colour scheme is quite washed out - this is fine in the Eastern Indian Ocean where there is good contrast from the lighting, but everywhere else the lighting is too flat. Is there a way to get shadows over the whole domain? If not, we might need a stronger colour scheme?

AndyHoggANU commented 2 years ago

Incidentally, the stills from the other day had much more contrast. Maybe consider eliminating the second light source again?

navidcy commented 2 years ago

Incidentally, the stills from the other day had much more contrast. Maybe consider eliminating the second light source again?

Yeap, the stills looked nice.

josuemtzmo commented 2 years ago

Ok, I will first make the second light dimmer, and if we don't like it still, I will completely remove it.

navidcy commented 2 years ago

Ok, I will first make the second light dimmer, and if we don't like it still, I will completely remove it.

Why not make it exactly as the still previews above?

josuemtzmo commented 2 years ago

I thought the rapid shift to the black background was too abrupt, but it sounds like you really liked the previous version, so I will remove the light then.

navidcy commented 2 years ago

What we want (I feel) is to be able to distinguish flow features! It's not the contrast with the background but rather the contrast between regions with different salinities.

In general @josuemtzmo I feel you like a lot these pale colormaps which make it harder to visualise things. I'm wondering if to your eyes they look different and not as "washed out". This last one may be more of a philosophical question since it touches on perception of vision by different people... something that goes beyond the scope of the repo I feel.

navidcy commented 2 years ago

If I had the chance I'd reduce the color limits to, e.g., 32-35 in an attempt to enhance contrast. But that's just a thought -- I don't know exactly how that will look like.

josuemtzmo commented 2 years ago

Here are some options:

  1. I've dimmed the 2nd light a lot and increased the shading for features: salinity_snap_high_contrast
  2. Same as above, but changed the color range (ignore the colorbar, It didn't update for some reason): salinity_snap_32_37_high_contrast
  3. No 2nd light, higher shading for features: salinity_snap_no_light_hc_high_contrast
  4. No 2nd light, same shading as before: salinity_snap_no_light_high_contrast
navidcy commented 2 years ago

When you give me too many options I can't select anything.

I'm sorry to admit, but for my eyes the same issue holds: colours are too washed out. I may be a singularity...

navidcy commented 2 years ago

Still I think the salinity version here is better. The color limits are reduced there. Why not reduce even more?

josuemtzmo commented 2 years ago

I think, either option 1 or 3, looks perhaps even better than option 4 (Previous version). Fair point, I missed that I had selected a range of 30-36.

navidcy commented 2 years ago

make it even smaller!

AndyHoggANU commented 2 years ago

OK, I kind of agree with Navid's comments ... but I also think that the nice think about your images is the relief, which highlights the gradients. But on a globe you will always have regions with no relief. This is easy to address when you are zooming into a region but is there any way to fix it for a global picture?

josuemtzmo commented 2 years ago

I can increase the relief, but at some point, it will look overexaggerated.

I've reduced the color range, what do you think?

salinity_high_contrast

In the image below, I've exaggerated the relief, but It starts looking strange to me. salinity_ex_high_contrast

navidcy commented 2 years ago

The image at the bottom barely starts looking nice to me!

Correction: The one at the bottom actually looks nice!! I'd like a better colormap to help my vision but I don't think I would be able to get there unless I make the animations myself. I'm hoping that at least the directions that will be added will help me choose the colormap of my liking. Until then, I'll keep quite since there is no point repeating myself. 😌

navidcy commented 2 years ago

With some annotations:

129440615-89da943c-6bc4-4ed4-b076-a6fe6b586f3f

navidcy commented 2 years ago

I think the color range is still too wide... Or I don't know, there is something that obstructs my eyes to see any contrast... the choice of colours... I'm not sure what it is! The problem is that @josuemtzmo doesn't see this. (I'm intrigued by this difference in visual perception btw...)

navidcy commented 2 years ago

It's not a "problem" really... it's just interesting!

josuemtzmo commented 2 years ago

I was using the cmocean haline colormap, and there is no much I can change of it, I've tried with a different colormap viridis, which may highlight a bit better that side of the sphere. I need to point out that it's a 3d object and the light reflection makes some of the colors wash out. I've removed the sphere reflection, and perhaps that will improve the contrast...

salinity_no_reflection_high_contrast

josuemtzmo commented 2 years ago

salinity_no_reflection_high_contrast_1

navidcy commented 2 years ago

I need to point out that it's a 3d object and the light reflection makes some of the colors wash out. I've removed the sphere reflection, and perhaps that will improve the contrast...

I understand, but I believe we want to be able to visualise flow features. We aren't interested on 3D visualisation just for the sake of 3D visualization, right?

@josuemtzmo just render a movie and it'll be fine. Don't listen to me... Document the script that you've used to do so and when I would like to make an animation for some work of mine I'll tweak it to my liking.

[I will stop at this point because I am already afraid that I've become obnoxious.]

josuemtzmo commented 2 years ago

@navidcy It's fine, I will document this, but the idea is to have something that most people will use, although it will be possible to reproduce the animation, It's not as trivial as just running a script.

I understand that the contrast is not so high, where the light directly hits the sphere, I will keep playing with it, but there are so many options for the lighting that I don't know which combination will fit the best, for example, the sphere is lighted by the color of the image projected in its surface.

salinity_no_reflection_self_light_high_contrast

@navidcy Do any of the images above fit better your preference? So I can narrow down my exploration... @AndyHoggANU, do you have a preference? or should I keep exploring?

AndyHoggANU commented 2 years ago

This last one is looking better. Still a bit washed out on the right, but good relief elsewhere. How did you do that one?

I think it is good to get these comments, Navid. Josué can do all the technical bits, but it is hard for him to judge the output.

navidcy commented 2 years ago

I'm a bit reluctant to whether I am crossing the boundary between making remarks on objective visualisation attributes and on subjective personal taste and preferences.

AndyHoggANU commented 2 years ago

BTW, did you ever produce the video we discussed with the ice + temperature, or ice + vorticity? I think the plan here was to do a lap of the Antarctic continent.

aekiss commented 2 years ago

I prefer viridis to haline - it is good to have more hues to make salinity gradients more obvious.

If we are happy to focus on spectacle rather than perceptual uniformity/accessibility we could increase the number of hues still further by committing a blasphemy like some sort of rainbow, eg turbo, nipy_spectral, gist_ncar. These would make salinity gradients more visible and therefore make the flow features stand out better, at the cost of a less accurate perception of the salinity magnitude. But perhaps the former is more important than the latter for this application?

Also the mesoscale flow features are quite small on screen and easily overlooked - could we zoom in as part of the animation?

aekiss commented 2 years ago

What would it look like to have different coloured light sources from different angles? Or would that be too confusing?

navidcy commented 2 years ago

@josuemtzmo a suggestion: why don't you bring this to a group meeting and we do the modifications + comments live all together? Then you don't have to go back and forth the github comments and the drawing board. That'll be fun, no? Or isn't quick enough to be doing such modifications online and showing to all live?

navidcy commented 2 years ago

by committing a blasphemy like some sort of rainbow, eg...

Blasphemy... 🤣

josuemtzmo commented 2 years ago

Also the mesoscale flow features are quite small on screen and easily overlooked - could we zoom in as part of the animation?

@aekiss I can definitely zoom anywhere, do you have somewhere in mind?

navidcy commented 2 years ago

I need to point out that it's a 3d object and the light reflection makes some of the colors wash out. I've removed the sphere reflection, and perhaps that will improve the contrast...

This animation looks 3D but yet I wouldn't say that colors washed out. I actually find it has enough contrast to be able to see the flow features, be quantitative, and pleasing to my eye.

aekiss commented 2 years ago

I guess just in general if it was magnified by (say) 2-4x it would show up the mesoscale much better. Some interesting places are the ACC, ASC, EAC, Leeuwin.

josuemtzmo commented 2 years ago

This is a sample animation with the latest viridis colormap:

https://youtu.be/Sn8XbrJ4pk8

We could definitely have a meeting to modify things live, but there are many options and the renders take up to 1 minute per frame.

navidcy commented 2 years ago

We could definitely have a meeting to modify things live, but there are many options and the renders take up to 1 minute per frame.

I was thinking just for just still images over group meeting. But 1 min for every change may be cumbersome...

josuemtzmo commented 2 years ago

Ok, perhaps I should try some outrageous colormaps... (I was trying to avoid it) For example, the one @navidcy sent.

aekiss commented 2 years ago

@navidcy - nice example, with a blasphemous colourmap!

navidcy commented 2 years ago

Unfortunately @josuemtzmo, it's more important to be able to see something than have a colormap that is proper and washes out all flow features. I'm not sure if it's a colormap issue, you are the 3D visualization expert. We are describing here what we would like to see, we are not describing solutions. We hope you know how to make our eyes satisfied.

✊🏼🤙🏼❤️