It is there any way to export the foam data generated from ocean modifier to use it in other render engine, like LuxRender? The manual says that the foam data is stored as vertex color data, but there isn't a way to access the vertexColor data. I know that can be accessed from Cycles from attribute's node. LuxRender supports vertex color and I tried to bake the texture to vertexColor and an image but only get a plain black texture.

  • $\begingroup$ foam could be generated as image sequence in blender black and white images you could set resolution for textures as well,but I dont know if image sequence could be used in LUX as texture $\endgroup$
    – Utas
    Jun 19 '13 at 19:30
  • $\begingroup$ Yes it supports, but even i just gonna render a still, how do i save it as image, i baked as "Texture" bake and nothing. $\endgroup$
    – Hikaru Ai
    Jun 19 '13 at 23:34
  • 1
    $\begingroup$ probably you doing something wrong during baking it wiki.blender.org/index.php/Doc:2.6/Manual/Modifiers/Simulate/… works for me this tut is really good about ocean youtu.be/11F1NRpqrzY $\endgroup$
    – Utas
    Jun 20 '13 at 5:29

Finish settings for ocean such as wind, choppiness, etc.

Set resolution in ocean modifier. For example, 16 will result in a baked image 256x256 pixels. 64 is the largest, final baked image is 4096x4096.

Check the boxes for generate normals and Foam,

Set cache path anywhere you want (should be an empty folder) and bake.

After a while you get images like this one in your cache folder:

baked foam


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.