Talk:Swizzling (computer graphics)
Appearance
![]() | This article is rated Stub-class on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||||||||||||
|
Not only in graphics
[edit]The term swizzle is not exclusive to graphics. ¤ ehudshapira 16:42, 3 September 2007 (UTC)
But what is this *for*?
[edit]Someone please add a section explaining why swizzling is needed, and what it does practically, rather than just mathematically. Under what circumstances would a programmer use it? 81.158.2.229 (talk) 15:27, 5 May 2008 (UTC)
- I agree that the article poorly explains the common use of swizzling, so I've added an examples needed tag. There are two reasons for the poor explanation:
- In GPGPU programming, "swizzling" also includes selecting some components in isolation, without rearrangement. For example, I can extract the RGB components of a 4-D vector representing an RGBA colour by using "vec3 rgbColour = colour.rgb". This is indeed very common.
- The use of swizzling via rearrangement is rather useless on its own. However, it can facilitate optimisations. For examples, see this page.
- Hopefully someone gets around to clarifying all this in the article. C xong (talk) 01:13, 4 March 2010 (UTC)
permutation?
[edit]That's not a permutation matrix. Permutations are bijective.--92.77.211.90 (talk) 13:27, 5 May 2014 (UTC)
Categories:
- Stub-Class computer graphics articles
- Low-importance computer graphics articles
- WikiProject Computer graphics articles
- Stub-Class Computing articles
- Unknown-importance Computing articles
- Stub-Class software articles
- Unknown-importance software articles
- Stub-Class software articles of Unknown-importance
- All Software articles
- All Computing articles