Jump to content


Key and fill


10 replies to this topic

#1 Hawkwind

    Member

  • Members
  • PipPip
  • 92 posts

Posted 31 January 2008 - 08:29 AM

Is it possible to do this in DirectX9 ( Apparently OGL supports this ) on
Quaddro cards ?

#2 Nick

    Senior Member

  • Members
  • PipPipPipPip
  • 1225 posts

Posted 31 January 2008 - 10:39 AM

Yes.

#3 Hawkwind

    Member

  • Members
  • PipPip
  • 92 posts

Posted 01 February 2008 - 08:17 AM

How?

#4 Nick

    Senior Member

  • Members
  • PipPipPipPip
  • 1225 posts

Posted 01 February 2008 - 10:38 AM

You could use alpha testing, but the modern approach is to use a shader.

#5 Reedbeta

    DevMaster Staff

  • Administrators
  • 4979 posts
  • LocationBellevue, WA

Posted 01 February 2008 - 04:36 PM

Nick, are you sure 'key and fill' doesn't refer to key and fill lights?

In any case, the answer is still yes, you just need to set up two light sources.
reedbeta.com - developer blog, OpenGL demos, and other projects

#6 Nick

    Senior Member

  • Members
  • PipPipPipPip
  • 1225 posts

Posted 02 February 2008 - 12:14 AM

Reedbeta said:

Nick, are you sure 'key and fill' doesn't refer to key and fill lights?
No. But Hawkwind didn't specify. He might just as well be talking about color keying and filling the background. :whistle:

#7 Hawkwind

    Member

  • Members
  • PipPip
  • 92 posts

Posted 04 February 2008 - 12:53 PM

Nope... confusion.... this is a TV thing... where the hardware does key and
fill on dual inputs to a single output ( according to a chroma key ). I am told
that OGL drivers support this with Quadro FX cards. This isn't the same as
just writing a shader to replace a colour (or range of colours), since the two signals are real TV input frame data and so to use shaders would require fast frame transfer, probably via DMA, and similar output.
Hope this clears up the confusion ( but probably generates more... )

#8 Nick

    Senior Member

  • Members
  • PipPipPipPip
  • 1225 posts

Posted 04 February 2008 - 01:35 PM

Hawkwind said:

Nope... confusion.... this is a TV thing... where the hardware does key and fill on dual inputs to a single output ( according to a chroma key ). I am told that OGL drivers support this with Quadro FX cards.
Could you point us to the OpenGL extension of that?

Quote

This isn't the same as just writing a shader to replace a colour (or range of colours), since the two signals are real TV input frame data and so to use shaders would require fast frame transfer, probably via DMA, and similar output.
So you're afraid that the latency of streaming in a frame and processing it is an issue? :huh:

Exactly what are you goint to use this for?

#9 Hawkwind

    Member

  • Members
  • PipPip
  • 92 posts

Posted 04 February 2008 - 05:12 PM

This is TV stuff, and I've only got a vague idea myself at the moment. Something they asked me to look at (among 700 other things...) until I get
a Quaddro 5600 I'm really fishing in the dark here. I've never done OpenGL but
have done lots of game stuff in DirectX 9.
I was hoping that someone might have some experience with this TV sort of stuff otherwise I'll just have to wait until I get the Quaddro and play around
with it.
Cheers

#10 Mihail121

    Senior Member

  • Members
  • PipPipPipPip
  • 1052 posts

Posted 04 February 2008 - 05:41 PM

Since your problem is a very specific one, I doupt there will be much info floating around on the net. It might be, that the hardware actually supports merging signals but you will have to get the exact specifications of how it is beeing done. As far as I can tell, nearly every card with a TV-Out allows managing signals (even my Radeon 9250) but tweaking of the drivers might be needed and some extra configuration. Sending request to the driver team might give you a start.

#11 Hawkwind

    Member

  • Members
  • PipPip
  • 92 posts

Posted 05 February 2008 - 08:45 AM

Thanks





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users