This project is read-only.
1

Closed

Dev > Load model with missing textures

description

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 7, 2011 at 12:56 AM by adamkane
Nicely done!

comments

ScottLaForge wrote Aug 3, 2011 at 10: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 10:14 PM

ScottLaForge wrote Aug 3, 2011 at 10: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 10:21 PM

wrote Aug 4, 2011 at 1:19 AM

wrote Aug 7, 2011 at 12:56 AM

wrote Feb 13, 2013 at 10:34 PM

wrote May 16, 2013 at 3:09 AM