This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
gamedev:renderables [2015/07/20 08:34] – [Canvas View] dragonlord | gamedev:renderables [2019/05/24 23:43] (current) – ↷ Links adapted because of a move operation dragonlord | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{tag> | ||
<WRAP youarehere> | <WRAP youarehere> | ||
- | [[: | + | [[: |
</ | </ | ||
Line 28: | Line 29: | ||
====== Video Frame ====== | ====== Video Frame ====== | ||
The renderable takes the texture image from a video frame. Video Frame renderables can be applied to all texture properties using an image. You assign a video resource to the renderable and you set a time frame. The given frame from the video is then used as the image. This is the preferred way for using sequential textures playing a series of images. The speed is usually slower than with image renderables since video frames tend to be uploaded to the graphic card each time it is used. Depending on the usage in your game it might be better to use image renderables instead with a bunch of images loaded into memory. | The renderable takes the texture image from a video frame. Video Frame renderables can be applied to all texture properties using an image. You assign a video resource to the renderable and you set a time frame. The given frame from the video is then used as the image. This is the preferred way for using sequential textures playing a series of images. The speed is usually slower than with image renderables since video frames tend to be uploaded to the graphic card each time it is used. Depending on the usage in your game it might be better to use image renderables instead with a bunch of images loaded into memory. | ||
+ | |||
+ | ====== Examples ====== | ||
+ | <WRAP group> | ||
+ | <WRAP half column box centeralign> | ||
+ | {{ youtube> | ||
+ | Dynamic Content in Action doing an interactive computer screen. | ||
+ | </ | ||
+ | |||
+ | <WRAP half column centeralign> | ||
+ | </ | ||
+ | </ | ||
+ |