Search Unity

Alternative Lightwave workflow

Discussion in 'Formats & External Tools' started by rom, Feb 18, 2009.

  1. rom

    rom

    Joined:
    Jul 2, 2006
    Posts:
    265
    An alternative lightwave workflow that does not involve fbx is available

    Unity reads Lightwave object directly
    Any/All poly and vertex maps
    UV/Color/Morph/Parts/Selections

    + correct pivot position in Unity (which really helps)
    + All surface data
    creating appropriate shader in unity

    Save the object and it will update in Unity (like no one else except fbx)

    Lightwave scene parser, that brings in lws data.
    Lights, camera, action, with no Unity set up.

    Because object data is pre-loaded into unity
    animation changes in Layout, yield rapid update in Unity.


    "Real Time Scene Link" between Layout and Unity.
    to send Unity scene to Layout and visa versa.
    So if you transform in Unity, perhaps with PhysX
    it will update in Layout.
    ie PhysX for Lightwave.

    or transform in Layout for real time updates in Unity.

    Bake textures/procedurals/lightmaps/etc
    directly from Unity, using the lightwave renderer.

    External Online Assets for Indie users
    Just put you content folder on your server
    and point with WWW

    this now mostly functional, and it's working a storm.

    CORE is coming out "soon", offering Collada and then more fbx
    Unity has not loved Collada
    Lightwave has not loved fbx.

    If you are a lightwaver, there can be a particular understanding with Unity

    PS. I would hazard a guess, that the word "fbx" is most used on these forums
    ;)
     
  2. seon

    seon

    Joined:
    Jan 10, 2007
    Posts:
    1,441
    is available where? when?
     
  3. rom

    rom

    Joined:
    Jul 2, 2006
    Posts:
    265
    enthusiastic responders can beta test
     
  4. seon

    seon

    Joined:
    Jan 10, 2007
    Posts:
    1,441
    Happy to help... have been using LW since version 4. Please let me know what you need from me.
     
  5. RandAlThor

    RandAlThor

    Joined:
    Dec 2, 2007
    Posts:
    1,293
    Hi,

    that would be nice!
    I would like to test it.

    Mathias
     
  6. Proto

    Proto

    Joined:
    Aug 20, 2007
    Posts:
    79
    I'm keen to help test this.
     
  7. Actascedin

    Actascedin

    Joined:
    Feb 19, 2009
    Posts:
    3
    Wow, this sounds wonderful.
    I've been using LW for more than 10 years and would love to keep using it for a new project we're currently setting up in Unity.

    I'd be more than happy to test.
     
  8. MentalFish

    MentalFish

    Joined:
    Nov 2, 2005
    Posts:
    282
    You got a PM. I'd be more than happy to help out testing this.
     
  9. thylaxene

    thylaxene

    Joined:
    Oct 10, 2005
    Posts:
    716
    so this is a set of third party scripts/plugins? or is it an official UT project?

    Free or paid product?

    Some more info apart from the teaser you've given.

    Cheers.
     
  10. rom

    rom

    Joined:
    Jul 2, 2006
    Posts:
    265
    Hi Lightwavers.

    This is not an official project.
    It's written by my self in C#.
    using the Lightwave SDK documentation as a guide.
    Also using LScript for the Lightwave side.

    I have not decided if it will be commercial or free or trade.
    I would certainly love to see this transparent production flow, available for lightwavers.

    I feel that such heavy relience on fbx is too Autodesk heavy.

    It is not 100% percent production ready,
    but with the right motivation, I can finish it quite quickly.

    The Key elements are :

    Lwo.cs is now reading 90% of the data in the .lwo into an AssetDatabase.
    Completeting this is mainly Unity side implimentation on the data.
    The basics like point/poly/vmap/surfaces are all working.

    Lws.cs which parses the .lws.
    This is also near completion and is building a data structure in Unity which matches the .lws.
    Lightwave .mot is converted to AnimationCurves

    This can also write .lws dynamically.
    +
    Screamernet.cs which handles the Lightwave Renderer.

    LayoutLink.cs which communicates with a Layout Master Plugin.

    MorphMixer.cs
    ZBrushLink.cs + (BZScripts) - send data between Unity to ZBrush.
    VueLink.cs +(VuePython) - for Terrain Link with Vue.

    If you are a lightwaver you will be used to a "Hub" controlling 2 apps.

    This really extends that notion, to include other pipeline tools.

    As this is all done in C# all the functionality can also be accessed by javascript
    like

    var lwo = new Lwo();
    lwo.filename = "theFilename.lwo";
    lwo.Load();

    foreach(uv:UV in lwo.layer[0].uv){
    //do stuff
    }

    I have been writing this in burst over some time,
    but it is certainly reaching a point that it is usefull to me.

    regards
    rom
     
  11. RandAlThor

    RandAlThor

    Joined:
    Dec 2, 2007
    Posts:
    1,293
    Wow rom,

    all that features!!!

    I hope that i can test them all.
    I use Zbrush and Vue too.

    And then the Layout connection, the .mot file reading and the MorphMixer.

    There comes so many ideas into my head.
    Also i am hoping that i can use this in Unity iPhone basic or advance.

    But at the moment i can not imagine how to use an object from Unity to Zbrush.
    I mean i can but i can not found the reason why i should use it that way.
    So what was your intention for that?
     
  12. SamHorton

    SamHorton

    Joined:
    May 25, 2008
    Posts:
    7
    Rom, this sounds fantasic!

    Just getting started with Unity, but I've been using Lightwave since version 5. Is this something that works with the Indie version? Because I'd love to help you test things out!
     
  13. MentalFish

    MentalFish

    Joined:
    Nov 2, 2005
    Posts:
    282
    I have just tried Rom's solution, and it works, its really cool, can see all sorts of attributes from the LW model. Two thumbs up!

    I'll keep helping him out in any way possible and in time I'll post some of my LW->Unity workflow improvements as well, such as transferring animation from the CMU MoCap archive to a lores rigs, keyframe baking of those animations and so on. Nothing nearly as cool as this native LWO format reading, but its something :)

    Btw, this line of LScript launches Unity, so if you combine it with saving or exporting of a file you have a "send to Unity" feature.

    Code (csharp):
    1. system("open /Applications/Unity/Unity.app");
     
  14. rom

    rom

    Joined:
    Jul 2, 2006
    Posts:
    265
    Who will trade ?
    gold,silver,
    sheep, cattle,horses
    AssetBundles,
    artwork, rigged/animated characters
    vehicles,weapons,props
    ztl,mocap
    lscripts,zbscripts
    etc
     
  15. thylaxene

    thylaxene

    Joined:
    Oct 10, 2005
    Posts:
    716
    how about setting up a PayPal donation page somewhere or something similar? Anyone who donates anything gets access....

    Cheers.
     
  16. DigiLusionist

    DigiLusionist

    Joined:
    Apr 30, 2007
    Posts:
    213
    I'm a "certified" LightWave Instructor. I've been using it professionally since version 5.0

    I would like to beta test your app, if possible!
     
  17. bpritchard

    bpritchard

    Joined:
    Jan 29, 2009
    Posts:
    444
    I would be very interested in testing your workflow. FBX -> lw still isn't 100% on the animation side... so i end up moving stuff around between packages. I've been using lw as my core package since the later 80's (Go toaster!).
     
  18. RandAlThor

    RandAlThor

    Joined:
    Dec 2, 2007
    Posts:
    1,293
    Bump

    just so that no Lightwaver forget it!

    Please Rom, finish the scripts :eek:)
     
  19. t4d

    t4d

    Joined:
    Mar 19, 2009
    Posts:
    7
    Hi put me down I would love to help test, use, Buy
     
  20. MrStu

    MrStu

    Joined:
    Mar 20, 2009
    Posts:
    5
    just another bump to let you know there's another lightwaver out here that's really looking forward to this.
     
  21. Ramen Sama

    Ramen Sama

    Joined:
    Mar 28, 2009
    Posts:
    561
    I'd be interested as well
     
  22. jjnstn

    jjnstn

    Joined:
    Mar 26, 2008
    Posts:
    53
    Would love to get my hands on this. Will this be available soon.
     
  23. dcarlson314

    dcarlson314

    Joined:
    Apr 1, 2009
    Posts:
    45
    I'm a long time LW user also and am very interested in your utilities!
     
  24. DaveG

    DaveG

    Joined:
    Mar 12, 2009
    Posts:
    70
    I would love to utilize the morph feature for a project that we are working on.
     
  25. popeye

    popeye

    Guest

    Joined:
    Apr 14, 2009
    Posts:
    3
    Big interest here too. I would love to test, use and buy. Please keep us posted. Thanks.
     
  26. WillBellJr

    WillBellJr

    Joined:
    Apr 10, 2009
    Posts:
    394
    Another LW'er as well - definitely get that PayPal account going!

    Please, I'd like to join in on this action if possible - THANKS!

    -Will
     
  27. Tzan

    Tzan

    Joined:
    Apr 5, 2009
    Posts:
    736
    I just got through some of the tutorials and I'm ready to start some serious work. Would love to try your program!
     
  28. tholomier

    tholomier

    Joined:
    Apr 23, 2009
    Posts:
    1
    hello,
    i would love to help on this gem.
    i use lightwave everyday from the begining.
    thx!
     
  29. rom

    rom

    Joined:
    Jul 2, 2006
    Posts:
    265
    I am glad this thread has picked up.
    just what is needed.
    Watch this space...
     
  30. Tzan

    Tzan

    Joined:
    Apr 5, 2009
    Posts:
    736
    *watching carefully* :eek:
     
  31. DigiLusionist

    DigiLusionist

    Joined:
    Apr 30, 2007
    Posts:
    213
  32. popeye

    popeye

    Guest

    Joined:
    Apr 14, 2009
    Posts:
    3
    me too :)
     
  33. c.rocks

    c.rocks

    Joined:
    Jan 12, 2007
    Posts:
    6
    A tool like this is oh so necessary. Lightwave and Unity need to play well together.
     
  34. KEMBL

    KEMBL

    Joined:
    Apr 16, 2009
    Posts:
    181
  35. dgish

    dgish

    Joined:
    May 2, 2009
    Posts:
    10
    Rom, I am definitely interested in trying your scripts. Please? Our FBX workflow is not workflowing.
     
  36. DigiLusionist

    DigiLusionist

    Joined:
    Apr 30, 2007
    Posts:
    213
    So, when will this be made available to test?
     
  37. rom

    rom

    Joined:
    Jul 2, 2006
    Posts:
    265
    soon
     
  38. Tzan

    Tzan

    Joined:
    Apr 5, 2009
    Posts:
    736
    Hey Rom I dont want to seem pushy, but I was wondering if we could have an update on how things are going.

    I just started a project and hit up against the usual LW issues, like no second UV.

    I'm aware of the unwrap3d.com, but you'll save me $60. No point in buying that then yours :)

    Thanks
     
  39. magnetica

    magnetica

    Joined:
    Jan 3, 2008
    Posts:
    86
    hi,+
    i'm a LW user since LightRave 3.1 on Amiga (sniff) so i'm very interested in your project

    pls let me know how can i test and help you

    cheers
     
  40. magnetica

    magnetica

    Joined:
    Jan 3, 2008
    Posts:
    86
    any news? :)
     
  41. hai_ok

    hai_ok

    Joined:
    Jun 20, 2007
    Posts:
    193
    Like many here, I have been using LW since ver 4 (I still have and LOVE my Amiga Video Toaster 2.0) I even still have the manuals and boxes and toaster installation floppies.

    I am extremely interested in morphmixer.cs!

    Please put me on your list!

    I have PayPal, and I'm not afraid to use it!
     
  42. kinl

    kinl

    Joined:
    Jun 1, 2008
    Posts:
    355
    Wow this sounds amazing, i've been away from the forums for a while doing some simple iPhone stuff that didnt need 2uvs etc etc...

    I would most definitly like to Try/Buy this whatever the price.. (well almost) ;)

    Is there any news??? I will buy it now!
     
  43. magnetica

    magnetica

    Joined:
    Jan 3, 2008
    Posts:
    86
    hey man..
    have you some goon news for us?
    our credit cards are hot! ;)

    pls give us some feedback

    cheers
     
  44. Rumphiz

    Rumphiz

    Joined:
    Apr 1, 2009
    Posts:
    13
    Another potential customer here Rom, if you're reading.
     
  45. chilton

    chilton

    Joined:
    May 6, 2008
    Posts:
    564
    Hi guys,

    Just an update (from another perspective): Rommany and Petter have been working on this for a long time, and it's really maturing quickly. I'm happy to be helping with this last bit, but frankly these guys really knew what they're doing LONG before I got involved.

    I've been working with them to make sure this is a fluid, straightforward pipeline from LightWave straight into Unity. I'm not sure what Rommany and Petter want me to divulge, but I can tell you that it's really slick, and extremely powerful.

    And without going to go into details, I can tell you they've put some things in here that take this far past the point of just building a solid importer for LightWave objects. I believe, based on where they are today, and from where our discussions are focused currently, that a beta release is imminent.

    So yeah, get ready!
     
  46. Tzan

    Tzan

    Joined:
    Apr 5, 2009
    Posts:
    736
    Great! Thanks for the update.
     
  47. pete

    pete

    Joined:
    Jul 21, 2005
    Posts:
    1,647
    awesome Chilton and hey good to see ya around these parts!
     
  48. magnetica

    magnetica

    Joined:
    Jan 3, 2008
    Posts:
    86
    very good news.
     
  49. iaian7

    iaian7

    Joined:
    Mar 27, 2009
    Posts:
    1
    This is terrific news, and I agree with Pete, great to hear from Chilton!
     
  50. popeye

    popeye

    Guest

    Joined:
    Apr 14, 2009
    Posts:
    3
    Woooow, thats great news!!! Thanks for the update. :)