Jump to content
  • Advertisement
Sign in to follow this  
n00body

Yuv, Conversion & Blending

This topic is 2993 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Background:
Recently, I read an interesting Gamefest 2010 article from Monolith Productions detailing their Lighting Volumes technology. Basically, they store an ambient cube irradiance volume as a set of 3D textures, where each texture stores a color for a direction. In order to cut this down, they store an average color and six intensities. To accomplish this, they have to convert the data to Yuv space, do their calculations, then convert back.

Questions:
With all that having been said, can anyone point me toward resources on how to do the following:
  1. Convert linear colors to/from the Yuv color space?
  2. Average the uv components of 6 colors?

Any help would be most appreciated! ;)

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!