Home Technical Talk

Blender Mega Thread

Replies

  • Justo
    Offline / Send Message
    Justo polycounter
    I didn't finish the video, but I think the situations are different: in the video, you know exactly which objects you want to have this new material. In my case, I don't. I am using Blender as my main hub in which I will import OBJ/FBXs that I take elsewhere to work on. When I bring them back, the materials I initially exported them out with will now be created as new materials, usually called something like "OldMaterialName.001". 

    My intentions would be to have a script or something in which I can tell it "search in the scene for all instances of the material 'Material A', and replace those with "Material B". 
  • Tiles
    Offline / Send Message
    Tiles greentooth
    Well, you could simply copy over the nodes from material b and paste it into material a. But that's of course just useful in some cases.
  • pior
    Offline / Send Message
    pior grand marshal polycounter
    Hello all -
    In 2.8+, does anyone know how to make "Frame offset" (screen.frame_offset) behave as it should when triggering it with alt+mousewheel ? It is extremely slow compared to the 2.7 behavior. This is not a performance issue on my end as scrubbing the timeline (by grabbing the cursor) is as smooth as responsive as one would expect (still a little bit slower than 2.7, but acceptable).

    I assume that the mousewheel input  is somehow trying to execute too many times at once. It is infuriating when checking for deformation errors, adjusting weights, and so on.
  • Zeist
    Offline / Send Message
    Zeist polycounter lvl 8
    Justo said:
    My intentions would be to have a script or something in which I can tell it "search in the scene for all instances of the material 'Material A', and replace those with "Material B". 
    https://docs.blender.org/manual/en/latest/addons/materials/material_utils.html

    Try this.
    Should be in your addon's for Blender already just disabled.
  • gnoop
    Offline / Send Message
    gnoop polycounter
    Materials  behavior is and have always been a huge flaw  in Blender IMO.     In Max for example if you import an object   it asks if it  expected to usealredy  existing material in your scene.    Blender just adds 001 to both material and textures .     You end up with a huge mess of materials and textures : Material.001, material.002  and so on .      Same with copying  materials from one object to another .    So tremendously inconvenient  and tedious  to keep in order
  • gnoop
    Offline / Send Message
    gnoop polycounter
    Justo said:

    My intentions would be to have a script or something in which I can tell it "search in the scene for all instances of the material 'Material A', and replace those with "Material B". 

    The only way  I know o keep materials in order  is saving another blender file for materials only  and   use "Linked" materials  in your master file.    It doesn't do it exactly but just  makes the switch  not so many time necessary 
  • sinhead
    Offline / Send Message
    sinhead polycounter lvl 6
    garciiia said:
    Do you think that Blender Guru ist the best resource to start learning the software?
    I have some problems with the kind of tutorials where people explain how to open files and similar "beginner"-friendly content.
    Maybe you can recommend me a site or channel which explains the software to experienced users who just switch to other software.
    I don't mind paying for tutorials.

    I found Blender Cloud tutorials useful. 
    For me "From Maya and Max to Blender" made the switch easy.
  • wilson66
    Offline / Send Message
    wilson66 polycounter lvl 8
    Found the problem. Ignore.
  • garciiia
    Offline / Send Message
    garciiia polycounter lvl 3
    Blender stops responding when i try to go into rendered viewport. That only happens when i try to render Volume (Trying to give Liquid a color but it's solid, not fluid.... maybe my hardware is just not good enough? i5 2500k, 16gb ram, rtx 480.. I am using Cycles with GPU Compute selected. Or could it be that my HDD is too slow?
    Yesterday everything stopped moving. I had sound but both screens were frozen after hitting Rendered Viewport. The Viewport also wont change anything when i change the volume settings.. so maybe it's the GPU?
  • f1r3w4rr10r
    Offline / Send Message
    f1r3w4rr10r polycounter lvl 9
    That definitely sounds like your GPU is overloaded, if even things outside of Blender stop responding. Or your CPU is maxed out and there's not enough compute around for your OS to even send draw calls.
  • garciiia
    Offline / Send Message
    garciiia polycounter lvl 3
    That definitely sounds like your GPU is overloaded, if even things outside of Blender stop responding. Or your CPU is maxed out and there's not enough compute around for your OS to even send draw calls.

    Is there anything I can do? It even crashes when i just add it and limit the render viewport to just the corner of the object.
  • f1r3w4rr10r
    Offline / Send Message
    f1r3w4rr10r polycounter lvl 9
    You could try with different performance options in the render properties. And since this is a volume, you could also try reimporting the cache as an OpenVDB.
  • myclay
    Online / Send Message
    myclay polycounter lvl 10
    This sounds like your GPU is not stable under certain loads.
    In this situation, I would use something like MSI Afterburner to underclock the GPU.
    It might be enough to do -50 mhz on the Core Clock to get the GPU stable again if that fails go further down with the numbers.
    https://www.msi.com//page/afterburner

    for AMD cards you could try to look into their help
    https://www.amd.com/en/support/kb/faq/dh2-020




  • f1r3w4rr10r
  • Amiminoru
  • gnoop
    Offline / Send Message
    gnoop polycounter
    Do somebody know a way to  make group of objects, several lods for example  behave as a single object accepting modifiers?  Like groups or linked objects in 3dMAx?      Kind of "library override" for linked collection that woukld keep linked collection as  a single object available for modifiers  and I could switch the lods in the link origin?

    With some addons maybe?   Sverchok?    Animation  nodes?    an easiest way?           
  • rpopovici
    Offline / Send Message
    rpopovici polycounter lvl 5
    Hey guys,

    I am working on a new node based project for Blender, called Power Nodes
    Feel free to C&C there if you wish..



  • gnoop
    Offline / Send Message
    gnoop polycounter
    rpopovici   is your addon  accessible somehow  ?    Looks cool
  • rpopovici
    Offline / Send Message
    rpopovici polycounter lvl 5
    @gnoop not yet, but I will make it available soon enough
  • HammerB
    Offline / Send Message
    HammerB polycounter lvl 11
    Hi, I'm getting back into modelling and I'm helping some friends with their project. They wanted to use Blender and since I don't want to pay for max (or pirate it) I've decided to give it a shot and I'm having a ton of fun. But there are things that confuse me a lot.
    I'm feeling confused about the sharp-smooth edges, my friend developed a pipeline in which they usually use weighted normals (for some reason) and that's where problems start for me. I'm used to make a high poly model, do a low poly and bake, making each uv island a separate smoothing group. But Blender works differently so I don't know where to place a sharp edge, and how they relate to uv seams. Should I make a seam wherever i have a Sharp edge?
  • Justo
    Offline / Send Message
    Justo polycounter
    @HammerB Sharp edges would be the same as hard edges in Maya afaik, or smoothing group divisions in Max. Other than that, same rules apply. Different names or methods, but the same thing happening in all of them: you're breaking the vertex normals in those edges you select.

    Generally speaking, you'd always want sharp edges to be UV seams, but not all UV seams need to be sharp edges. 
  • HammerB
    Offline / Send Message
    HammerB polycounter lvl 11
    Justo said:
    @HammerB Sharp edges would be the same as hard edges in Maya afaik, or smoothing group divisions in Max. Other than that, same rules apply. Different names or methods, but the same thing happening in all of them: you're breaking the vertex normals in those edges you select.

    Generally speaking, you'd always want sharp edges to be UV seams, but not all UV seams need to be sharp edges. 
    Right, like the unavoidable seam in a cylinder, right? that one wouldn't be sharp. I think I get it a little bit. Thanks Justo.
  • f1r3w4rr10r
    Offline / Send Message
    f1r3w4rr10r polycounter lvl 9
    Honestly I also wouldn't say that all hard egdes need to be seams. Sometimes you want to use it as a stylistic tool and a seam would just make it more complicated to maintain the model afterwards.
    Yes I know that hard edges and seams duplicate the vertex data each on their own and that when you have both on an edge, you kinda "save" data because you only have double the vertex data and not four times the amount. But still I wouldn't take this like a word from a higher power and say it always has to be this way. Know the reasons why you would do it and then decide each case for yourself. The other argument I keep seeing is that it gives you better bake results, but this becomes less relevant when you do either low poly or mid poly models. Especially when the latter go directly in a game and you achieve the smoothing with shaders for example.
  • Justo
    Offline / Send Message
    Justo polycounter
    HammerB said:
    Right, like the unavoidable seam in a cylinder, right? that one wouldn't be sharp. I think I get it a little bit. Thanks Justo.
    Yup, exactly.


    @f1r3w4rr10r I agree with you, that's why I began that statement with the caveat of 'Generally speaking'. I'm working for mobile games here and sometimes the res of textures will be so low that having one big shell with a few hard edges applied, is easier to work with in Photoshop and looks identical as if I had cut the seams at the hard edges....And then some "purists" in the team will not like this and tell me to go back and separate shells.

    At the end of the day I think that what matters most is how the end result looks, and if you're saving a minimal amount, or adding it, by using unconventional methods, it shouldn't scare away people from using such techniques simply because 'it's not what the rulebooks say we should do'. If you think it's worth the trouble, absolutely do it. :)
  • wilson66
    Offline / Send Message
    wilson66 polycounter lvl 8
    Can I use vertex snapping in object mode? Meaning, I have two identical objects, in different positions in 3D space, and I need to match both objects perfectly in 3D space. To do that, I'd like to use any single vertex of the first object and snap that to the same vertex (same position in the topology, different position in 3D space) of the second object, while the shape of the entire object remains unaltered of course.

    How do I do it?

    EDIT: found a solution. Snap the 3D cursor to the position of the vertex of first object, put the pivot in the position of the vertex of the second object, then use Object -> Snap -> Selection to Cursor.

    Any other solution that requires fewer steps, some kind of drag-and-drop-like functionality in the viewport?
  • Justo
    Offline / Send Message
    Justo polycounter
    @wilson66 That's similar to what I do yeah, I just skip the 3D cursor tweaking and use the move tool.

    1-Set the pivot to a vertex in object A (I hotkeyed this in a context-sensitive script so I just press E)
    2-Move-snap the object A to the vertex you want in object B
  • V!nc3r
    Offline / Send Message
    V!nc3r polycounter lvl 8
  • f1r3w4rr10r
    Offline / Send Message
    f1r3w4rr10r polycounter lvl 9
    There is one edge case where it is easier and that is with the "Closest" "Snap With" option. This one allows you to snap the vertex closest to the element you are snapping to to that object. This at least covers my cases to 90%.

    EDIT: Just to have it mentioned once: Remember that the hotkey Ctrl+. in Object mode switches between normal Object transforms or Origin transforms. You can then just snap the Origin to any vertex (or edge or whatever else).
  • Blaizer
    Offline / Send Message
    Blaizer interpolator
    The Parallax Occlusion Mapping feature is something i wished for years. Faster render times!
  • wilson66
    Offline / Send Message
    wilson66 polycounter lvl 8
    Thanks guys! Addon looks interesting, will take a look at it.

    Different question: Whats the best way to transfer shape keys from Blender to Maya? Alembic format does not seem to store shape keys, or Blender at least does not load them from the Alembic I have just exported. If I re-import the Alembic into Blender, there simply are no shape keys on the model.

    Are shape keys stored in FBX file format exported from Blender? Can't test it directly unfortunately because I don't have Maya at home... I could export each shape key as a separate geometry object from Blender, but I'd like to avoid that and try to load them directly from a single object if possible.
  • V!nc3r
    Offline / Send Message
    V!nc3r polycounter lvl 8
    I'm not use to this workflow, but is USD export can help you? https://docs.blender.org/manual/en/latest/files/import_export/usd.html

    When exporting an animation, the final, evaluated mesh is written to USD. This means that the following meshes can be exported:

    • [...]

    • Deforming meshes; here the topology of the mesh does not change, but the locations of the vertices change over time. Examples are animated characters or bouncing (but not cracking) objects.




  • RN
    Offline / Send Message
    RN sublime tool
    wilson66 said:
    Are shape keys stored in FBX file format exported from Blender?
    Yes, here's the relevant part of the FBX exporter source: https://github.com/blender/blender-addons/blob/master/io_scene_fbx/export_fbx_bin.py#L758

    You could test this by exporting an FBX and reimporting it in Blender, seeing if the shape keys (AKA blendshapes, morph targets) are preserved.
  • AlexandrL
    Offline / Send Message
    AlexandrL polycounter lvl 6
    Hello guys! :)

    Is that possible to automatically make an edge (or edit existing one) between 2 vertices with achieving variable distance flow.
    I dunno how to explain this, so just make an image.
    So, as you can see, desired result are new edge (or existing one) which creates new vertices (or change position of existing one) while constantly and linearly decreasing.

    I know about connect vertex patch. It will not provide desired result by default for complicated shapes.


  • rpopovici
    Offline / Send Message
    rpopovici polycounter lvl 5
    Patreon page it's up for my power-nodes addon at: https://www.patreon.com/radupopovici

  • pior
    Offline / Send Message
    pior grand marshal polycounter
    Hello all -
    Do you guys know of any clever way to lock the View clipping values per scene ?



    I am often switching between scenes with respectively x1 and x100 scale meaning that more often than not I have to adjust these values right after opening a scene. I there a way to set these things on startup on a per scene basis ? And if yes, would it be possible to also Frame All ?

    [Edit] I've resorted to using two Pie Medu Editor macros, that I run right after opening a scene depending on the scale. They also adjust the grid to something appropriate. FWIW the one for "big models" (100x bigger than default units) is :  

    bpy.context.space_data.clip_end = 5000 ; bpy.context.space_data.clip_start = 1  ;  bpy.ops.view3d.view_all(center=True)  ;  bpy.context.space_data.overlay.grid_scale = 10
  • Justo
    Offline / Send Message
    Justo polycounter
    Has anyone found a way to sync viewports across workspaces? What I mean is, have the 3D viewport be oriented the same, or display isolated/hidden objects, the same way across all viewports? There is a long on-going design task doing this, but who knows when this would come to fruition and if it even is what I'm looking for by the time devs get to modify this based on their design ideas.
  • SnowInChina
    Offline / Send Message
    SnowInChina interpolator
    has anyone a fast solution for  modeling embroidery photorealisticly ?
    something like this
    iam not looking for a texture workflow, purely modeling in blender.
    every workflow i have found does not give very good results, i tried to find a solution with fur, but i'm not really an expert (yet) with the particle&fur system in blender
  • rpopovici
    Offline / Send Message
    rpopovici polycounter lvl 5
    Power Nodes was released. You can get it here: https://github.com/rpopovici/power-nodes
  • thomasp
    Offline / Send Message
    thomasp hero character
    Anybody have a suggestion for how to subdivide a face selection to the same result you would get when applying a subdiv modifier set to 'catmull-clark' (to the object)? Sadly the subdivide command does not seem to cut it for this purpose regardless of what I'm playing with in the options. The surface forms it generates do not compare.


  • f1r3w4rr10r
    Offline / Send Message
    f1r3w4rr10r polycounter lvl 9
    Just using the operator on a selection is of course going to be different, because you are missing the information of the neighboring faces. You could experiment with duplicating the mesh object, adding a subdiv modifier to it, then subdivide your selection, then add a shrinkwrap modifier to the original mesh, with the subdivided duplicate as a target. I have not tried this, but is an idea that came to mind.
  • SnowInChina
    Offline / Send Message
    SnowInChina interpolator
    it's doable by hand, but it gets messy with lots of geometry and is a lot of work, so you really don't want to do it
    why don't you just use the subdiv mod. ?
    you can crease the edges to retain the shape

    hope this is what your looking for


  • gnoop
    Offline / Send Message
    gnoop polycounter
    rpopovici said:
    Power Nodes was released. You can get it here: https://github.com/rpopovici/power-nodes

    Thank you very much  rpopovici
    But looks like I can/t make it working  in current Blender version . Getting kind of error window



    ps. oh , I need 2.92 alpha   , right?

  • melviso
    Offline / Send Message
    melviso polycounter lvl 10
    Is there a way to use the clone brush to clone diffuse, roughness, height, normal  textures at the same time from one part of a mesh to another? I wonder if there are efforts being made to improve texturing tools in Blender.
  • rpopovici
    Offline / Send Message
    rpopovici polycounter lvl 5
    @gnoop yes, you need the latest daily build of 2.92. Unfortunately there are too many changes happeing due to geometry nodes..
  • melviso
    Offline / Send Message
    melviso polycounter lvl 10
    The viewer node is not showing up in the shader editor when I press ctrl shift Left right click.
    Node wrangler is enabled in the preferences addon tab. Is anyone having this issue?
  • wilson66
    Offline / Send Message
    wilson66 polycounter lvl 8
    Peculiar problem. I have an object with some shape keys, and a subdivision surface modifier on it. I have then created a duplicate for editing purposes (clicked the 'Create duplicate for editing' in the drop-down menu in the Shape Keys  window).

    So far so good, but I didn't remove the subdivision modifier first, so the duplicated object is still displayed in subdivision mode (smooth surface and all). It is displayed as subdiv surface in the viewport, although no subdivision surface modifier is there on the object.

    How do I remove the subdivision surface from the object?
  • joebount
    Offline / Send Message
    joebount polycounter lvl 12
    As much as I like Blender, I am getting more and more frustrated with it's gestion of scale. I work  with a unit scale of and set to centimeters. My objects are at the correct sacle in my scene but every single time I try to import or export a mesh to or from Blender there's a scale problem of 10.

    Any advice to have some kind of consistency because it definitely refuses to play nice with other packages.......
  • RN
    Offline / Send Message
    RN sublime tool
    @joebount Are you saying that exporting the object and then importing into the same scene with the same unit settings, is giving an unexpected result?
    It'd make sense to me to have a wrong result if you exported something with a certain Length type and Unit Scale value, and then imported it into another scene with completely different unit settings.

    When exporting I think what matters is the raw Blender units -- the values that you see when you set the Length type to None in the unit settings. 
    If some other app interprets these raw units in a different way (so a raw unit in the file translates to a small part of some metric unit), then you'll have these problems. Blender doesn't have a "Centimeter" Length type. The Centimeter preset rather uses the "Meter" length type and a Unit Scale of 0.01, so that one raw unit is interpreted as 0.01 (or 1%) of a meter, which is 1 centimeter.
  • joebount
    Offline / Send Message
    joebount polycounter lvl 12
    Precisley what you siad, thank you.
    My scene was indeed setup in metric with centimeters as a unit but the scale value was 1. That scale value was relative to meters not cm and setting it up to 0.01 fixed my scale issues (I had to rescale everything by a factor 100 though). Basically the unit is just for show and just to display values.
  • MmAaXx
    Offline / Send Message
    MmAaXx polycounter lvl 10
    I made a tutorial on how to rotate normal maps inside Blender

    https://www.youtube.com/watch?v=jvXhp8sYctY
Sign In or Register to comment.