PDA

View Full Version : Can't seem to get multi-sub objects to work


Wesley
05-18-2012, 04:44 AM
Hey folks, I've now followed a couple of different tutorials for multi-sub object materials/objects and I can't seem to get it to work. The latest, most sensible method I've gone through:

Create my object in 3ds Max.
Assign material ID to the polys.
Create dummy and link object to dummy.
Export geo by adding the dummy to the exporter list.
Create multi-sub material, with Standard materials using the Crytek shader.
Create the material in CryENGINE using the create material button in the CryExporter thing.

The multi-sub material is created fine.
The geo is exported.

But when the material is applied to the geo it always default to the first slot no matter what.

I've tried both a single mesh with different material IDs and two separate meshes with different IDs parented to the same dummy. Neither work.

Anything I'm missing here?

|MM|
05-18-2012, 05:30 AM
The steps you take seem alright.

Make sure the ID are actually applied, change the colors for the materials in 3ds max to check this.

Make sure that in CE3 you apply the parent material not a sub material.

Check if your material works fine with other geometry, and your if your geometry works fine with other materials.

Wesley
05-18-2012, 05:34 AM
Ah, I'm really at a loss then. The ID changes have definitely been applied and I'm definitely applying the parent material in CE3. It really seems like when I export geometry it just doesn't take into account the different IDs.

Wesley
05-18-2012, 06:44 AM
Okay, well I loaded in the "first_prop" asset from the third Eat3D Introduction DVD; and when I apply the multi-sub material it works fine.

I've double checked the material ID on the objects in Max, so clearly it's something that's going wrong when I export.

Wesley
05-18-2012, 07:39 AM
Okay, if I export just the geo, not using a Dummy, it works. No idea why a Dummy breaks it.