![]() He also points out some entertaining visual bits, like the fascinating style of Devil’s Tuning Fork and a game map scale comparison chart (wow, WoW is small!). Speaking of Morgan, his Twitter feed mentioned a number of new resources: a new demo (with complete source) of ambient occlusion volumes at NVIDIA, a demo of sample distribution shadow maps (optimized z partitions for cascading maps) at Intel, and an introduction to DX 11 at Gamasutra.Speaking of Carmack, you must see the Epic Citadel demo for the iPad.The guy’s unnervingly productive: “Goal for today: implement photon maps and contrast with my current megatexture radiosity gathering.” But what will he do after lunch? It’s pretty interesting, in that he’s writing a ray tracer in OpenCL and relearning or rederiving various bits of knowledge that are not really written down anywhere. Morgan McGuire pointed out that John Carmack now has a Twitter account.So “max(0.0f,someVar) ” fixed the problem. My advice: always use the floating point version of numbers in shaders. ![]() Speaking of shaders, I lost much of a day tracking down a bug in Cg: writing code like this, “max(0,someVar) ” gave different results than HLSL when someVar was a float.fx (.fxh, etc.), choosing Microsoft Visual C++, then clicking Add. That said, you can get 90% of the way there (and for sure 100% virus free) by simply using “Options | Text Editor | File Extension” and setting extension. Worthwhile, I’ve installed it, it’s fine. It highlights shader text as you’d expect, highlighting function names correctly and generally making code more readable. NShader – If you use MSVC and you write shaders, this one’s for you.Well, let’s see how far I get tonight in clearing the backlog of 219 potential resources I’ve stored up.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |