Funky shading on object edited & re-imported into DS

GatorGator Posts: 1,307

I have Merlin's Battle Blades, and I thought I'd tweak one of the blades.  It lacked a groove, so I figured I'd add one.  I exported it to Blender, added the groove, and re-imported it back in.  I marked the outer edge of the groove as sharp in the OBJ file. 

I know little about Blender, but a quick render with it and it appears to be doing exactly how I want it geometry wise.  Bump and everything is too strong, but I don't care about how it renders in Blender.

Blender

 

 

Sword Shading Blender.jpg
971 x 552 - 43K
Post edited by Gator on

Comments

  • GatorGator Posts: 1,307

    Daz Studio 4.9 with Iray

     

    Sword Funky Shading.jpg
    368 x 487 - 48K
  • mjc1016mjc1016 Posts: 15,001
    edited March 2016

    Does it do the same thing in 3Delight? 

    What does it look like if you set the viewport drawstyle to Wire Shaded?

    imageupload41.png
    283 x 252 - 20K
    Post edited by mjc1016 on
  • Richard HaseltineRichard Haseltine Posts: 101,010

    Please post a screenshot of the model in wire-shaded mode so we can see the geometry.

  • GatorGator Posts: 1,307
    edited March 2016

    OK, this is weird.  It created these phantom edges or triangle faces that aren't there in the mesh.  It renders OK in 3Delight but not Iray.

    First pic, wire frame in DS.  Second pic, wireframe in Blender.  Last rendered with 3Delight.

     

    Sword DS Wireframe.jpg
    2004 x 1189 - 194K
    Sword Blender Wireframe.jpg
    1449 x 863 - 142K
    Labyrinth Sword 3Delight.jpg
    1280 x 720 - 899K
    Post edited by Gator on
  • mjc1016mjc1016 Posts: 15,001
    edited March 2016

    Unfortunately, the way you made the groove in Blender is the cause...the faces that have more than 4 vertices (all those at the top of the groove) are not being triangulated nicely when brought into Studio. 

    I'd do full edge cuts both along and across the blade, like this...

    Studio is particularly sensetive to n-gons and poorly triangulated geometry.

    (and no, I didn't get the loops even...speed over accuracy....sorry)

    imageupload42.png
    801 x 657 - 60K
    Post edited by mjc1016 on
  • GatorGator Posts: 1,307

    OK, I'll try that, but in Blender they are all 4-sided faces, no n-gons. 

  • mjc1016mjc1016 Posts: 15,001
    edited March 2016

    They become n-gons.  Then Studio will pretty much divide those up into the mess you see in the wireshaded mode...

    9c1cf2ce1def5b27ec85e7102cb208.jpg
    314 x 348 - 61K
    Post edited by mjc1016 on
  • GatorGator Posts: 1,307
    mjc1016 said:

    They become n-gons.  Then Studio will pretty much divide those up into the mess you see in the wireshaded mode...

    Ahh, thanks.  Yeah, that occurred to me as was thinking about it.  Sorry I'm a newb when it comes to monkeying around with meshes. 

  • mjc1016mjc1016 Posts: 15,001
    edited March 2016

    I've actually been doing this (monkeying around with meshes) for 15 yrs or so...and I still mess up often enough.  Throw in the idiosyncrasies of each program that will use the content and you can see how much of a mess it is.  Because something that you can get away with in one will be totally wrong in a different program.

    Post edited by mjc1016 on
  • GatorGator Posts: 1,307
    edited March 2016

    Thanks.  Newbies just make mistakes a lot more often.  I thought I'd subdivide sections saving myself verticies.  blush

    I'm seeing one of those idiosyncrasies.  So I fixed it, I subdivided the entire blade.  Again, I marked the groove edge sharp which is good with Blender.  In DS it doesn't really seem to respect the sharp edge much if at all, the groove is much wider.  I may try converting it to a subd mesh to see what difference that makes, but no time now to try that.

     

    MRLN_Sword06_Redux_DS.jpg
    913 x 2157 - 338K
    Sword Blender Wireframe Redux.jpg
    1341 x 1412 - 218K
    Post edited by Gator on
  • Richard HaseltineRichard Haseltine Posts: 101,010

    If you used edge-weights in Blender (if it supports them) then they won't be preserved by OBJ. Using FBX works going from Modo to DS so it may be worth trying. If the sharpness is something other than Open SubDiv edge-weighting then it won't, as far as I know, carry over to DS.

  • mjc1016mjc1016 Posts: 15,001

    Blender just got OpenSubDiv, so I'm not sure of exactly what features it does support...

    Also millighost has a dsf Blender exporter that can do rigged items and doesn't use the obj exporter, so it may work beter.

    http://www.daz3d.com/forums/discussion/67464/getting-objects-from-blender-to-ds

  • GatorGator Posts: 1,307

    OK, thanks again.  How would you tell if the sharpness is preserved in DS? 

    This is interesting, using SubD did the trick.  Two swords each image.  On the left, export-import in FBX format.  On the right, export-import in OBJ format.

    First image is without SubD.  Second image, I enabled SubD and set the render SubD level to 2.  SubD got it to look more like I want (groove could be better I guess, but not too shabby).

     

    Swords Comparison 02.jpg
    3840 x 2160 - 2M
    Swords Comparison 02 SubD.jpg
    3840 x 2160 - 2M
Sign In or Register to comment.