my 3d object will not display please help me
https://drive.google.com/file/d/1dFLV54TMlw7Q5OdjgQLtDrEyQwQZvYkz/view?usp=sharing
this is my program
Save me downloading your project, can you do us a screen gram of your Draw code?
How are you creating the World, View and Projection matrix for the draw call etc…
hello, try like this.
protected override void Draw(GameTime gameTime)
{
GraphicsDevice.Clear(Color.CornflowerBlue);
spriteBatch.Begin();
spriteBatch.Draw(CloudBackground, new Rectangle(0, 0, 1920, 1080), Color.White);
cube[0].Draw(spriteBatch);
foreach (var Button in Buttons)
{
Button.Draw(gameTime, spriteBatch);
}
spriteBatch.DrawString(font, cube[0].Scrambletext.ToString(), new Vector2(150, 715), Color.Black);
spriteBatch.DrawString(font, cube[0].CrossText, new Vector2(150, 765), Color.Black);
spriteBatch.End();
foreach (var model in models)
{
model.Draw(gameTime, spriteBatch);
}
//models[0].Draw(gameTime, spriteBatch);