Dev > Load model with missing textures


Add a developer menu item called "Load model with missing textures". Selecting this should load a "bad" model. This is a sample model that is missing it's textures. We'll use this sample model to test that we're handling this scenario nicely.
Closed Aug 6, 2011 at 11:56 PM by adamkane
Nicely done!


ScottLaForge wrote Aug 3, 2011 at 9:13 PM

I placed the new menu item and it currently points to a street sign model that I added which has NO textures. Will this do for now? Otherwise, which model do we have that is actually missing a texture? I tried the fire hydrant but when I set that to load, it throws an InvalidOperationException stating:

"The current vertex declaration does not include all the elements required by the current vertex shader. TextureCoordinate0 is missing."

wrote Aug 3, 2011 at 9:14 PM

ScottLaForge wrote Aug 3, 2011 at 9:21 PM

Nevermind, I see how it relates to Item# 9170. I will use the fire hydrant to throw the exception and place it in the error message window.

wrote Aug 3, 2011 at 9:21 PM

wrote Aug 4, 2011 at 12:19 AM

wrote Aug 6, 2011 at 11:56 PM

wrote Feb 13, 2013 at 9:34 PM

wrote May 16, 2013 at 2:09 AM