Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Source Code] Post Processing
#12
You have the source code, you may do pretty much what ever you want with it as long as you don't release only binaries(you must include source with your release).

If you can do something is a different question, and depends entirely on your abilities :p.


@Zazz , what do you mean transparencies? If you mean pngs with alpha blending, not really. If you mean taking the characters and fading them in and out, then not really.

You get an array of pixels, after lf2 has finished drawing on the screen. Hence the title "post processing", meaning you process the pixels after lf2 is finished with it.

If you mean writing a huge water mark saying "Silva Rules" in the middle of the screen, which is transparent, then there shouldn't be any problem. Alpha blending is quite easy. I think it works something like:

pixel = [(source*alpha) + dest*(255-alpha)]/256

Source = the orginal pixel which was there.
dest = the pixel you want to put there.
alpha = the transparency value.

Might be wrong, you should probably google it if you want to implement it.
[Image: doty7Xn.gif]

10 ʏᴇᴀʀs sɪɴᴄᴇ ɪʀᴄ ɢᴏᴏᴅ.ɪ ᴡᴀʟᴋ ᴛʜʀᴏᴜɢʜ ᴛʜᴇ ᴇᴍᴘᴛʏ sᴛʀᴇᴇᴛs ᴛʀʏɪɴɢ ᴛᴏ ᴛʜɪɴᴋ ᴏғ sᴏᴍᴇᴛʜɪɴɢ ᴇʟsᴇ ʙᴜᴛ ᴍʏ ᴘᴀᴛʜ ᴀʟᴡᴀʏs ʟᴇᴀᴅs ᴛᴏ ᴛʜᴇ ɪʀᴄ. ɪ sᴛᴀʀᴇ ᴀᴛ ᴛʜᴇ sᴄʀᴇᴇɴ ғᴏʀ ʜᴏᴜʀs ᴀɴᴅ ᴛʀʏ ᴛᴏ sᴜᴍᴍᴏɴ ᴛʜᴇ ɢᴏᴏᴅ ɪʀᴄ. ɪ ᴡᴀᴛᴄʜ ᴏᴛʜᴇʀ ɪʀᴄ ᴄʜᴀɴɴᴇʟs ʙᴜᴛ ɪᴛ ɪs ɴᴏ ɢᴏᴏᴅ. ɪ ᴘᴇsᴛᴇʀ ᴢᴏʀᴛ ᴀɴᴅ ᴛʀʏ ᴛᴏ ʀᴇsɪsᴛ ʜɪs sᴇxɪɴᴇss ʙᴜᴛ ɪᴛ ɪs ᴀʟʟ ᴍᴇᴀɴɪɴɢʟᴇss. ᴛʜᴇ ᴇɴᴅ ɪs ɴᴇᴀʀ.ɪ ᴛʜᴇɴ ᴜsᴜᴀʟʟʏ ʀᴇᴀᴅ sᴏᴍᴇ ᴏʟᴅ ɪʀᴄ ʟᴏɢs ᴀɴᴅ ᴄʀʏ ᴍʏsᴇʟғ ᴛᴏ sʟᴇᴇᴘ.


Reply
Thanks given by:


Messages In This Thread
[Source Code] Post Processing - by Boop - 06-06-2009, 08:56 AM
RE: Post Processing : Testers Needed - by Ramond - 06-06-2009, 09:07 AM
RE: Post Processing : Testers Needed - by Ascor - 06-06-2009, 10:36 AM
RE: Post Processing : Testers Needed - by Boop - 06-06-2009, 12:05 PM
RE: [Source Code] Post Processing - by Boop - 06-07-2009, 09:35 AM
RE: [Source Code] Post Processing - by Zazz1 - 06-09-2009, 06:54 AM
RE: [Source Code] Post Processing - by Boop - 06-09-2009, 04:32 PM
RE: [Source Code] Post Processing - by Zazz1 - 06-10-2009, 05:53 AM
RE: [Source Code] Post Processing - by Reaper - 06-10-2009, 12:35 PM
RE: [Source Code] Post Processing - by Ramond - 06-10-2009, 12:54 PM
RE: [Source Code] Post Processing - by Zazz1 - 06-11-2009, 06:12 AM
RE: [Source Code] Post Processing - by Boop - 06-11-2009, 06:29 AM
RE: [Source Code] Post Processing - by Azriel - 06-11-2009, 11:51 AM
RE: [Source Code] Post Processing - by Boop - 06-12-2009, 12:41 PM
RE: [Source Code] Post Processing - by Boop - 06-20-2009, 11:24 AM
RE: [Source Code] Post Processing - by Zazz1 - 06-22-2009, 06:26 AM
RE: [Source Code] Post Processing - by Boop - 06-23-2009, 02:31 PM



Users browsing this thread: 1 Guest(s)