Wall Worm Forums

Design Tools => Wall Worm Model Tools => WWMT Questions => Topic started by: Jack,justjack on October 08, 2013, 02:03:59 PM

Title: Error when trying to export model
Post by: Jack,justjack on October 08, 2013, 02:03:59 PM
I have 3ds max 2012 and i imported a obj. model that i wanted to export into hammer. i followed the steps on how to export via Wallworm but when it tries to export the black screen comes up as normal but it says error trying to open prograx86/steam/steamapps/common/left4dead2/left4dead2/modelsrc/myproject. If anyone can help me with this i would truly appreciate it, thanks
Title: Re: Error when trying to export model
Post by: wallworm on October 08, 2013, 02:22:30 PM
Could you share a screen shot of your WW General Settings, your WWMT UI settings and the actual compile screen?
Title: Re: Error when trying to export model
Post by: Jack,justjack on October 08, 2013, 06:08:59 PM
http://oi42.tinypic.com/313qb09.jpg

http://oi43.tinypic.com/257jfk4.jpg

That's the error message i get when I try to export.

Btw I didn't edit the obj model at all. I just imported it into 3ds and now I'm trying to export it
Title: Re: Error when trying to export model
Post by: wallworm on October 08, 2013, 07:45:44 PM
Click Wall Worm > Wall Worm Utilities > Check for Problems

Check all options in the General Problems group. Then hit the check for problems now button. My guess is you need to install a service pack for 3ds Max 2012.
Title: Re: Error when trying to export model
Post by: Jack,justjack on October 10, 2013, 01:37:23 AM
I uninstalled 3ds 2012 and installed 2013 instead and now it will import but how to I import all the textures if it has multiple tga files (sorry I just started doing this), and also my model shows up really small in hammer, do I need to change the size of the model somehow?
Title: Re: Error when trying to export model
Post by: wallworm on October 10, 2013, 08:29:27 AM
This size issue is either that your Max system scale is not set to 1 unit = 1 inch OR you scaled your object in Max at the object level but did not use Reset X Form. If you scaled your object, you must the select all the parts and add an XForm modifier. Then re-export.

The texture exporter should export all the materials/textures ... I'm not sure why they aren't exporting. You may have to load your model.
Title: Re: Error when trying to export model
Post by: Jack,justjack on October 10, 2013, 10:21:46 PM
Originally the textures were .dds files, but I converted to them to .tga with GIMP, but that didn't do anything. The obj. and texture files are kept in one folder. These are the texture files I have now:

http://oi40.tinypic.com/alp9iu.jpg

The textures don't show up when I export:

http://oi44.tinypic.com/350vw9i.jpg

And I get this error:

http://oi39.tinypic.com/2a9bm0n.jpg
Title: Re: Error when trying to export model
Post by: wallworm on October 10, 2013, 10:35:55 PM
I just loaded an update to WW that will fix the error on that line. However, it is likely there is something wrong with the way your material itself is setup... you may need to click File > Save As > Archive and send me the ZIP it creates with your files. Otherwise I have no idea what is wrong with the setup.
Title: Re: Error when trying to export model
Post by: Jack,justjack on October 12, 2013, 06:44:54 PM
I sent you a pm regarding this topic; reply to it whenever you get the chance. And earlier today after I sent you the pm I tried using an online converter instead of GIMP to convert the dds files to tga, but the tga files didn't work with 3ds max which has me assuming that my materials must be set up incorrectly. Again your help is appreciated
Title: Re: Error when trying to export model
Post by: wallworm on October 13, 2013, 11:02:23 AM
For future reference, you can convert DDS files inside Max too by making a bitmap node in the material editor with the DDS then use the Render Map function on that node and render as TGA.

As for the materials... send me the file. You can find my email in the README file that comes with the WW download.
Title: Re: Error when trying to export model
Post by: Jack,justjack on October 24, 2013, 09:58:59 AM
I created a 24X24X72 in 3ds max and the size is significantly larger than the fire engine model I'm trying to import.

http://oi43.tinypic.com/2ds44si.jpg

Increasing the size of the model in 3ds max doesn't increase in size in model viewer. Also the textures get messed up in model viewer.

Correct textures:

http://oi42.tinypic.com/afk76q.jpg


Messed up when I import the textures:

http://oi42.tinypic.com/2m43kb7.jpg

Whenever you get the chance to take a look at the problem just let me know. Take your time; and once again thanks for your help.
Title: Re: Error when trying to export model
Post by: wallworm on October 24, 2013, 11:45:32 AM
Quote from: Jack,justjack on October 24, 2013, 09:58:59 AM
I created a 24X24X72 in 3ds max and the size is significantly larger than the fire engine model I'm trying to import.

http://oi43.tinypic.com/2ds44si.jpg

Increasing the size of the model in 3ds max doesn't increase in size in model viewer. Also the textures get messed up in model viewer.

The solution to this problem was mentioned above:

Quote from: wallworm on October 10, 2013, 08:29:27 AM
This size issue is either that your Max system scale is not set to 1 unit = 1 inch OR you scaled your object in Max at the object level but did not use Reset X Form. If you scaled your object, you must the select all the parts and add an XForm modifier. Then re-export.

For future reference, this there is a deeper explanation on this subject on the docs section at My Model Scale is Wrong (http://dev.wallworm.com/document/127/my_model_scale_is_wrong.html).



Quote from: Jack,justjack on October 24, 2013, 09:58:59 AM
Correct textures:

http://oi42.tinypic.com/afk76q.jpg


Messed up when I import the textures:

http://oi42.tinypic.com/2m43kb7.jpg

The texture problems are probably due to some settings in the material and/or model export options.

The translucency is affected by the alpha channel of the bitmap. If you do not want WW to automatically apply the bitmap's translucency, then in the global settings turn on Translucent only If Diffuse in Opacity AND/OR turn on the Force Opaque VMT if Model $opaque.

The first option means that the diffuse alpha is only exported as transparent if the same bitmap is used in the Opacity map of the material.

The second one will make the model's VMTs all have no transparency if the model's $opaque setting is turned on.

In both events, you'll have to re-export the materials after the changes.
Title: Re: Error when trying to export model
Post by: Jack,justjack on October 25, 2013, 02:47:17 PM
I tried turning on both options but that didnt seem to do anything. At this point I'm completely stumped :/
Title: Re: Error when trying to export model
Post by: wallworm on October 26, 2013, 12:19:07 AM
I never have any problems with that... but I generally understand how the whole pipeline works. I suggest just experimenting and learning how Source materials work in general.