This project is read-only.

No-Render on Xbox

May 31, 2012 at 6:21 AM
Edited May 31, 2012 at 6:21 AM

I use ModelBatch on the Xbox and there is nothing rendering. But when I run it on my laptop it works fine. And the Xbox build I have changed the reference to Xbox so that's not the problem.

SpriteBatch works fine tho. I have no idea of what the problem is.

 

And yes, I have debug runned it and the render code is called.

May 31, 2012 at 6:50 AM
It might be caused by cameras. Xbox do not support model viewer camera I think, so try to change the view & projection manually.


From: [email removed]
To: [email removed]
Date: Wed, 30 May 2012 22:21:09 -0700
Subject: No-Render on Xbox [nine:357785]

From: ChFlashER
I use ModelBatch on the Xbox and there is nothing rendering. But when I run it on my laptop it works fine. And the Xbox build I have changed the reference to Xbox so that's not the problem.
SpriteBatch works fine tho. I have no idea of what the problem is.
Read the full discussion online.
To add a post to this discussion, reply to this email (nine@discussions.codeplex.com)
To start a new discussion for this project, email nine@discussions.codeplex.com
You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings on codePlex.com.
Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com
May 31, 2012 at 7:22 AM

I used a FreeCamera. I will try creating a static Camera when I get home from school. 

May 31, 2012 at 7:22 PM
Edited May 31, 2012 at 7:35 PM

FreeCamera don't work on the Xbox.

 

Befor: @ ~Ln 75

 

View = Matrix.CreateTranslation(-position);
View *= Matrix.CreateRotationX(-MathHelper.PiOver2);
View *= Matrix.CreateRotationZ(Angle.Z);
View *= Matrix.CreateRotationY(Angle.Y);
View *= Matrix.CreateRotationX(Angle.X);

 

After:

 

View = Matrix.CreateRotationX(-MathHelper.PiOver2);
View *= Matrix.CreateTranslation(-position);
View *= Matrix.CreateRotationZ(Angle.Z);
View *= Matrix.CreateRotationY(Angle.Y);
View *= Matrix.CreateRotationX(Angle.X);

 

Just now I have the problem that it will be a bit not fully refreshed. So I get those Lines that's updating the Screen. Maybe just my TV, no idea. I am running the game at 1280x1024. I don't know if that is a bad choice.

 

EDIT-1: It has nothing to do with the Resolution.

EDIT-2: I have a solid 60fps, running HDMI. Must be the TV's Hz.