Simple 3D app Design Pattern
Im attempting to convert a simple 3D room explorer/configurator app that is a hacky mess into something a little better.
I have now begun separating it out using an MVC pattern, but have found a major performance decrease. I think this is down to the Controller updating the camera开发者_StackOverflow parameters in the Model, which is then notifying the view, which in turn requests these new values.
Should this be an issue, or am I going about this the wrong way?
You may be going about it the wrong way. Try to implement a few tests to identify where the performance drop happens. What's your IDE , can you use a profiler?
精彩评论