Home Technical Talk

Blender Mega Thread

Replies

  • musashidan
    Options
    Offline / Send Message
    musashidan high dynamic range
    @melviso t hasn't been released yet, but my point was that the addon is built on .fbx, so the epic team must have full confidence in its compatibility. Maybe the nightlies have a bug in the exporter?
  • melviso
    Options
    Offline / Send Message
    melviso polycounter lvl 10
    I don't know but these are the issues i am having.I am using the official release v. 2.82a. Maybe I will use an older version. Can I ask what version u are using?
    Btw excellent work with the gun model :- )
  • Justo
    Options
    Offline / Send Message
    Justo polycounter
    Great work Danny! But also GODDAMMIT I also had a M249 model in the works in Blender hahahahaha

    Now I have a good model of reference to compare myself against though ;) 
  • Alex_J
    Options
    Offline / Send Message
    Alex_J grand marshal polycounter
    @musashidan , excellent SAW!

    I want to move over to blender since I have no real reason to stick with maya anymore. Your experiment here is really convincing me to give it a go. My only concern is that I need to do animations sometimes too.
  • musashidan
    Options
    Offline / Send Message
    musashidan high dynamic range
    @melviso thanks mate. I'm on the nightlies. I haven't got UE4 installed on this machine at the moment so can't test. You should download the latest from buildbot and test there.
  • musashidan
    Options
    Offline / Send Message
    musashidan high dynamic range
    Justo said:
    Great work Danny! But also GODDAMMIT I also had a M249 model in the works in Blender hahahahaha

    Now I have a good model of reference to compare myself against though ;) 
    Haha! Beat you to it.  ;) Was fun to model. I didn't use any high poly baking at all. This was wysiwyg in-game final topology and bevel shader baking in Blender. Substance for additional normal detailing.

    @Alex Javor Cheers mate. Yeah, modeling in Blender is really slick. As for animation, I haven't done a lot of experimenting, but I bought the ARP addon and humanoid rigging/skinning>UE4(or Unity) with the export hierarchy presets works great. I was actually pretty amazed at how accurate the auto-rig setup was. Same idea as Mixamo, but even the fingers are built perfectly and it has a powerful auto-facial rig setup aswell. Plus, I tested the mocap retarget feature and thtat worked first time with little hassle. The only issue with animating in Blender, atm, is the poor performance, but not an issue if your're just re-targeting in UE4/Unity.

    @Eric Chadwick Thanks mate, you've kept my perfect record on here: 8 projects posted - 8 front pages. :D
    I did actually post this project here last week of Feb. Was hoping to do a breakdown of my 'first project in Blender' and what the experience was like, what I learned. https://polycount.com/discussion/217834/m249-light-machine-gun#latest
  • tynew
    Options
    Offline / Send Message
    tynew polycounter lvl 9
    @musashidan
    Regarding the bevel shader, it's pretty tight on the model itself. If I wanted exaggerated super soft edges how far can the bevel shader go on a complex piece of geo? Also thanks for your youtube series on going from max>blender its quite helpful. 
  • musashidan
    Options
    Offline / Send Message
    musashidan high dynamic range
    @tynew yes, I wanted this model with more realistic, sharper bevels for portfolio renders. The bevel shader roundness can be pushed as far as a regular sub-d bake. 


  • rollin
    Options
    Offline / Send Message
    rollin polycounter
    @musashidan , excellent SAW!

    I want to move over to blender since I have no real reason to stick with maya anymore. Your experiment here is really convincing me to give it a go. My only concern is that I need to do animations sometimes too.
    Maya is really good at animations but I can say that blender is really nice at it too. Using it for all my needs and as musashidan said: if there is really something you are missing there is probably an addon available for this.
    So I can absolutely recommend Blender in terms of animation
  • wilson66
    Options
    Offline / Send Message
    wilson66 polycounter lvl 8
    Is there something like the Modo UV transform operator in Blender?

    -> https://www.youtube.com/watch?v=Ykn1W54u_p4
  • f1r3w4rr10r
    Options
    Offline / Send Message
    f1r3w4rr10r polycounter lvl 9
    @wilson66 I am not sure blender has something quite the same. My first instinct would be to look into the Shrinkwrap modifier.
  • m00k
    Options
    Offline / Send Message
    m00k polycounter lvl 3
    @musashidan Great work man! Looks awesome!
  • musashidan
    Options
    Offline / Send Message
    musashidan high dynamic range
    @m00k Thanks mate, appreciate it.
  • gnoop
    Options
    Offline / Send Message
    gnoop polycounter
    melviso said:
     Faces that  have normals facing  the correct way get screwed up on import to UE4. What is going on?

    I don't work with U4   but recall I had problems with using "mirror global" and local  commands in Blender 2.5 .   Mirrored object looks just fine in Blender but export goes always with flipped normals.         Other 3d soft  do it too sometimes.
    So a good habit is to  mirror anything  on sub-object/mesh level.  

  • Justo
    Options
    Offline / Send Message
    Justo polycounter
    Is it possible to call the knife tool via python? I'm using the default line from the docs (bpy.ops.mesh.knife_tool(use_occlude_geometry=Trueonly_selected=Falsewait_for_input=True)) without any luck.

    I'm reading that it's not possible to edit the mesh using it, but I'm not looking to edit the mesh - can I simply call the tool somehow?
  • m00k
    Options
    Offline / Send Message
    m00k polycounter lvl 3
    @Justo
    Lot of these are context sensitive in blender so you can't call them from the python interpreter but can only call them when 3d view is active.

    The following works for me:
    I put it in a pie menu and run the following commands.
    bpy.ops.mesh.knife_tool("INVOKE_DEFAULT") for legacy knife tool
    "INVOKE_DEFAULT" is default i think for blender operation calling, hence the name ;)
    I think it might even work just as bpy.ops.mesh.knife_tool() but im not sure

    bpy.ops.wm.tool_set_by_id(name='builtin.knife') for fancy 2.8 left mouse button tool



  • Justo
    Options
    Offline / Send Message
    Justo polycounter
    @m00k

    Well that's...interesting. Using the "INVOKE_DEFAULT" made the script work. All I'm doing is that if I have a mesh selected in object mode, switch it to edit mode and call the tool. It's...frustrating thinking how I could know about this one, since in the same docs there are only three parameters displayed and yours isn't there. In any case, thanks for the help M00k :)

    but can only call them when 3d view is active.
    Right, that's what I was reading on that other page. The term 3D view refers to whenever the viewport window is active, right?
  • f1r3w4rr10r
    Options
    Offline / Send Message
    f1r3w4rr10r polycounter lvl 9
    @Justo the 3D viewport is what blender refers to as "3D View". I am just stressing it this way because I am fairly sure that in some documentation parts every single window is a viewport.
  • musashidan
    Options
    Offline / Send Message
    musashidan high dynamic range
    The UI is completely modular so there is no tradtional 3D viewport as any panel can be anything, with 3d view just being one of the options.
  • wilson66
    Options
    Offline / Send Message
    wilson66 polycounter lvl 8
    @wilson66 I am not sure blender has something quite the same. My first instinct would be to look into the Shrinkwrap modifier.
    Thanks, I will look into it. Doesn't seem like Blender can do the exact same though unfortunately.

    Different question: is it somehow possible to model symmetrically in Blender? Meaning, if I e.g. insert an edge using the knife tool on one side of the object, it will automatically insert an edge on the other side?

    I can of course delete one half of the object, apply a mirror modifier, and it will be mirrored to the other side. Thats not what I'm talking about though. What if I can't delete half the object, if the entire object needs to stay as is because the UV layout of the object needs to stay the same?
  • cptSwing
    Options
    Offline / Send Message
    cptSwing polycounter lvl 11
    Was hoping to do a breakdown of my 'first project in Blender' and what the experience was like, what I learned. https://polycount.com/discussion/217834/m249-light-machine-gun#latest
    I'd certainly be interested!
  • m00k
    Options
    Offline / Send Message
    m00k polycounter lvl 3
    @justo glad i could help buddy, I found that stuff out by looking in the source code and fixing bugs in peoples plugins ;).

    I'd read a breakdown of that gun!
  • Cirno
    Options
    Offline / Send Message
    Cirno polycounter lvl 5
    wilson66 said:
    Is there something like the Modo UV transform operator in Blender?

    -> https://www.youtube.com/watch?v=Ykn1W54u_p4
    http://renderhjs.net/textools/blender/#meshtexture
    wilson66 said:
    is it somehow possible to model symmetrically in Blender?
    https://docs.blender.org/manual/en/latest/modeling/meshes/editing/mesh_options.html
    Although it only works for transforming existing vertices and not for adding new ones
  • another caveman
    Options
    Offline / Send Message
    another caveman greentooth
    Good day !
    Has anyone got an addon in mind for keeping normals when separating/splitting an object ?
    All I find is normal transfer addons :/ I'd like to skip this step and have my stuff separated seamlessly :)
  • MmAaXx
    Options
    Offline / Send Message
    MmAaXx polycounter lvl 10
    Good day !
    Has anyone got an addon in mind for keeping normals when separating/splitting an object ?
    All I find is normal transfer addons :/ I'd like to skip this step and have my stuff separated seamlessly :)
    you can duplicate the original un-splitted object and transfer the normal using the data transfer modifier.
    But yes, an option would be great.
  • guitarguy00
    Options
    Offline / Send Message
    guitarguy00 polycounter lvl 6
    Has Blender added proper pinch functionality into the latest release? Something like in 3DS where it applies the loops to the selected edges and you can change the quantity of loops and pinch factor along multiple edges at the same time. It really is much quicker than the edge-offset method you currently have to use in Blender.
  • pior
    Options
    Offline / Send Message
    pior grand marshal polycounter
    @MmAaXx , @another caveman : FWIW I was just recently wondering about the very same thing (wouldn't it be cool if there was a way to preserve/set all normals as custom at the time of splitting !) ; but then found out that there is a very good alternative available.

    Basically all the functionality of the Data Transfer modifier is available as a one-click operator (searchbox for "transfer" and it's there). Meaning that there is no need to apply the modifier to multiple objects > manually selecting the source model to each > and manually applying the modifier. All that can be combined into one operation : select all the target objects first > select the source object last > run the operator. Of course it's not quite the same as splitting without affect normals in the first place but still achieves the same restult, and fast.

    https://www.youtube.com/watch?v=K6bPzpj_r4c

    If anything I'd say that it is probably *more* usueful than an hypothetical advanced splitting operation without affecting normals, as it allows to edit things very smoothly after the fact - and editing normals after the fact is usually the one annoying bottleneck.
  • wilson66
    Options
    Offline / Send Message
    wilson66 polycounter lvl 8
    Cirno said:
    wilson66 said:
    Is there something like the Modo UV transform operator in Blender?

    -> https://www.youtube.com/watch?v=Ykn1W54u_p4
    http://renderhjs.net/textools/blender/#meshtexture
    wilson66 said:
    is it somehow possible to model symmetrically in Blender?
    https://docs.blender.org/manual/en/latest/modeling/meshes/editing/mesh_options.html
    Although it only works for transforming existing vertices and not for adding new ones
    Thats what I need though. Add geometry symmetrically. And I think that any good modeling software should be able to do that, suprised Blender can't do it. I am aware, obviously, that Blender can move vertices around symmetrically.

    I will look into the Textools addon, thanks. Doesn't seem to work with 2.8...
  • zachagreg
    Options
    Offline / Send Message
    zachagreg ngon master
    wilson66 said:
    Cirno said:
    wilson66 said:
    Is there something like the Modo UV transform operator in Blender?

    -> https://www.youtube.com/watch?v=Ykn1W54u_p4
    http://renderhjs.net/textools/blender/#meshtexture
    wilson66 said:
    is it somehow possible to model symmetrically in Blender?
    https://docs.blender.org/manual/en/latest/modeling/meshes/editing/mesh_options.html
    Although it only works for transforming existing vertices and not for adding new ones
    Thats what I need though. Add geometry symmetrically. And I think that any good modeling software should be able to do that, suprised Blender can't do it. I am aware, obviously, that Blender can move vertices around symmetrically.

    I will look into the Textools addon, thanks. Doesn't seem to work with 2.8...

    This is incorrect the mirror modifier works live and can be viewed while working.

    Granted it isn't like Maya's symmetry but rather 3DS Max's
  • Cirno
    Options
    Offline / Send Message
    Cirno polycounter lvl 5
    wilson66 said:
    I will look into the Textools addon, thanks. Doesn't seem to work with 2.8...
    https://github.com/SavMartin/TexTools-Blender/releases/tag/TexTools_2.80
  • Prime8
    Options
    Offline / Send Message
    Prime8 interpolator
    zachagreg said:
    wilson66 said:
    Cirno said:
    wilson66 said:
    Is there something like the Modo UV transform operator in Blender?

    -> https://www.youtube.com/watch?v=Ykn1W54u_p4
    http://renderhjs.net/textools/blender/#meshtexture
    wilson66 said:
    is it somehow possible to model symmetrically in Blender?
    https://docs.blender.org/manual/en/latest/modeling/meshes/editing/mesh_options.html
    Although it only works for transforming existing vertices and not for adding new ones
    Thats what I need though. Add geometry symmetrically. And I think that any good modeling software should be able to do that, suprised Blender can't do it. I am aware, obviously, that Blender can move vertices around symmetrically.

    I will look into the Textools addon, thanks. Doesn't seem to work with 2.8...

    This is incorrect the mirror modifier works live and can be viewed while working.

    Granted it isn't like Maya's symmetry but rather 3DS Max's
    If I understood correclty, he is looking for a solution that keeps unique UVs while working symetrically.
  • f1r3w4rr10r
    Options
    Offline / Send Message
    f1r3w4rr10r polycounter lvl 9
    @zachagreg @Prime8 He is looking for a way to do symmetric operations on a non-symmetric mesh.

    @wilson66 In my experience Sculpt mode can do that, but there is no way to do that in mesh editing currently.

    Granted, this could be included for projection-based operators, that do not work directly on existing vertices, but base Blender can't do that as far as I know.
  • another caveman
    Options
    Offline / Send Message
    another caveman greentooth
    pior said:
    @MmAaXx , @another caveman : FWIW I was just recently wondering about the very same thing (wouldn't it be cool if there was a way to preserve/set all normals as custom at the time of splitting !) ; but then found out that there is a very good alternative available.

    Basically all the functionality of the Data Transfer modifier is available as a one-click operator (searchbox for "transfer" and it's there). Meaning that there is no need to apply the modifier to multiple objects > manually selecting the source model to each > and manually applying the modifier. All that can be combined into one operation : select all the target objects first > select the source object last > run the operator. Of course it's not quite the same as splitting without affect normals in the first place but still achieves the same restult, and fast.

    https://www.youtube.com/watch?v=K6bPzpj_r4c

    If anything I'd say that it is probably *more* usueful than an hypothetical advanced splitting operation without affecting normals, as it allows to edit things very smoothly after the fact - and editing normals after the fact is usually the one annoying bottleneck.

    This will do for me indeed. thanks.
  • wilson66
    Options
    Offline / Send Message
    wilson66 polycounter lvl 8
    Is there some way to define a procedurally generated weight map for the displace modifier? 

    I can use a vertex group to define which vertices the displace modifier actually affects. It either affects a vertex in that group with 100%, or it doesn't effect it at all if the vertex isn't in the group.

    But what if I need to displace the object more gradually? Affect those vertices e.g. with 100%, the others with 50%, 40%, 30%? Can the displace modifier use a procedural weight map, or do I need to create a texture image for this?
  • thomasp
    Options
    Offline / Send Message
    thomasp hero character
    @wilson66 A vertex group can use weights other than 100%. Check out the weight slider at the bottom of the rollout.
  • Prime8
    Options
    Offline / Send Message
    Prime8 interpolator
    wilson66 said:
    Is there some way to define a procedurally generated weight map for the displace modifier? 

    I can use a vertex group to define which vertices the displace modifier actually affects. It either affects a vertex in that group with 100%, or it doesn't effect it at all if the vertex isn't in the group.

    But what if I need to displace the object more gradually? Affect those vertices e.g. with 100%, the others with 50%, 40%, 30%? Can the displace modifier use a procedural weight map, or do I need to create a texture image for this?
    I'm not sure if I understand correctly what you want to achieve.
    The weight of each vertex controls the strength of the modifier, if you set the weight to 10%, it will only be influences by 10%.
     I don't think there is a way to set the vertex weight procedurally,
    instead you will have to assign or paint them. 

    Edit: You can feed a procedural texture into a vertex edit modifier before the displacement modifier, though it is a bit tricky to find working values. 


  • pior
    Options
    Offline / Send Message
    pior grand marshal polycounter
    Hi all -
    Does anyone know of a clever way (hidden menu ? Addon ?) to have a much clearer showcase of all textures available in a scene ? Ideally with much bigger previews, and without having it contained in a popup menu that instantly disappears. Basically something that would look and operate similarly to the browser to select an external texture file.

    The issue is the same in 2.7x and 2.8x - the thumbnails in the selector popup are just soooo tiny ! It's useful for quickly selecting a texture that one knows about already of course, but this is a real pain for browsing/searching without a point of entry.



    I semi-regularly need to re-export a texture of unknown name used in a scene/packed in a .Blend, and these microscopic thumbnails make it a real pain. And of course the fact that the only way to show bigger images is to select them one by one is a drag.

    TLDR : I just want a big list/grid with big thumbnails :D At the very least as big as the sculpting brush previews in 2.7x

    Any thoughts ? FWIW the only workaround I know is to select an object with the desired texture on it and enable texture paint, as that brings it in the image viewer. Only solves part of the issue though.
  • f1r3w4rr10r
    Options
    Offline / Send Message
    f1r3w4rr10r polycounter lvl 9
    @pior I don't think there is anything like that yet. But there are plans for an "asset manager". Have a look here: https://code.blender.org/2020/03/asset-manager/

    In the meantime, you might want to look into this add-on: https://www.blendernation.com/2018/11/19/add-on-simple-asset-manager/
  • Cirno
    Options
    Offline / Send Message
    Cirno polycounter lvl 5
    I made a quick update to 2.8, didn't fully tested it, so something may not work
  • pior
    Options
    Offline / Send Message
    pior grand marshal polycounter
     @Cirno Oh wow this is excellent !! Great work on this, this is pretty much exactly what I was hoping to find and for both 2.78 and 2.8 too - just perfect :) Thanks !

    @f1r3w4rr10r : This simple asset manager seems pretty cool on paper but I found it to be a bit confusing/unclear, at least in its present iteration. Thanks for the suggestion though, will keep my eyes on it.
  • melviso
  • musashidan
    Options
    Offline / Send Message
    musashidan high dynamic range
    I'm trying to recreate this OSL node setup from Max in Blender. I've loaded the OSL script in Blender, but it doesn't work and I'd rather not use OSL anyway as it doesn't support GPU. 

    Basically, I have 2 displacement maps: 1 baked from Zbrush with a 0 mid-point, and the other is a 3-channel RGB map that I painted in Mari with a mid-point of 0.5.

    I need to average the sum of the 2 maps and normalise the scalar mid-point as floats(32-bit disp maps) I'm doing this in Max with a PlusMinus node. Here's the graph from Max and the codes below.


    // Adds (and optionaly scales) two colors
    // ColorAdd.osl, by Zap Andersson
    // Modified: 2018-02-08
    // Copyright 2018 Autodesk Inc, All rights reserved. This file is licensed under Apache 2.0 license
    // https://github.com/ADN-DevTech/3dsMax-OSL-Shaders/blob/master/LICENSE.txt

    shader plusMinusAverage
    [[ string help = “The Plus Minus Average utility node allows you find the sum, difference or average of a set of input attributes. It has three parts — two or more input attributes, an operator that you apply to the attributes, and an output attribute that holds the result of the operation.”,
    string label= “plusMinusAverage (color)”,
    string category = “Math\Color” ]]
    (
    int Operation = 0
    [[ string widget=“mapper”,
    string help = “Operation controls the mathematical operation done by this node. It has four possible values. No operation: The first input is copied to the output. All other inputs are ignored. Sum: All of the inputs are added together, and the output is set to their sum. Subtract: The output is set to the first input, minus all the other inputs. Average: The output is set to the sum of all the inputs, divided by the number of inputs.”,
    string options=“No:0|Sum:1|Subtract:2|Average:3”,
    int editable=0 ]],
    int NumOfInput = 1 [[ string label = “Number of Input”,
    int min = 1,
    int max = 4]],
    float input_3D_0 = 0.0 [[ string label = “input 3D[0]” ]],
    float input_3D_1 = 0.0 [[ string label = “input 3D[1]” ]],
    float input_3D_2 = 0.0 [[ string label = “input 3D[2]” ]],
    float input_3D_3 = 0.0 [[ string label = “input 3D[3]” ]],
    output float Out = 0.0,
    )
    {
    if (Operation == 0) {
    Out = input_3D_0;
    }
    if (Operation == 1) {
    Out = input_3D_0 + input_3D_1 + input_3D_2 + input_3D_3;
    }
    if (Operation == 2) {
    Out = (input_3D_0 - input_3D_1 - input_3D_2 - input_3D_3);
    }
    if (Operation == 3) {
    Out = (input_3D_0 + input_3D_1 + input_3D_2 + input_3D_3)/NumOfInput;
    }
    }


    EDIT: solved by NudelZ on the BA forums. Here's the solution for posterity and anyone else interested:



    Midlevel group node



  • Daf57
    Options
    Offline / Send Message
    Daf57 polycounter lvl 9
    Hi,
    Still finding my way around Blender. I can't seem to find any AA filters, coming from V-Ray I'm expecting to see a few, i.e. Quadratic, Mitchell-Natravali, etc.... I did see in the 2.79 docs (https://docs.blender.org/manual/en/2.79/render/blender_render/settings/antialiasing.html) that they were available for that version - did they remove the AA filters in 2.8?
    If so what are our options as far as filtering?
    Thanks
    Daf

  • wilson66
    Options
    Offline / Send Message
    wilson66 polycounter lvl 8
    Really stupid, quick question: I accidentally pressed some shortcut in combination with some pen movement, and now the area encircled in red is scaled down really small. What do I need to do to scale this back up? 
  • Tiles
    Options
    Offline / Send Message
    Tiles greentooth
    Hover over the sidebar area, hold down ctr + middle mouse button, and drag. To reset the sidebar to its original state press hotkey home.
  • f1r3w4rr10r
  • Daf57
    Options
    Offline / Send Message
    Daf57 polycounter lvl 9
    Hey thanks @f1r3w4rr10r - is that just for the Workbench renderer tho? Odd that there is no other mentions of AA filtering anywhere else.
  • Daf57
    Options
    Offline / Send Message
    Daf57 polycounter lvl 9
    Right, well I think I found my answer. For Eevee the AA filtering is in the Render Settings>Film>Filter Size
    For Cycles: Render Settings>Film>Pixel Filter - Filters include Gaussian, Box & Blackman-Harris.

    Daf


  • Udjani
    Options
    Offline / Send Message
    Udjani interpolator
    Hey @musashidan, I saw some tutorials about baking the edge shader and they all used the edge split modifier to ''fix'' the shading before baking, this works fine on blender, but when you export to other softwares you will get the usual artifacts cuz of avaraging normals without uv break. 

    So i am wondering, did you break the uv's for pretty much every tiny details for the gun you made? 
  • pior
    Options
    Offline / Send Message
    pior grand marshal polycounter
    Question to you all - does anyone know of a reliable way (as in : you tested it yourself) to get .blend files thumbnails to show a scene preview in windows files explorer ? I've definitely had that in the past around an early 2.7 version but I can't seem to get it to work now.



    Of course I do *not* mean the thumbnails inside the Blender File Open/Save As windows, as these work just fine.

    "Solutions" posted online mostly point to running blender.exe -r to register the extension but if I am not mistaken this is completely unrelated to the thumbnails themselves. Found a post mentioning duplicating a registry key and placing it at a location that the installer missed but that didn't do it either.

    Note that I personally run the non-installer version of Blender but I've of course ran the installer in order to get this to work, but to no result. I suspect that one old installer in particular might do the trick ?

    If possible I'd like it to not mess up or change the double click association (currently have it setup to 2.81, but might need to change it to 2.78 on a per-project basis) but I suspect this part is easy to tweak.
Sign In or Register to comment.