Results 1 to 8 of 8

Thread: Problem replicating a simple gradient texture in Nodal

  1. #1
    Member TheDAve's Avatar
    Join Date
    Feb 2004
    Location
    Guildford UK
    Posts
    229

    Problem replicating a simple gradient texture in Nodal

    Can any of you nodal experts help me with a problem I am having?

    I'm trying to create an image of Saturn and wanted to add some atmosphere to it (I know it may not be astromically correct, but it looks wrong without it to me). So I thought I'd follow the tutorial here, but just change the colours at the end.

    So I followed the tutorial and ended up with this...



    Using the gradients




    Superb, I have a nice blue atmosphere in the FPrime and F9 render.

    So I thought I would replicate this in Nodal, and use the colour tool node to change the hue.

    Using 2 gradients setup the same (I thought - as shown) I saw this



    i.e. No atmosphere at all.


    So I tried to recreate the original setup using layer nodes (again shown), this time the result was even more wrong.



    Can anyone tell me where I have made a (probably simple) mistake?

    Cheers

    DAve

  2. #2
    Not sure what's up when you tried layer nodes, but it looks like the transparency gradient really went crazy...somehow.

    As for what you were doing wrong with the Nodal gradient attempt, you set it to go from 0 to 90. In Nodal, incidence angles go from 0 to 1 (the cosine of the angle). Set it up at that scale and it should work. Funny little tidbit: I'm pretty sure the old Layer system also used the cosine of the incidence angle, but then re-scaled it to 0-90 to make you THINK it was just the angle.
    8x2.8 Mac Pro, 8 GB RAM, Radeon 2600XT, Mac OS X 10.5.6 (previously: G5 Quad)
    Caution: tech-savvy artist in full-on geek mode. May obsess over technical challenges until solved.

  3. #3
    Member TheDAve's Avatar
    Join Date
    Feb 2004
    Location
    Guildford UK
    Posts
    229
    Cheers weepul, I'll give that a go.

    I assume I'll have to actually calculate the cosine and not just scale 0->90 to 0->1. As cosine 45 degrees == 0.7 not 0.5.

    Cheers,

    DAve

  4. #4
    May the sauce be with you starbase1's Avatar
    Join Date
    Feb 2003
    Location
    London, UK
    Posts
    5,585
    Quote Originally Posted by TheDAve
    I'm trying to create an image of Saturn and wanted to add some atmosphere to it (I know it may not be astromically correct, but it looks wrong without it to me). Cheers

    DAve
    A fuzzy edge is indeed wrong, but there are plenty of Cassini images that show the limb shading towards a pale blue colour.

    Here's one I did recently:
    http://www.starbase1.co.uk/galleries...s-extreme.html

    For accuracy, the subtle blue should be a lot stronger on the limb where the ring shadow falls. I started with something similar to you (non nodal), and lowered the height of the armosphere layer until it was barely above the planet at all. (well under 1 pixel).

    See here for a seriously dramatic NASA image:
    http://science.nasa.gov/headlines/y2...bluesaturn.htm
    Faith is the opposite of Intelligence.

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

  5. #5
    3D Mac Maniac Scazzino's Avatar
    Join Date
    Mar 2003
    Location
    Boston area
    Posts
    2,554
    Here's a Saturn scene I did a while ago with only gradients.

    It's based on this Hubble image.
    MikeS [LWProfile] 30+ Yrs of Award-winning Media DreamLight.com

    Drag-and-drop-dead-easy™ ScreamerNet - DLI Constellation
    BOOK - Creating a 3D Animated CGI Short & 3D CGI Short Films & DLI Blog

  6. #6
    Member TheDAve's Avatar
    Join Date
    Feb 2004
    Location
    Guildford UK
    Posts
    229
    Oddly enough Nick, you were the one i was thinking about with the "not be astromically correct" comment

    Well I tried changing the degree's to cos(degree's) and did not have much more luck. I can see I'm going to have to sit down and have a good think about this. But since the non-nodal texture layers give me roughly what I need this may sit on the back burner for a while.

    Thanks for the help.

    DAve

  7. #7
    Quote Originally Posted by TheDAve
    Cheers weepul, I'll give that a go.

    I assume I'll have to actually calculate the cosine and not just scale 0->90 to 0->1. As cosine 45 degrees == 0.7 not 0.5.
    Not really. That's why I mentioned that I was pretty sure that the old way of doing it was not actually degrees, but the cosine just scaled up to be 0-90. 45 should equal 0.5 in Nodal.
    8x2.8 Mac Pro, 8 GB RAM, Radeon 2600XT, Mac OS X 10.5.6 (previously: G5 Quad)
    Caution: tech-savvy artist in full-on geek mode. May obsess over technical challenges until solved.

  8. #8
    Member TheDAve's Avatar
    Join Date
    Feb 2004
    Location
    Guildford UK
    Posts
    229
    Ah that would explain my last failure.



    DAve

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
  •