Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

How do you make a difference image between two frames...

 

i have one frame: an empty tennis court

 

another frame: a tennis court with a player

 

 

I want to get the difference ==> so the player should be visible alone now

in fact (all the pixels value from frame 2) - (all the pixels value from frame 1)

 

but how to do this??

 

thanks in advance

nico

Visit http://www.nico.gotdns.com

 

Now ONLINE!

  • 3 weeks later...
Posted

hey dude,

im not too sure whether you can do this in VB/C#, but on my TI-89 graphing calculator you can:

 

 

if you can somehow "Xor" 2 bitmaps/images (Xor is like an And or an Or) maybe it'll do it for you, but i highly doubt you can do this in .net

 

something like this:

 

playerstandingallaloneImage = tenniscourtImage Xor tenniscourtwithplayerImage

 

dont quote me on this(by the way if this method *does* work but it doesnt acheive theright results, try And or Or...

 

but dude im really not sure,

Pent

My VB.NET Game Programming Tutorial Site (GDI+, Direct3D, Tetris [coming soon], a full RPG.... you name it!)

vbprogramming.8k.com

My Project (Need VB.NET Programmers)

http://workspaces.gotdotnet.com/ResolutionRPG

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...