Results 1 to 8 of 8

Thread: Can this be done

  1. #1

    Can this be done

    This is just an idea for a script. Im just wondering is it possible to create a volumetric light with a shape ( Light rays ) other then a cyclinder shape ( distant lights ) / cone ( Spot lights. ie a square or a retangle.

  2. #2
    Super Member Red_Oddity's Avatar
    Join Date
    Feb 2003
    Location
    A thousand years from here
    Posts
    3,352
    Well, theoretically, offcourse, yes, hence the name volumetric, if you manage to write a procedural that does just that...

    Or even simpler than that:

    Create an Image (512x512 will do), make it black, then inside that black image make a white square, so it looks like a white square with a big fat black border:

    Create Light, make volumetric
    When in Volumtric Option for Light create a texture Layer, apply the image you just made image, set Blending Mode to Multiply and set Texture Axis to X.
    Duplicate this layer, and on the duplicate set the Texture Axis to Y.
    Duplicate again and set this Texture Axis to Z. (this layer isn't really necesary but it makes sure the cube is really a cube...just making sure )

    Now you have a Volumetric Light that emits a 'volumetric square'

    Easy-peasy-poo
    I have no special talents. I am only passionately curious. - Albert Einstein
    visit my company site : House of Secrets
    visit my personal site : svenneve.com

  3. #3
    Super Member Red_Oddity's Avatar
    Join Date
    Feb 2003
    Location
    A thousand years from here
    Posts
    3,352
    Example normal
    Attached Images Attached Images
    I have no special talents. I am only passionately curious. - Albert Einstein
    visit my company site : House of Secrets
    visit my personal site : svenneve.com

  4. #4
    Super Member Red_Oddity's Avatar
    Join Date
    Feb 2003
    Location
    A thousand years from here
    Posts
    3,352
    Example 2 : Smoke1 Procedural with Multply 500% on top
    Attached Images Attached Images
    I have no special talents. I am only passionately curious. - Albert Einstein
    visit my company site : House of Secrets
    visit my personal site : svenneve.com

  5. #5
    Super Member Red_Oddity's Avatar
    Join Date
    Feb 2003
    Location
    A thousand years from here
    Posts
    3,352
    Example 3: Just the Smoky1 Procedural as complete Alpha:
    Attached Images Attached Images
    I have no special talents. I am only passionately curious. - Albert Einstein
    visit my company site : House of Secrets
    visit my personal site : svenneve.com

  6. #6
    Code Muppet evenflcw's Avatar
    Join Date
    Feb 2003
    Location
    Stockholm, Sweden
    Posts
    2,642
    Very neat red_oddity. I would never have figured something like that would work hadn't you showed us. Thanks!

  7. #7
    Super Member Red_Oddity's Avatar
    Join Date
    Feb 2003
    Location
    A thousand years from here
    Posts
    3,352
    Forgot to mention you have to set the Width and Height Tile to Edge or it won't work (you'll get repeating cubes all over the place)

    Anyway, a lot is possible with volumetrics...
    I have no special talents. I am only passionately curious. - Albert Einstein
    visit my company site : House of Secrets
    visit my personal site : svenneve.com

  8. #8
    Super Member Red_Oddity's Avatar
    Join Date
    Feb 2003
    Location
    A thousand years from here
    Posts
    3,352
    Another for the collection
    Point Light with Cyclone
    Attached Images Attached Images
    I have no special talents. I am only passionately curious. - Albert Einstein
    visit my company site : House of Secrets
    visit my personal site : svenneve.com

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
  •