Page 1 of 2 12 LastLast
Results 1 to 15 of 21

Thread: Ocean texture using nodes?

  1. #1
    Newbie Member
    Join Date
    May 2008
    Location
    greece
    Posts
    25

    Ocean texture using nodes?

    Hi, I'm trying to create an ocean texture during daylight using the node editor. I think I've managed a few things on my own, but I'm kinda stuck. I used the Delta shader to get what I wanted, but I have a problem with a gradient which I want to set to Incident Light, but there is no such option. Is there another way to do it?

    I've attached the srf file so you can see what I did. You can apply this to an object about 500mx500m to see the full scale of it. It also works best with an image world backdrop of a sky.

    I keep feeling that I've taken a completely wrong approach to doing this. The effect I'm trying to create is exactly this:
    http://upload.wikimedia.org/wikipedi..._5_nations.jpg
    Attached Files Attached Files

  2. #2
    Registered User zardoz's Avatar
    Join Date
    Dec 2003
    Location
    Portugal
    Posts
    1,819
    in this thread i have a render of a simple ocean only with a few bump layers
    http://www.newtek.com/forums/showthread.php?t=84053

    soon I will post the ocean and maybe it can help you.
    Intel Core i7-4770 @3.40GHz,GeForce GTX 660 - Ram 8Gb - Win 8.1 64b

  3. #3
    Newbie Member
    Join Date
    May 2008
    Location
    greece
    Posts
    25
    Excellent! Very nice ocean render! Please do elaborate on what you used to create this, I'm very interested.

    All your other works are wonderful too!

  4. #4
    RETROGRADER prometheus's Avatar
    Join Date
    Aug 2003
    Location
    sweden stockholm
    Posts
    14,430
    canīt you add a color layer in the node editor and from there use the light
    incidence layer.

    In node editor..
    Add layer/color layer...set gradient to light incidence.

    Michael

  5. #5
    Newbie Member
    Join Date
    May 2008
    Location
    greece
    Posts
    25
    Hey, thanks! I totally forgot about the color layer! I'm still to manage creating a decent daylight sea, but I'm slowly getting there!

  6. #6
    Newbie Member
    Join Date
    May 2008
    Location
    greece
    Posts
    25
    After hours of tinkering, I think I've come pretty close to the result I want. I've mostly used nodes, but the render time pretty big. I'll post a quick image as soon as I can.

  7. #7
    Globally Illuminated The Dommo's Avatar
    Join Date
    Feb 2007
    Location
    Birmingham UK
    Posts
    813
    Please do - the first iamge looked really good.
    BRACE MEDIA
    Ensuring every picture tells your story.

    New Brace Media website

  8. #8
    Newbie Member
    Join Date
    May 2008
    Location
    greece
    Posts
    25
    Ok, sorry it took me so long, but I was busy doing a few other jobs. Here is a test render of the ocean, tell me what you think.

    Notes: I'm quite happy with the lighting setup, since I'm using 5 lights and no GI, but my object geometry is not really the most optimum one...the sea renders at around 300.000 at this distance, since it uses the Advanced Pixel Subdivision feature, at Pixels Per Polygon setting (I used a weight map).
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	test_render_2.jpg 
Views:	606 
Size:	259.7 KB 
ID:	59557  

  9. #9
    Registered User zardoz's Avatar
    Join Date
    Dec 2003
    Location
    Portugal
    Posts
    1,819
    in my thread above you can download the ocean i created for my oil rigs scene
    http://www.newtek.com/forums/showthr...851#post707851
    Intel Core i7-4770 @3.40GHz,GeForce GTX 660 - Ram 8Gb - Win 8.1 64b

  10. #10
    Newbie Member
    Join Date
    May 2008
    Location
    greece
    Posts
    25
    Thanks! It looks quite good, but it doesn't give me exactly what I want. I "borrowed" one of your layers though, it really helps! I prefer the setup I have going on, since it gives the ability to adjust the color of the ocean regardless of what is reflected. Plus, both textures render at about the same time.

  11. #11
    Relax, it's just yogurt. Maxx's Avatar
    Join Date
    Feb 2003
    Location
    Wilmington, NC
    Posts
    1,207
    It's looking good. The only thing I'd add is put in a slope or y-distance gradient to force some whitecaps on the higher waves. I think it'll help with the overall scene and add to the believability of the ocean surface.
    - I don't mean to be flippant or to enrage you or anything, but you're a psychotic man.
    - I know.
    - A very nice psychotic man.
    - Thank you.

  12. #12
    Newbie Member
    Join Date
    May 2008
    Location
    greece
    Posts
    25
    Here is a newer version, I think I'll call this "final" as far as the general water properties go. I also want to add a wake and foam right around the ship.

    @Maxx: Thanks for the tip, that's certainly a very good way to go, but I ended up using one of my bump procedurals' (crumble) color output to control the input of a gradient. I then added 3 bands of white color (around 0.65, 0.8 and 1.0), while the rest of the gradient is transparent. I prefer this approach better, since the white caps are controlled by the crumble bump alone, rather than the overall bump, which doesn't necessarily give all the peaks.

    I'll keep posting as I add the wake, some minor wake disturbances and the foam around the ship.

    PS: Does anyone know how I could create the foam around the ship without using an image alpha? I use an image alpha to control where foam is visible.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	test_render_5.jpg 
Views:	442 
Size:	293.1 KB 
ID:	59614  

  13. #13
    May the sauce be with you starbase1's Avatar
    Join Date
    Feb 2003
    Location
    London, UK
    Posts
    5,571
    Looks good to me!
    Faith is the opposite of Intelligence.

    Touched by his noodley appendage!
    My Lightwave Graphics & Downloads!!!

  14. #14
    Newbie Member
    Join Date
    May 2008
    Location
    greece
    Posts
    25
    Here's another small update:

    - Waves size reduced by 40%
    - Added the "foam" created by the ship at the back
    - Added the small wake created by the front of the ship.

    I'm quite satisfied by how this is turning out to be. I think the most challenging but will be creating the wakes around the base of the ship.

    Feedback!!!
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	test_render_10.jpg 
Views:	554 
Size:	281.6 KB 
ID:	59673  

  15. #15
    Super Member tribbles's Avatar
    Join Date
    Mar 2005
    Location
    Surrey, UK
    Posts
    391
    Looking pretty nice - not sure about the wake though - although it has been a while since I've seen pictures of it (I remember it on a ferry as not being quite so pronounced a difference to the normal sea).
    I bought a Mac Pro, and it was out of date before it arrived.

    I then bought a MacBook Pro. It, too, was out of date before it arrived.

    Wait a week after I've bought it if you want the latest.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •