• Login
sketchucation logo sketchucation
  • Login
🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

[Plugin] podium_texture+bumpmap script 20101211

Scheduled Pinned Locked Moved Plugins
1 Posts 1 Posters 4.2k Views 1 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    TIG Moderator
    last edited by 11 Dec 2010, 18:55

    See here for download http://forums.sketchucation.com/viewtopic.php?p=293677#p293677


    TIG (c) 2010
    All Rights Reserved.
    THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
    WARRANTIES,INCLUDING,WITHOUT LIMITATION,THE IMPLIED WARRANTIES OF
    MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.


    podium_texture+bumpmap.rb


    Loaded by SKMtools.rb in the ../Plugins/ folder.
    Adds a new tool:
    podiumtexturebumpmap(materialname, folder, boolean)
    It requires other scripts - material.export_skm.rb plus
    material.save_bumpmap.rb, material.save_bumpmapinverted.rb
    and the associated .jar files for each of those scripts.
    To run type
    podiumtexturebumpmap("Brick66","C:\Temp\MyPodiumSKMs")
    It finds the Model's Material named "Brick 66" and saves a SKM of it to the
    specified folder [that must exist], with a bumpmap with the same name.
    If the 3rd argument ['boolean'] is given 'true' the bumpmap is 'inverted'.
    The SKM is name with a 'preffix' - 'PODIUM_Brick_66.skm' and the bumpmap as
    'PODIUM_Brick_66-bumpmap.png', the Material.texture IF any is also made
    named 'PODIUM_Brick_66.pjpg' [or .png as appropriate] - Note that this
    name might not match the texture.name inside the SKM itself at all...
    It returns a three element array:
    [path_to_material.skm, path_to_bumpmap.png, path_to_texture]
    The 2nd and 3rd elements might be nil if there is no texture associated
    with the material [the bumpmap is little use on a 'flat' material!]


    Donations:
    By Paypal.com to info @ revitrev.org PayPalButton


    Version:
    1.0 20101206 First issue


    TIG

    1 Reply Last reply Reply Quote 0
    • 1 / 1
    1 / 1
    • First post
      1/1
      Last post
    Buy SketchPlus
    Buy SUbD
    Buy WrapR
    Buy eBook
    Buy Modelur
    Buy Vertex Tools
    Buy SketchCuisine
    Buy FormFonts

    Advertisement