Announcement

Collapse
No announcement yet.

Ocean Mesh blends less with higher Ocean subdivisions

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Ocean Mesh blends less with higher Ocean subdivisions

    Here is the border area with the following settings. It blends pretty well but of course there is lots of flickering because of the low Ocean subdivsions.
    Click image for larger version

Name:	image.png
Views:	237
Size:	1.01 MB
ID:	1170158
    Click image for larger version

Name:	image.png
Views:	183
Size:	73.0 KB
ID:	1170160

    ​Higher Ocean Subdivisions but the border is more pronounced:​
    Click image for larger version

Name:	image.png
Views:	173
Size:	1.01 MB
ID:	1170161
    Click image for larger version

Name:	image.png
Views:	172
Size:	70.4 KB
ID:	1170162

    Border Fade is at 100 (I've even upped it to 500 and 1000) but no difference.

    Is there another setting I need to tweak to make it blend better at a higher Ocean Subdivision?​
    Attached Files

  • #2
    Anyone have any thoughts?

    Comment


    • #3
      Hey, we have code that is supposed to battle this problem, but seems like it's not holding up for your scene. Could you try is enabling Pure Ocean mode still results in the same problem? If yes, then could you tell me the number of voxels along X/Y/Z of the grid?
      Svetlin Nikolov, Ex Phoenix team lead

      Comment


      • #4
        Svetlin, I don't get the same issue using Pure Ocean.

        In regards to the voxel count, is this what you are looking for?

        Click image for larger version

Name:	image.png
Views:	144
Size:	3.9 KB
ID:	1170359

        Comment


        • #5
          Oh, so if there is a difference between pure ocean on and off, then I might be able to catch it in a simple scene here... Will keep you posted!

          I see the Z size is 1153 voxel, so I can calculate the other sides from it as well, thanks!
          Last edited by Svetlin.Nikolov; 19-01-2023, 04:22 AM.
          Svetlin Nikolov, Ex Phoenix team lead

          Comment


          • #6
            Hm, dang, couldn't make it happen here with a modified ocean preset. Would it be possible to send over your scene without any of the caches or geometries in case they are secret - only the simulator, camera, lights and vray settings would be enough...
            Svetlin Nikolov, Ex Phoenix team lead

            Comment


            • #7
              Here you go Svetlin:

              https://drive.google.com/file/d/1iY8...ew?usp=sharing

              Comment


              • #8
                Did that example I shared help?

                Comment


                • #9
                  Thank you, got it now! I had to take an unexpected day off. Let's see...
                  Svetlin Nikolov, Ex Phoenix team lead

                  Comment


                  • #10
                    Hmm, the camera in the scene is not the same as in your screenshot, but this issue is quite probably camera-dependent.

                    I tried frame 1 and frame 2441 but both seem to render fine without a noticeable difference between the inside and the outside of the simulator.

                    If you do get the issue with the attached scene, can you tell which frame do you render so I can do the same as you?
                    Svetlin Nikolov, Ex Phoenix team lead

                    Comment


                    • #11
                      Here is the stripped down version of the actual scene:

                      https://drive.google.com/file/d/1iY8...usp=share_link

                      Render at frame 885:
                      Click image for larger version

Name:	image.png
Views:	111
Size:	1.33 MB
ID:	1170789


                      I also just upgraded to Phoenix 5.10.00 and V-ray 6.00.03 btw.

                      Comment


                      • #12
                        Ah, thank you! Reproduced the issue! Starting to look for the reason and if it can be worked around with options or if it's something that would need changes in the code...
                        Svetlin Nikolov, Ex Phoenix team lead

                        Comment


                        • #13
                          Oh, hold on - looks like you are using a Phoenix version before the Ocean Border Fade option appeared in the mesh rollout, and in your scene this option acts as if it is 1%, while 10% or more would certainly make it look better. Perhaps you are using Phoenix 5.01 official or older. Please try Phoenix 5.10 and look for the new option between the Ocean Level and the Ocean Subdivisions options - the one below the Shadow Step % affects only the volumetric render modes and is in units instead.
                          Last edited by Svetlin.Nikolov; 22-01-2023, 03:22 PM.
                          Svetlin Nikolov, Ex Phoenix team lead

                          Comment


                          • #14
                            The surface inside the container really does look more rough than outside the container. The Wave Force correctly uses an ocean texture with a low level of detail so it doesn't create small scale noise. One speculation I have is that perhaps the Steps Per Frame need to be raised in order to get a smoother mesh (before the displacement is applied), to 2 or 3 perhaps. I will let it run overnight and see if this helps...
                            Svetlin Nikolov, Ex Phoenix team lead

                            Comment


                            • #15
                              Ah sorry, the above was not the smartest idea - you don't really need to simulate with 2 or 3 steps per frame, making the simulation 2 or 3 times slower respectively.

                              Instead, in order to smooth out the liquid mesh before the displacement, you could use the Grid Channel Smoothing from the Input rollout - enabling the smoothing for the Liquid channel and setting the three fields after that to all zeroes - Threshold, Similarity, Random Variation, so the smoothing would be the strongest.

                              By combining this smoothing and the increase in the Ocean Border Fade % option seems to make for a smooth transition. Please try and ping me.
                              Svetlin Nikolov, Ex Phoenix team lead

                              Comment

                              Working...
                              X