About Store Forum Documentation Contact



Post Reply 
hi, question,help please!
Author Message
lovee Offline
Member

Post: #1
hi, question,help please!
hi friend

i want to achieve <video stream> or <ShockwaveFlash> obj to display on screen,

i find in "http://http.developer.nvidia.com/CgTutorial/cg_tutorial_chapter03.html"
/************************************************************************
Sampler Type : samplerRECT
Texture Type : Non-power-of-two, non-mipmapped 2D texture
Applications : Video images, photographs, temporary buffers
*************************************************************************/
and in EE "Vertex Index Buffer.h"

"Use 'VI' vertex index buffer for drawing simple 2D buffered graphics."
"static void shader(ShaderTech *shader); // set custom shader"

can i use VI's operations custom shader to achieve?

please give a little tips!
thank you very muchsmile
05-18-2010 04:16 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: hi, question,help please!
Hello,

For that I think you can just create a texture (Image)
then lock it, fill the pixels, unlock, and just draw the image on the screen.
custom shaders aren't required.
05-18-2010 04:54 PM
Find all posts by this user Quote this message in a reply
lovee Offline
Member

Post: #3
RE: hi, question,help please!
thank you very much for your help
05-18-2010 04:59 PM
Find all posts by this user Quote this message in a reply
Post Reply