Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
163 user(s) are online (137 user(s) are browsing Forums)

Members: 0
Guests: 163

more...

Support us!

Headlines

 
  Register To Post  

« 1 (2)
Re: How to manually initialize a bitmap
Just can't stay away
Just can't stay away


See User information
@Rogue

Thanks !

Rock lobster bit me - so I'm here forever
X1000 + AmigaOS 4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
Go to top
Re: How to manually initialize a bitmap
Home away from home
Home away from home


See User information
Quote:

TSK wrote:
@Hans
Quote:
Chroma-keying is a different operation

I didn't mean real blue screen but how Apple does it changing background on the fly when you're sitting in front of a web cam.


In that situation you would have to use computer vision algorithms to segment the image into foreground and background, and turn that into an alpha mask. After that, you could use compositing to overlay the foreground over a new background.

Quote:
Quote:
You could start by creating an ARGB bitmap, and then use the fill rect operation to render a rectangle

Quote from Autodocs for SetRPAttrs() and RPTAG_APenColor: "The alpha part is currently ignored and should be set to 0xFF".

So it looks like no chance at the moment.


Use p96RectFill().

Hans

Join Kea Campus' Amiga Corner and support Amiga content creation
https://keasigmadelta.com/ - see more of my work
Go to top

  Register To Post
« 1 (2)

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project