Home Technical Talk

Official handplane support thread - Now freeware!!

1235789

Replies

  • Ferg
    Options
    Offline / Send Message
    Ferg polycounter lvl 17
    Hey Alec
    The 3dsmax output (assuming you mean if I baked in max) looks fine, pretty regular normal map. I'm exporting from max, using FBX for the object and TGA for the textures. I just sent you an email with the relevant files, thanks for looking into it.
  • Thousand
    Options
    Offline / Send Message
    Thousand polycounter lvl 9
    Edit:

    Ok, I seem to have the same issue with the Y/Z values - will wait for the checkbox-release! :poly121:
    any idea when this will be available?

    thanks!
  • seforin
    Options
    Offline / Send Message
    seforin polycounter lvl 17
    hey question,

    if you buy a pro licence , do you have access to the source code if you wanted to add a new exporter target type? In this case maybe a propitiatory engine of a sort?
  • synergy11
    Options
    Offline / Send Message
    synergy11 polycounter lvl 6
    Hello.

    I am trying to get good normal map output results from using Softimage to UDK. (FYI. I only need static meshes for environments)

    Will handplane be able to help? If Softimage isn't compatible with Handplane can I pass through xnormal, Max or Maya first?

    All I want is to be able to do my modeling and UV'ing in Softimage. If I have to bake in another program then so be it. But in the future do you plan on adding Softimage to Handplane?

    Thank you so much.
  • ZacD
    Options
    Offline / Send Message
    ZacD ngon master
    Softimage works fine with handplane, you can generate "model space" normal maps using the ultimapper, or just use xnormal.
  • synergy11
    Options
    Offline / Send Message
    synergy11 polycounter lvl 6
    Oh that's amazing. I assumed it wasn't due to it not being listed on the website.

    Thank you ZacD.
  • cptSwing
    Options
    Offline / Send Message
    cptSwing polycounter lvl 11
    Howdy, does anybody know which tangentspace vanilla Ogre uses? MikkTspace? (to be fair, I've not tested yet, but maybe somebody has a quick answer).
  • AlecMoody
    Options
    Offline / Send Message
    AlecMoody ngon master
    There is a new handplane build (version 1.3).
    Release notes:
    Beta support for bethesda creation engine
    Fixed an unreal smoothing groups handling bug
    Added the option to select between world and object space input

    I also made a release notes video. If you have had issues with odd colored normals this video (and build) may help:
    [ame="http://www.youtube.com/watch?v=g3f3o81hs5w"]handplane 1.3 release notes - YouTube[/ame]
  • MrOneTwo
    Options
    Offline / Send Message
    MrOneTwo polycounter lvl 12
    AlecMoody wrote: »
    Added the option to select between world and object space input


    I love you guys :3
  • Thousand
    Options
    Offline / Send Message
    Thousand polycounter lvl 9
    "transform on the incoming object"... this was my problem with the strange colored normal maps!

    thanks for the update!
  • Sleuthman
    Options
    Offline / Send Message
    Sleuthman polycounter lvl 11
    Hi Alec, this tool is great, the Unity setting seems to work well for Marmoset. However, I am having trouble with the Max one, every time I try to create a Max one it seems to forget all my smoothing groups and bakes it all facetted like so

    v0aMJxn.png

    I'm in 3ds Max 2014, baking the object space in xnormals, and have tried exporting an fbx and obj making sure the correct settings are ticked, I'm stumped, thanks in advance!
  • AlecMoody
    Options
    Offline / Send Message
    AlecMoody ngon master
    Hi Tom,
    I ran into this bug shortly after we released 1.3. Somehow the max output was broken in this release. You can use handplane 1.2 for now until we get version 1.3.1 online.

    Direct link to 1.2:
    http://www.handplane3d.com/handplane_v1.2.rar

    Sorry about that!
  • Sleuthman
    Options
    Offline / Send Message
    Sleuthman polycounter lvl 11
    Don't apologise!! Thanks for the quick reply! I've just installed 1.2 and it's not facetting it anymore, but I'm not getting fantastic results, I'm using Xoliul shader to render.

    W9WrCL9.png

    *Edit* I should add that it looks great in marmoset and when viewed in xoliul with object space maps it looks perfect
  • AlecMoody
    Options
    Offline / Send Message
    AlecMoody ngon master
    What version of max are you on? Also, our max output is synced to how max scanline renders normal maps. Not necceesarily synced to how your version of max displays normal maps in the viewport. In most versions of max display does not match rendering.

    An easy way to get it looking correct is to use the 3point shader. However, my understanding is that newer versions of max have completely broken displaying normal maps in the viewport.
  • Sleuthman
    Options
    Offline / Send Message
    Sleuthman polycounter lvl 11
    I'm in 2014, but just tried it in 2010, and yep, looks awesome, thanks again! <3
  • AlecMoody
    Options
    Offline / Send Message
    AlecMoody ngon master
    max 2010 with xoliul isn't a perfect match for max scanline bakes (or our max handplane output). The 3point shader fixes this:
    www.3pointstudios.com/3pointshader_lite.shtml
  • Sleuthman
    Options
    Offline / Send Message
    Sleuthman polycounter lvl 11
    I'm not baking in max, I'm baking in xNormal, it looks great in max 2010 with Xoliul v2.0 :) I'll try the 3 point shader too though, thanks!
  • LaurentiuN
    Options
    Offline / Send Message
    LaurentiuN interpolator
    Hello,

    I`m having some problems with normal map on a simple object.

    When using xnormal to bake an object space normal map into an tangent space the bake is nice and clean, but if try to use that object space with hand plane i get a nasty result. First picture is xnormal and second is hand plane. I use handplane 1.3 and 3ds max 2011. Help please!!!

    Edit: i forgot to mention a used FBX, obj, in hand plane with different setting but all are give me the same result.
  • AlecMoody
    Options
    Offline / Send Message
    AlecMoody ngon master
    s1dk, which handplane output are you using? The max output is broken in 1.3 as mentioned above. Grab 1.2 from here: http://www.handplane3d.com/handplane_v1.2.rar . The patch for 1.3 will be available in a day or two.
  • LaurentiuN
    Options
    Offline / Send Message
    LaurentiuN interpolator
    Hey, i wrote in the first post i use handplane 1.3 and 3ds max 2011. Thanks for your answer, i will try 1.2 and see if is working.
  • 3dwit
    Options
    Offline / Send Message
    Hi Alec.
    What if I work with CryEngine? Why there is no preset? Thanks!
  • AlecMoody
    Options
    Offline / Send Message
    AlecMoody ngon master
    handplane 1.3.1 is released fixing the max faceting issue which also affected other outputs. Please download it from the website or directly from this link:

    http://www.handplane3d.com/handplane_v1_3_1.rar


    3dwit:
    Sorry, no crytek support. We haven't been able to get the supporting materials we need to develop that output.
  • motorsep
    Options
    Offline / Send Message
    How about supporting Doom 3 / Rage (idTech 4 and up) ? Is it something you guys could add to Handplane?
  • AlecMoody
    Options
    Offline / Send Message
    AlecMoody ngon master
    We are happy to implement more engines if we can get the documentation required to do so. Generally we need code snippets covering:

    Information on how mesh tangents are created
    How triangulation is handled
    How normals are computed or if they are imported
    How tangents are interpolated across a triangle
    Information about any other code that may alter the shading behavior
  • motorsep
    Options
    Offline / Send Message
    I don't think there is whole a lot of actual documentation for idTech 4 as you can imagine idSoftware was never good at having user friendly / designer friendly tech :)

    However, unlike any other engine, idTech 4 comes with full source code:

    Doom 3 : https://github.com/TTimo/doom3.gpl
    Doom 3 BFG : https://github.com/RobertBeckebans/RBDOOM-3-BFG

    Some info on normal maps (please disregard Renderbump tool, no one uses it nowadays):

    http://www.iddevnet.com/doom3/bumpmaps.php
  • AlecMoody
    Options
    Offline / Send Message
    AlecMoody ngon master
    Does anyone who works for ID or has made a recent ID Tech game know if anything affecting normal mapping has changed since doom3? In the past, we have implemented engines based off of third party supplied documentation only to find out it was outdated.
  • motorsep
    Options
    Offline / Send Message
    Whatever I supplied right now is first-party docs and source code, straight from iD.

    Doom 3 and Doom 3 BFG use exactly identical normal maps - all assets in Doom 3 BFG that use normal maps are from original Doom 3.

    I am not sure how Rage is different (most likely using same kind of normal maps) when it comes to model mesh normals and all that good stuff. I will find out.
  • cccprobot
    Options
    Offline / Send Message
    Hey Alec I'm working in Unity currently and wanted to try a workflow using Handplane. Specifically, Maya to Xnormal to Unity. I followed the the Maya\Xnormal video exactly and output a Maya 2013\2014 tangent map and a Unity tangent map. What displays as seamless in the Maya viewport is a different story once in Unity. I'm trying to figure out if this is user error in my workflow, if my workflow isn't correct, if Unity is the issue or if something is broken in Handplane for the Unity output.

    Test object shown in Maya with properly set up Blinn:

    k7255d7fdgi8udyo5zks.jpg

    Same object in Maya to show edge smoothness and UV shell boundaries.

    rsmkyijtb05b7ifx87g3.jpg

    And finally in Unity. You can see the hard seaming on the corner with a simple bumped\specular Unity material.

    zshwoh4r946pinrsvq9u.jpg

    Thanks in advance for any insights that anybody might have.

    --JP
  • Farfarer
    Options
    Offline / Send Message
    Did you do the smoothing angle fix? (In Unity's inspector for your mesh, set Normals and Tangents to Calculate, set Anything Angle to 180, then set Normals to Import and Tangents to Calculate).

    Also, ensure you triangulate your mesh on export to fbx before bringing it into handplane and Unity.
  • AlecMoody
    Options
    Offline / Send Message
    AlecMoody ngon master
    Yeah, it looks like this may be caused by that unity bug. You can see the fix for this problem at 0:25 in this video:

    [ame="http://www.youtube.com/watch?v=UWToeCw1B24&quot;]handplane unity comparison - YouTube[/ame]


    If you still have a seem there email me your files alecmoody@gmail.com

    I use the unity output daily and don't run into any issues so there should be an easy fix.
  • Chase
    Options
    Offline / Send Message
    Chase polycounter lvl 9
    Do you think you'll get this working with the Hero engine? I'm working on a game with some guys that might be really interested in the idea of using this if you can get it working with it.
  • cccprobot
    Options
    Offline / Send Message
    Hey guys thanks for the responses. That import settings "bug" fix is something that I had already tried unfortunately. It doesn't solve those seams.

    I didn't triangulate the .h3d file or the .fbx that is going into Unity. Isn't the point of the .h3d file to deal with untriangulated geometry from Maya? I could try triangulating the low-poly before exporting the .h3d and .fbx and run the whole workflow again and see if that makes a difference.

    --JP
  • AlecMoody
    Options
    Offline / Send Message
    AlecMoody ngon master
    unfortunately fbx out of maya does not preserve triangle direction. Exporting from maya for unity you will want to force triangulate your models.

    Edit:
    Also, our unity output relies on exporting normals from your 3d package. Make sure you are exporting normals with your fbx file for tangent space conversion and for unity.

    I don't know anything about hero engine or if anyone is using it commercially.
  • cccprobot
    Options
    Offline / Send Message
    Alec, thank you so much for that clarification. I was pretty sure it was something like that in my workflow that was throwing my results. I'll give it a shot and double-check my FBX export settings and post back with results.

    Should I force triangulate before the .h3d export as well? Or do I only need to do that when I'm ready to export an FBX for Unity?

    Thanks again!

    --JP
  • AlecMoody
    Options
    Offline / Send Message
    AlecMoody ngon master
    Yeah, because maya treats normal for quads differently, and because unity expect imported normals, you will want to force triangulate before making the tangent space map.
  • Farfarer
    Options
    Offline / Send Message
    cccprobot wrote: »
    Alec, thank you so much for that clarification. I was pretty sure it was something like that in my workflow that was throwing my results. I'll give it a shot and double-check my FBX export settings and post back with results.

    Should I force triangulate before the .h3d export as well? Or do I only need to do that when I'm ready to export an FBX for Unity?

    Thanks again!

    --JP
    I'd just ensure that you triangulate the mesh either before or during export to FBX format (most FBX exporters have an option to triangulate the mesh on export, if yours doesn't, you can triangulate, export then undo).

    Then ensure that you use that exact same FBX file for Handplane and for Unity. Ultimately that's the important part - the mesh used to calculate the tangent space maps must be the same mesh as you put into the game - with identical topology, UVs and normals.
  • AlecMoody
    Options
    Offline / Send Message
    AlecMoody ngon master
    For a maya workflow I wouldn't attempt to triangulate and undo since maya handles normals differently for un-triangualted quads.
  • cccprobot
    Options
    Offline / Send Message
    Alec, email and files sent so I don't clutter up this thread further...
  • Farfarer
    Options
    Offline / Send Message
    AlecMoody wrote: »
    For a maya workflow I wouldn't attempt to triangulate and undo since maya handles normals differently for un-triangualted quads.
    So long as the FBX that goes into the engine is the one that goes into Unity, and it's triangulated, then there's no issue is there?
  • Chase
    Options
    Offline / Send Message
    Chase polycounter lvl 9
    The Old Republic MMO used the Hero engine. The only bummer about the engine is that you have to pay for it. The best thing though is that everything you do in the level editor is live. So no more having to upload files for someone else to have to then upload to their UDK.
  • AlecMoody
    Options
    Offline / Send Message
    AlecMoody ngon master
    cccprobot wrote: »
    Hey Alec I'm working in Unity currently and wanted to try a workflow using Handplane. Specifically, Maya to Xnormal to Unity. I followed the the Maya\Xnormal video exactly and output a Maya 2013\2014 tangent map and a Unity tangent map. What displays as seamless in the Maya viewport is a different story once in Unity. I'm trying to figure out if this is user error in my workflow, if my workflow isn't correct, if Unity is the issue or if something is broken in Handplane for the Unity output.

    Test object shown in Maya with properly set up Blinn:


    Same object in Maya to show edge smoothness and UV shell boundaries.



    And finally in Unity. You can see the hard seaming on the corner with a simple bumped\specular Unity material.


    Thanks in advance for any insights that anybody might have.

    --JP


    Just to follow up here for other unity users. This is an issue with forward rendering mode and is not related to handplane. These seams show up even when you apply a solid 128,128,255 normal map. The only suggestions I can offer are to move your UV border edges to less visible areas, or to run in deferred rendering mode (shading quality is also perfect in deferred).
  • Froyok
    Options
    Offline / Send Message
    Froyok greentooth
    I was wondering if it was possible to use Handplane is a sort of batch mode ?
    I didn't found any sort of documentation on the official website about this. I would be very interested, especially to link Handlplane to one of my maya script (froXnormal).
  • AlecMoody
    Options
    Offline / Send Message
    AlecMoody ngon master
    That isn't possible at the moment. We are working on an SDK and we may allow for this but I am concerned it will cause too many support issues. People have a hard enough time sending clean object space bakes and meshes into handplane one at a time- I think if it was done in big groups a lot of overlooked issues would pop up at once.
  • Froyok
    Options
    Offline / Send Message
    Froyok greentooth
    AlecMoody wrote: »
    That isn't possible at the moment. We are working on an SDK and we may allow for this but I am concerned it will cause too many support issues. People have a hard enough time sending clean object space bakes and meshes into handplane one at a time- I think if it was done in big groups a lot of overlooked issues would pop up at once.

    I see, I'm looking forward to the SDK then. I understand your concern but I really think that some batch commands would be very beneficial in the end.
  • Giiyom
    Options
    Offline / Send Message
    Giiyom polycounter lvl 9
    Hello,

    Just can't make it work.

    I'm having this error while trying to Bake the Normal Map from HP.

    "The Object space map appears to have normals that don't match the yz flip and xy directions of the input mesh. Would you like to apply the detected settings instead?"

    And when I Click 'Yes', the given map has no information written on it at all. All channels are empty.

    Anyone know why this is happening?

    I use 3dsMax and xNormal

    Thanks!
  • AlecMoody
    Options
    Offline / Send Message
    AlecMoody ngon master
    I haven't seen that before. If you can send me your fbx along with the object space map I will figure it out. alecmoody@gmail.com
  • AlecMoody
    Options
    Offline / Send Message
    AlecMoody ngon master
    Giiyom:
    Did you ever find out why that was happening? I never got an email from you.
  • sogun
    Options
    Offline / Send Message
    sogun polycounter lvl 17
    Handplane repeatedly fails to create a tangent space normal map from an object space normal map created in Zbrush.

    The created file is correctly blue mostly in parts at the "beaches" of the UV island, but "inland" it mostly remains object space. :-/ ???
  • AlecMoody
    Options
    Offline / Send Message
    AlecMoody ngon master
    Sogun,
    That multi colored map is still tangent space- It just has rotated shading on those shells. Are the shells that look wrong overlapped or mirrored geometry?

    The first thing you should do is debug your object space bake. In 90% of these cases the problems are in the object space map and aren't handplane problems. The best test is to run a shader with your object space map and set up one or two colored lights. Then make sure that the light is reacting from the correct direction.
  • sogun
    Options
    Offline / Send Message
    sogun polycounter lvl 17
    AlecMoody Nope. I figured out that when I create the World space normal map in Max2013 and do a conversion in Handmap, Handmap creates the correctly colored BLUE normal map. However there are still some seams visible in Unity.

    I created a tangent space normal map in Max 2013 with green Up (Green channel flip) it looks an alternate version of the Handmap produce.

    Both cases show some seams just the "shading" is changed a bit. Well, will try xNormal Unity tangent space calculator as last resort and post the images here.
1235789
Sign In or Register to comment.