Error when trying to export model

Started by Jack,justjack, October 08, 2013, 02:03:59 PM

Previous topic - Next topic

Jack,justjack

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

wallworm

Could you share a screen shot of your WW General Settings, your WWMT UI settings and the actual compile screen?

Jack,justjack

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

wallworm

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.

Jack,justjack

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?

wallworm

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.

Jack,justjack

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

wallworm

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.

Jack,justjack

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

wallworm

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.

Jack,justjack

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.

wallworm

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.



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.

Jack,justjack

I tried turning on both options but that didnt seem to do anything. At this point I'm completely stumped :/

wallworm

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.

SMF spam blocked by CleanTalk