mikkelm2 Posted January 22, 2015 Share Posted January 22, 2015 Hey guys. So i've done a flip simulation and created a VDB mesh from it. Then created a new scene and added ocean waves from the shelf tool and added displacement to the VDB mesh using ocean waves. So now i'm happy with my displacement on my flip mesh, and i want to create an infinite(large ocean) and composite these 2 renders later in post production.How do i apply the same displacement on my VDB mesh to an infinite/extended/large ocean?I have attached a screenshot and my .hip file, hope you guys can help me out Ocean_Displacement_01.hip Quote Link to comment Share on other sites More sharing options...
pbarua Posted January 23, 2015 Share Posted January 23, 2015 You can wire same oceanspectrum and oceanevalute to a larger grid. Quote Link to comment Share on other sites More sharing options...
mikkelm2 Posted January 23, 2015 Author Share Posted January 23, 2015 Hey Pradeep, thanks for the fast reply! I've tried to wire an grid instead of the file node, but then displacement looks completely different. Quote Link to comment Share on other sites More sharing options...
pbarua Posted January 23, 2015 Share Posted January 23, 2015 (edited) It also depends on resolution of input geo. Do you have enough points on grid? Edited January 23, 2015 by Pradeep Barua Quote Link to comment Share on other sites More sharing options...
pbarua Posted January 23, 2015 Share Posted January 23, 2015 If any problem, post your file. Quote Link to comment Share on other sites More sharing options...
mikkelm2 Posted January 23, 2015 Author Share Posted January 23, 2015 When changing the resolution of my grid to a higher value, i see how the displacement changes.. but my VDB mesh obviously has alot of points, so to get the same displacement on my grid it has to have as many points as the vdb mesh right? But since my large ocean is going to be 25xtimes larger it's going to be very heavy.. Quote Link to comment Share on other sites More sharing options...
pbarua Posted January 23, 2015 Share Posted January 23, 2015 Not necessarily has to be same number of point but enough. When you render a flat grid with displacement map which is written out of oceanevalute it should render just fine. Quote Link to comment Share on other sites More sharing options...
mikkelm2 Posted January 23, 2015 Author Share Posted January 23, 2015 Okay Pradeep, i will try when i get home and let you know how it goes Quote Link to comment Share on other sites More sharing options...
mikkelm2 Posted January 23, 2015 Author Share Posted January 23, 2015 So i got it working, i have no idea why i didn't work for me earlier.. but now it works like a charm, even without having to up-res the grid that much! However i'm getting these wierd results sometimes.. like the grid is visible in the render? And when the mesh is close to the camera it's clipping off for some reason? The white grid in this image is actually the alpha channel? Scene File: https://dl.dropboxusercontent.com/u/19237144/Infinte_ocean_displacement_01.hip Quote Link to comment Share on other sites More sharing options...
pbarua Posted January 24, 2015 Share Posted January 24, 2015 However i'm getting these wierd results sometimes.. like the grid is visible in the render? And when the mesh is close to the camera it's clipping off for some reason? This is displacement problem. Reduce displacement bound of your shader. Quote Link to comment Share on other sites More sharing options...
pbarua Posted January 24, 2015 Share Posted January 24, 2015 Sometimes Mantra renders maroon if it doesn't find texure files. Quote Link to comment Share on other sites More sharing options...
pbarua Posted January 24, 2015 Share Posted January 24, 2015 The white grid in this image is actually the alpha channel? Are you rendering ocean_interior? Quote Link to comment Share on other sites More sharing options...
pbarua Posted January 24, 2015 Share Posted January 24, 2015 Ocean interior needs to be rendered. It seems that you aren't rendering that. Turn on display flag at obj level or put it in force object so Mantra can rendering it regardless display flag. Quote Link to comment Share on other sites More sharing options...
mikkelm2 Posted January 24, 2015 Author Share Posted January 24, 2015 I will try to reduce displacement bound, and see if it helps. What do you mean by maroon? And why should it not be able to find the displacement textures? - Sorry i'm just a bit confused No i'm not rendering the ocean_interior, but that's for saving render time. I thought it was only for faking depth in the ocean? And as stated above, only some of the renders turn out this wierd, i think it depends on how close my camera is to the ocean s: - Thanks for helping me out Pradeep! Really appreciate it. Quote Link to comment Share on other sites More sharing options...
mikkelm2 Posted January 24, 2015 Author Share Posted January 24, 2015 So here's to new angles rendered, the left one is with ocean_interior OFF, and right is with ocean_interior ON. - Next i will try to reduce displacement bound and see if it fixes it. Quote Link to comment Share on other sites More sharing options...
mikkelm2 Posted January 24, 2015 Author Share Posted January 24, 2015 Good news Pradeep! The Displacement Bound parameter worked like a charm! However turning it down to too low removes all the nice detail in the displacement! The default number is 2, so first i tried setting it to 1 and it fixed the clipping but removed to much detail.. then i tried 1.8, and it keeps all the nice details and fixes the clipping! BOOM! Problem solved, all good! Thanks alot Pradeep, this saved me a ton of time! Quote Link to comment Share on other sites More sharing options...
prashantcgi Posted January 31, 2015 Share Posted January 31, 2015 Scene File: https://dl.dropboxusercontent.com/u/19237144/Infinte_ocean_displacement_01.hip Hi Mikkel, I'm intrested in looking at your sample file, But this link is not working. if possible can you post the file. Thank you Quote Link to comment Share on other sites More sharing options...
Vivo3d Posted February 1, 2015 Share Posted February 1, 2015 Hi Mikkel, I'm intrested in looking at your sample file, But this link is not working. if possible can you post the file. Thank you just right click the link and "save link as" Quote Link to comment Share on other sites More sharing options...
LukeLetellier Posted February 3, 2015 Share Posted February 3, 2015 just right click the link and "save link as" Interested in seeing this as well; I get a "Failed - no file" error when I do that. Quote Link to comment Share on other sites More sharing options...
prashantcgi Posted February 3, 2015 Share Posted February 3, 2015 Tried Right Click save link as The file is missing from drop box link Didn't worked Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.