[英]How to simulate low fps on iOS device?
I want to simulate how the old CRT screens work on my iPhone. 我想模拟旧的CRT屏幕如何在我的iPhone上运行。 I need any ideas.
我需要任何想法。
EDITED: 编辑:
I'm interesting in 29.97Hz 我很有意思29.97Hz
如果在非刷新录制频率下使用摄像机录制时,您无法模拟CRT屏幕的属性,使其闪烁,LCD显示屏不像CRT那样部分更新屏幕。
You can't simulate the actual flicker of a CRT on an LCD display. 您无法在LCD显示屏上模拟CRT的实际闪烁。 However, if you're looking to make a scene or portion of your game look like it's on a TV, you can do any of a few tricks.
但是,如果你想让你的游戏场景或部分看起来像是在电视上,你可以做任何一些技巧。
TV shows are typically 24 Hz. 电视节目通常为24赫兹。 DVD's go up to 29.97 Hz.
DVD的频率高达29.97赫兹。 A little known fact is that Disney, like many animation studios, only animates at 12 Hz and shows each frame twice to achieve the 24 Hz.
一个鲜为人知的事实是迪斯尼像许多动画工作室一样,只能以12赫兹的速度进行动画制作并且每帧显示两次以达到24赫兹。 This means that to get the stutter associate with animated films, 12-15 Hz is your goal.
这意味着为了让口吃与动画电影相关联,12-15赫兹就是你的目标。
As already stated, LCD, LED, or Plasma displays are solid pictures, not strobed as CRTs are. 如前所述,LCD,LED或等离子显示器是实心图像,不像CRT那样频闪。 You need to add strobing.
你需要添加频闪。 I've found adding a single white frame every 3-4 frames add the desired effect.
我发现每3-4帧添加一个白色框架添加所需的效果。 Typical game frame rates are 60 Hz, so a single frame lasts for 1/60 sec (or 16.7 ms).
典型的游戏帧速率为60 Hz,因此单帧持续1/60秒(或16.7 ms)。 If every 4th frame is white, you get a flash simulating a refresh rate of about 15 Hz.
如果每4帧为白色,则会产生模拟刷新率约为15 Hz的闪光。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.