开发者

Simple 3D app Design Pattern

开发者 https://www.devze.com 2023-01-14 21:50 出处:网络
Im attempting to convert a simple 3D room explorer/configurator app that is a hacky mess into something a little better.

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?

0

精彩评论

暂无评论...
验证码 换一张
取 消