每帧绘图能力 [英] Drawing Capability per Frame

查看:86
本文介绍了每帧绘图能力的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

再次打招呼;)
正如我在上一个问题中所述,我正在研究一个需要每帧绘制太多矩形的项目.
我的问题一目了然,在线页面上可以绘制多少个Element(Rectangle)Silverlight?
就我而言10000就足够了.

问候
IT_Discovery ...

Hi again ;)
as i described in my last Question ,i''m working on an project which need to draw too many rectangles per frame.
my question at glance is how many Element(Rectangle)Silverlight could Draw on online page?
in my case 10000 is enough.

Regards
IT_Discovery...

推荐答案

我认为Silverlight不会有任何限制.

客户端处理处理器电源,图形卡.记忆力和其他此类因素可能是控制因素.

确保您的客户拥有功能强大的计算机.
I dont think Silverlight will have any limitations.

The client machines processor power, graphics card. memory and other such factors might be the controlling factors.

Make sure your clients have powerful machines.


感谢您对abhinva的回复,
但我认为问题是我绘制矩形的方式,例如:
绘制所有框,我使用以下代码:
thank for reply abhinva,
but i think the problem is the way which i draw the rectangles for example:
to draw all the box i use the following Code:
For(int Row=0;Row<100;Row++)
    For(int Column=0;Column<100;Column++)
        {
myGrid.Children.Add(TheDifined);
        }



绘制过程需要10%的时间,Loods花费了90%的时间.

所以我必须找出更好的方法来画我的盒子...
你的想法是什么?



the Drawing process takes 10% of the time and the Loods spent 90% of that.

so i have to find out better way to draw my boxes...
what''s your idea?


这篇关于每帧绘图能力的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆