Home Technical Talk

handplane - new tangent space tool in public beta

135

Replies

  • 3DKnight
    Options
    Offline / Send Message
    3DKnight polycounter lvl 17
    ahh awesome, using this workflow on skeletal meshes is a huge bonus! very nice. thanks for the help.. going to try a few more tests
  • Ace-Angel
    Options
    Offline / Send Message
    Ace-Angel polycounter lvl 12
    Don't forget that you need to bake out from an FBX in XN, which isn't ideal for older versions of certain applications through the pipeline, using Max 2009 and having the model go through Max 20XX, etc isn't too grand.

    So yeah, HandPlane is really super cool, it cuts out the middle man out of everything honestly.
  • Norman3D
    Options
    Offline / Send Message
    Norman3D polycounter lvl 14
    This is awesome!!
    One suggestion, though... Add support for command line!
    Currently the program is a bit of a paint to automatize in maxscript. I have to find the window handles send strings to them etc, it works but command line like xnormal would be superb.
    If I were to implement this at work for the artist I would like to minimize the steps as much as possible and I'll probably create a script in 3dsmax that interacts with your program for a super easy to use one-click solution.
  • James Ordner
    Options
    Offline / Send Message
    Here's a visual example of what I mean:

    show.php?id=40378

    The low poly cube has all 12 edges set sharp, yet Handplane still treats it as if the entire model is smooth.

    Blender's method of exporting smoothing groups is to physically split sharp edges on export. It does not use actual smoothing groups like 3ds Max. I'm not sure if this is the reason (though I'm pretty sure it is), but hopefully it will help if you attempt to get Blender support working. It sure would make a lot of Blender users happy! :)
  • AlecMoody
    Options
    Offline / Send Message
    AlecMoody ngon master
    James,
    we don't officially support blender fbx files. It is something we can look at adding in the future but it will be a while until that makes it to the top of the priority queue. Partly it depends on how blenders fbx implementation works and if it natively will pass quad triangulation direction correctly.
  • James Ordner
    Options
    Offline / Send Message
    Alright, best of luck! I still look forward to using Handplane for 100% smooth meshes, it works exceedingly well :) By the way, if it was to be a requirement to triangulate meshes before export, I have absolutely no problem with that. I do anyways just to be safe, and it is a small price to pay to use this incredible tool. Though of course, I know that's not the only issue.
  • EarthQuake
    Options
    Offline / Send Message
    James: What happens when you;
    A. Bake your object space map with a completely smoothed mesh
    B. Convert your tangent space with a different mesh with the hard edges

    Its really a shame blender doesn't support proper custom normals like pretty much every other 3d app, but maybe this will work.
  • passerby
    Options
    Offline / Send Message
    passerby polycounter lvl 12
    ya i am still baffeled how blender dosnt suppoort custom normals yet
  • Scruples
    Options
    Offline / Send Message
    Scruples polycounter lvl 10
    How much is this eventually going to cost?, I don't need an exact number just a ball-park range.
  • AlecMoody
    Options
    Offline / Send Message
    AlecMoody ngon master
    Scruples wrote: »
    How much is this eventually going to cost?, I don't need an exact number just a ball-park range.

    The tool will remain free for non commercial use. I can't get much more specific than that yet.

    I am also currently working on free training material that will live on the handplane site covering topics ranging from how normal maps work to complete bake workflows from multiple packages.
  • James Ordner
    Options
    Offline / Send Message
    EarthQuake wrote: »
    James: What happens when you;
    A. Bake your object space map with a completely smoothed mesh
    B. Convert your tangent space with a different mesh with the hard edges

    A. I get a regular object-space normal map like I should from xNormal (see Temp_normals attachment)

    B. Using the hard edged mesh, I get the same result in Handplane as before, a completely smoothed normal map (Temp_normals_unreal attachment)

    I just did a test in UDK. It turns out that UDK only imports the FBX with sharp edges if I have 'Explicit Normals' selected for static meshes. Otherwise the mesh comes in completely smooth.

    Skeletal meshes come in with the correct sharp edges, regardless of the 'Preserve Smoothing Groups' option. However, I recently got issues like this, but for some reason those issues only occurred with skeletal meshes.
  • CaptZeen
    Options
    Offline / Send Message
    Hello!

    First of all, thanks for this great tool!
    We made some tests here at the studio and everything work well.
    We only miss some obj and tga support.
  • AlecMoody
    Options
    Offline / Send Message
    AlecMoody ngon master
    James,
    the root of these issues in both cases is using blender. Neither handplane or unreal know how to load the smoothing information correctly. Normally, unreal loads smoothing splits without having to use "Explcit Normals" and as I have mentioned in the thread, importing normals with your model will break the handplane result.
  • MrOneTwo
    Options
    Offline / Send Message
    MrOneTwo polycounter lvl 12
    AlecMoody wrote: »
    The tool will remain free for non commercial use. I can't get much more specific than that yet.

    I am also currently working on free training material that will live on the handplane site covering topics ranging from how normal maps work to complete bake workflows from multiple packages.

    That would be cool. There are so many solutions now. 3pointlight shader quality mode, UDK new tangents import on non skeletal meshes - many factors that make this process really confusing for not so experienced of us. Waiting for this!

    Btw tool is great. It's easy to use and gives great result. Wanted to thank you guys!
  • James Ordner
    Options
    Offline / Send Message
    Looks like I'm gonna have to spam Ton Roosendaal's inbox until we get proper smoothing group support :poly124:
  • AlecMoody
    Options
    Offline / Send Message
    AlecMoody ngon master
    [size=+2]New build up:
    http://www.handplane3d.com/beta/handplane_11_14_12.rar[/size]


    Build Changes:
    Fixed License error problems
    Fixed Maya tangent basis and maya h3d format bug
    Fixed errors related to shells outside 0-1 UV space

    added TGA support
    added Xnormal option for object space normals
    added temporary taskbar Icon
  • AlecMoody
    Options
    Offline / Send Message
    AlecMoody ngon master
    Also, I wanted to reiterate that maya users will get the best results if they use our included plugins for passing the lowpoly to the tool (or fully triangulate your meshes). There is no way to pass triangle direction for a quad out of maya with fbx. If the final tangent space is unreal, unity, 3dsmax, or source it is strongly recommended that you fully triangulate your mesh.
  • Shanthosa
    Options
    Offline / Send Message
    Shanthosa polycounter lvl 11
    Sweet! This tool rocks. Getting some really nice results in Unity thanks to you guys :)

    Side note, is there a place to grab the newest licensed version? Or is it just the beta version that is available for now?
  • AlecMoody
    Options
    Offline / Send Message
    AlecMoody ngon master
    Hi shanthosa,
    Just the beta build available for now. We expect to have a final build ready to go before the end of the year.
  • artstream
    Options
    Offline / Send Message
    artstream polycounter lvl 11
    Hey Alec,

    Nice tool! Looking forward to it solving the UDK skeletal mesh issues!

    I'm getting a few artifacts in my conversion from OS to TS.

    https://dl.dropbox.com/u/2619547/OS_TS_Error.PNG

    Baked in 3DS Max 2012, the uvs that are giving the issue have been offset (the entire mesh is mirrored, so I'd expect the errors to be all over rather than just the few areas seen above.
  • AlecMoody
    Options
    Offline / Send Message
    AlecMoody ngon master
    Hi Artstream,
    Is that on the build from earlier this week? If so email me the files at:
    alecmoody@gmail.com.

    Based on the colors in the normal map it looks like channel inversion- have you tried hitting those mesh elements with a reset xform to see if they are in fact facing the wrong way after mirroring?
  • artstream
    Options
    Offline / Send Message
    artstream polycounter lvl 11
    Hi Alec,

    Yea, tried an Reset XForm, no change. Emailing you the files now. I'll also host it on dropbox in case the attachment file bounces back.
  • RockSPb
    Options
    Offline / Send Message
    RockSPb polycounter lvl 5
    I have tried it in Uniti 3.5, but the resuit doesn't look correct =(((
    UnityTest.jpg
  • AlecMoody
    Options
    Offline / Send Message
    AlecMoody ngon master
    Rockspb,
    a couple of things to check:

    1)what format is the model being sent to unity in? post the settings for the output options and your unity input settings. Make sure you aren't importing any information related to normals or tangents when you import your model into unity.

    2) Is the cube triangulated (and was it triangulated at the time the tangent space map was made)? I am not sure if unity will correctly import triangle strip directions so the safest bet is to triangulate before making your tangent space map.
  • Ravenok
    Options
    Offline / Send Message
    Ravenok polycounter lvl 7
    Tested for unity/marmoset, works very nicely.

    Would love to see more options :)
  • RockSPb
    Options
    Offline / Send Message
    RockSPb polycounter lvl 5
    AlecMoody wrote: »
    Rockspb,
    a couple of things to check:

    1)what format is the model being sent to unity in? post the settings for the output options and your unity input settings. Make sure you aren't importing any information related to normals or tangents when you import your model into unity.

    2) Is the cube triangulated (and was it triangulated at the time the tangent space map was made)? I am not sure if unity will correctly import triangle strip directions so the safest bet is to triangulate before making your tangent space map.

    Thank you for response. So, that I dont need to importing normals from fbx when I imporn model to unity, am I?
    I tried different settings for import (and export) from maya and 3dsmax...(end evry time I rebuilt the tangent space map)
  • RockSPb
    Options
    Offline / Send Message
    RockSPb polycounter lvl 5
    btr.jpg
    steel have problem=(
  • Farfarer
    Options
    Offline / Send Message
    Normalize the light vector in the pixel shader, otherwise you get the interpolated value that's shorter in the middle of the poly.
  • S_ource
    Options
    Offline / Send Message
    S_ource polycounter lvl 9
    Did a new test and this time it worked without the edge problem, once again thanks for this very useful software. :)
  • RockSPb
    Options
    Offline / Send Message
    RockSPb polycounter lvl 5
    Oh, sorry for all. I hadn't read second post in theread=(
    Now I know, that tool does not give 100% result. Anyway Thanks!
    p.s. I think all of big engines with sdk mast have built-in tools like that
  • Farfarer
    Options
    Offline / Send Message
    RockSPb wrote: »
    Oh, sorry for all. I hadn't read second post in theread=(
    Now I know, that tool does not give 100% result. Anyway Thanks!
    p.s. I think all of big engines with sdk mast have built-in tools like that
    Sorry for hijacking this a little, but if you're only focusing on Unity, you might be better off with this xNormal plugin; http://www.farfarer.com/blog/2012/06/12/unity3d-tangent-basis-plugin-xnormal/

    It won't fix those issues in your model, though, because they're nothing to do with the baking process - regardless of how you bake your normal map - it's an issue with shader optimisation with the built-in shaders in the Unity engine.
  • 3DKnight
    Options
    Offline / Send Message
    3DKnight polycounter lvl 17
    very nice! new build a lot cleaner, and working perfectly, so far i've sound no issues

    A preview window would be nice, as well as a sequential save checkbox for troubleshooting would be handy as well if possible.

    ability to use supporting edge loops to remove waviness is so good.

    also maybe make the default padding size around 3 or so
  • rahulcamma
    Options
    Offline / Send Message
    rahulcamma polycounter lvl 6
    Getting error "CreateD3DMesh Failed" when i click on Render using your maya plug in for exporting the mesh.
  • Farfarer
    Options
    Offline / Send Message
    For what it's worth, here's handplane (object space normals baked in modo) versus my xNormal plugin in Unity, using per-pixel rather than per-vertex normalized light vector.

    Pretty much identical results, nice work guys :)

    Left: handplane / Right: xNormal
    handplane_vs_xNormal.png
  • funshark
    Options
    Offline / Send Message
    funshark polycounter lvl 16
    Any chance for getting Tangent space TO object space conversion ?
    I think it would be a nice addition to correct some seams.
  • AlecMoody
    Options
    Offline / Send Message
    AlecMoody ngon master
    Funshark,
    Yeah, that conversion is coming.

    rahulcamma- can you email me your maya scene along with your object space map and the h3d file that is causing the error?
    alecmoody@gmail.com
  • almighty_gir
    Options
    Offline / Send Message
    almighty_gir ngon master
    holy shitballs how did i miss this?!?!?!
  • rahulcamma
    Options
    Offline / Send Message
    rahulcamma polycounter lvl 6
    AlecMoody wrote: »
    Funshark,
    Yeah, that conversion is coming.

    rahulcamma- can you email me your maya scene along with your object space map and the h3d file that is causing the error?
    alecmoody@gmail.com

    I have email the files ,It took me a while to produce the same error.

    This tool is great i just tested it out . The normal map this tool has created seems as its baked inside Maya.

    In future is this going to be free software?
  • ablaine
    Options
    Offline / Send Message
    ablaine polycounter lvl 14
    holy shitballs how did i miss this?!?!?!

    Right?! Time to check it out!
  • AlecMoody
    Options
    Offline / Send Message
    AlecMoody ngon master
    rahulcamma wrote: »
    I have email the files ,It took me a while to produce the same error.

    This tool is great i just tested it out . The normal map this tool has created seems as its baked inside Maya.

    In future is this going to be free software?

    I tested your files out. The error is being caused by the UVs being offset outside the 0-1 square. In the future we can make a more specific error message so this is less confusing. The tool intentionally ignores shells outside 0-1 space so that you can use conventional workflows for mirroring and UV sharing.
  • 3DKnight
    Options
    Offline / Send Message
    3DKnight polycounter lvl 17
  • rahulcamma
    Options
    Offline / Send Message
    rahulcamma polycounter lvl 6
    AlecMoody wrote: »
    I tested your files out. The error is being caused by the UVs being offset outside the 0-1 square. In the future we can make a more specific error message so this is less confusing. The tool intentionally ignores shells outside 0-1 space so that you can use conventional workflows for mirroring and UV sharing.


    Ok i made a stupid mistake . I had mirroed this assest on other side and the UV's for that had been moved by 1 unit . So when i was using handplane i exported the mirrored assest, which you explained is the reason for error.
  • aaron2
    Options
    Offline / Send Message
    That's a great invention from you guys! Congratulations on this!
    I am a maya user so it is very helpful for me :)
  • Pierate
    Options
    Offline / Send Message
    Pierate polycounter lvl 15
    Hey, just tossing in a quick question regarding .fbx and triangulation.

    Basically, the tests I have done have resulted in the triangulation getting screwy during the export, resulting in handplane then using a model where some edges have been turned.I then have to correct some of the triangulation in 3ds Max to get rid of shading errors. Since then I've updated to fbx exporter version 2012.2 and I'm wondering if there are any options i should check/uncheck to ensure that the triangulation is kept intact (I have not done any new tests)? This is mostly because I want to avoid having to triangulate the entire lowpoly before exporting.

    I checked the entire thread and couldn't find anything about this, hopefully I didn't miss any posts.
  • AlecMoody
    Options
    Offline / Send Message
    AlecMoody ngon master
    There is a box called "preserve edge orientation" if that isn't working send me your scene file + object space map and we will figure out why.
    alecmoody@gmail.com
  • Pierate
    Options
    Offline / Send Message
    Pierate polycounter lvl 15
    I'll make sure to keep that in mind when i use handplane the next time, thanks.
  • AlecMoody
    Options
    Offline / Send Message
    AlecMoody ngon master
    Hi Everyone,
    We are getting close to a final release build and I wanted to put out a call out for more feedback. I am particularly interested in hearing from people who downloaded the tool but haven't used it, and people who used the tool and don't see themselves integrating into their workflow. The beta feedback has been really positive but we have had thousands of downloads and only a few people have provided feedback. If anyone has anything constructive to suggest I would like to hear it at: alecmoody@gmail.com

    Also, if you haven't used or aren't planning to use the tool please tell me why.
  • Quack!
    Options
    Offline / Send Message
    Quack! polycounter lvl 17
    Hey Alec,

    I just baked my first object today with handplane and it works amazing with Max and UDK.

    A couple questions.

    Do the inputs auto-update when you export a new version of the files from their packages? Or do you have to re navigate to them each time? I could see this causing headaches if they don't update to the latest export.

    Beyond that, everything seems to work great on my end. Can't wait to purchase this!
  • throttlekitty
    Options
    Offline / Send Message
    Alec, I've downloaded it, but haven't set aside time to play with it. The tessellated lowpoly workflow sounds very promising!
  • fearian
    Options
    Offline / Send Message
    fearian greentooth
    Hi, I have a couple of questions about this not directly related to the tool, but just out of my own curiosity...

    first, how come an Object Space normal map be low poly agnostic?
    and second, why aren't we using Object Space normal maps instead of Tangent Space normal maps for everything?

    So, basically what's the difference between TS an OS maps I guess!
135
This discussion has been closed.