JeffersonAF Crash

Issue #979 resolved
Midnight Arrow created an issue

Blender 3.1, v1.6.2.0966

Attempting to render JeffersonAF’s “Rocky Place Desert” causes an immediate CTD, but strangely using the viewport render works fine. There’s no errors about the mesh being invalid like the Polish Fridge and I can enter edit mode wit no problem.

Comments (9)

  1. Thomas Larsson repo owner

    Maybe you could isolate the problem to a single mesh and upload a blend file with it.

  2. Midnight Arrow reporter

    I solved it but now there’s a new problem. I exported the mesh at base resolution but turns out when I imported it had a subsurf modifier from nowhere with 11 render subdivisions? That’s what caused the crashing. No idea where it came from.

  3. Thomas Larsson repo owner

    The subsurf modifier probably comes from the SubD Displacement Level, which was introduced in #924. If you set SubDivision Level = Render SubDLevel = 0 and SubD Displacement Level = 12 the maximum value, the plugin indeed generates a subsurf modifier with 11 subdivisions. This didn’t cause a crash when I rendered, but I have lots of ram. A global setting could limit the max number of subdivisions to avoid crashes.

  4. Thomas Larsson repo owner

    The parameter is called Max Subdivision Level and appears in the Meshes section of the global settings. It defaults to 4 which shouldn’t cause a crash.

  5. Midnight Arrow reporter

    If I set a mesh to base resolution I don’t expect the importer to create any subsurf at all. I think it should export with 0 SubD displacement if that’s the case.

  6. Alessandro Padovani

    Nope, the displacement subd has nothing to do with the catmull subd. One is tessellation for displacement and the other is smoothing for shapes. That’s also why we use different modifiers in blender. Indeed the displacement subd may very well be used for hard surfaces at base resolution. Below it’s a cube with displacement in iray.

    Also imho using a limitation in the global settings is not needed since we already have simplify, nor correct if the daz scene uses a higher subd. But it doesn’t harm.

  7. Midnight Arrow reporter

    I use “Base Resolution” as shorthand for “do not add any subsurf modifiers to my mesh”. So this interferes with my workflow by adding another step, where I have to turn that off in the surfaces. I guess it’s not too bad but I’d prefer it not to happen.

  8. Alessandro Padovani

    Thomas may add a “Subdivision“ check in the meshes section in the global settings. So that the user can switch it off and don’t import any subdivision from daz. Personally I wouldn’t add too many options for all the users specific/personal needs.

  9. Log in to comment