Results 1 to 9 of 9
  1. #1

    How to use Bas-relief addon?

    Hello

    This is the addon from :http://blendercam.blogspot.cz/2015/0...ensourced.html adn the addon is on: https://raw.githubusercontent.com/vi...s/basrelief.py and the author, Mr. Vilem Novak made-it so generoselly available to public;

    My problem is that i don't know how to use-it, and there-s no tutorial. This addon works with the standalone Blendercam version ( it shuold be copied under .../addons folder, if I understand correctly. The standalone version of blendercam is : http://blendercam.blogspot.cz/p/down...tallation.html
    ... and the results would be: sampled.jpg
    I'm also new to blender and I want to use Blender with this addon, so any help would be greatly appreciate!

    Thank you in advance
    Last edited by selixis; 06-May-15 at 00:59. Reason: i forgot to put a picture



  2. #2
    Member eppo's Avatar
    Join Date
    Jul 2011
    Location
    Jurmala, Latvia
    Posts
    5,310
    Addon is supposed to work on Blender's BlenderCAM version (it could be used on plain 2.74 where required numpy library is included by default but it won't show up since plain Blender doesn't have BlenderCAM render engine).
    All you need is to set up Scene: arrange your 3d objects as fit and set Camera. To better use Z pass information which is all what needs to be rendered you could set Camera Limits visible and adjust Start/End values so that orange line from Camera covers only your Scene's depth.
    Also, you need to set Render Output to OpenEXR file type and use Compositor window Image nodes to take Z pass to render Output. By default it is set to Color information which you do not need. No lights are needed to get Z pass.
    Rendered image then is set in addon's Input field. Tweak parameters till you find resulting output image fit your needs. Output image from addon is in turn to be used as a texture for Displacement modifier for object you would mill later. BlenderCAM would be used to render tool path.
    http://www.pasteall.org/pic/87803
    http://www.pasteall.org/pic/87804
    Last edited by eppo; 06-May-15 at 17:43.



  3. #3
    Oh... praise the lord allmighty... somebody answered... thank you...thank you... thank you...

    one more thing, please: how to get the addon UI available?
    Last edited by selixis; 07-May-15 at 00:28. Reason: forgot to mention



  4. #4
    Member eppo's Avatar
    Join Date
    Jul 2011
    Location
    Jurmala, Latvia
    Posts
    5,310
    Since we are in Python Support - in Blender, open Python Console and write
    Code:
    import antigravity

    Check your PMs later in a day.



  5. #5
    Hi eppo!

    thank you for help!

    cheers!
    Last edited by selixis; 07-May-15 at 12:34.



  6. #6
    Member
    Join Date
    Jan 2015
    Location
    Egypt, Alexandria
    Posts
    1,566
    So... how do I use this again?

    How do I get the bas relief to work?



  7. #7
    there s indeed very few information about this great and underestimated feature
    a lot of experimentation comes with the settings, in my case the object further than the camera is better defined in the Z pass than the closer oner
    probably has to do with camera settings

    "To better use Z pass information which is all what needs to be rendered you could set Camera Limits visible and adjust Start/End values so that orange line from Camera covers only your Scene's depth."
    hope this tip will help me out



  8. #8
    A few days ago i discover blender and i found on this page this addon bas-relief but when i click on calculate relief i got this error:

    Traceback (most recent call last):
    File "D:\Apps\blender\blender-2.76-windows64\blender-2.76-windows64\2.76\scripts\addons\basrelief.py", line 946, in execute
    relief(br)
    File "D:\Apps\blender\blender-2.76-windows64\blender-2.76-windows64\2.76\scripts\addons\basrelief.py", line 717, in relief
    tonemap(nar)
    File "D:\Apps\blender\blender-2.76-windows64\blender-2.76-windows64\2.76\scripts\addons\basrelief.py", line 601, in tonemap
    maxheight=i.max()
    File "D:\Apps\blender\blender-2.76-windows64\blender-2.76-windows64\2.76\python\lib\site-packages\numpy\core\_methods.py", line 26, in _amax
    return umr_maximum(a, axis, None, out, keepdims)
    ValueError: zero-size array to reduction operation maximum which has no identity

    location: <unknown location>:-1

    If anyone can help me with a solution or a place where to find an answer i will appreciate very much. This is the single web site where i found how to use this addon.



  9. #9
    This is the single web site where i found how to use this addon.


    Ciobanu, I'm getting the same error. not sure what I am doing wrong. ( This looks like one of the best ways to achieve a bas relief without spending a fortune on software. I really need to figure it out!! driving me nuts!!



Posting Permissions

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