Search Unity

Importing .wmb files from 3DGS?

Discussion in 'Asset Importing & Exporting' started by Cole, Dec 5, 2009.

  1. Cole

    Cole

    Joined:
    Nov 11, 2009
    Posts:
    4
    Any ideas on how to import models from 3DGS? I've got .wmb files created using WED, and I want to import them into a unity iPhone project without losing the lightmaps. So far I've tried exporting .fbx files from WED, but the lightmaps get trashed.
     
  2. Cole

    Cole

    Joined:
    Nov 11, 2009
    Posts:
    4
    Here's the process I'm using to read .WMB files into Unity.

    I move the .wmb file into my Asset folder, and use wmb2obj.py to extract the meshes, textures and lightmaps and generate two .obj files, one for the textured model and one for the lightmap.

    I have an editor script, OBJLightmapCombiner.js, that then combines the two .obj files to generate the appropriate lightmap UVs.

    Please read the notes at the top of each script for limitations.

    -Cole
     

    Attached Files: