Advertisement
News
EEtimes
News the global electronics community can trust
eetimes.com
power electronics news
The trusted news source for power-conscious design engineers
powerelectronicsnews.com
EPSNews
News for Electronics Purchasing and the Supply Chain
epsnews.com
elektroda
The can't-miss forum engineers and hobbyists
elektroda.pl
eetimes eu
News, technologies, and trends in the electronics industry
eetimes.eu
Products
Electronics Products
Product news that empowers design decisions
electronicproducts.com
Datasheets.com
Design engineer' search engine for electronic components
datasheets.com
eem
The electronic components resource for engineers and purchasers
eem.com
Design
embedded.com
The design site for hardware software, and firmware engineers
embedded.com
Elector Schematics
Where makers and hobbyists share projects
electroschematics.com
edn Network
The design site for electronics engineers and engineering managers
edn.com
electronic tutorials
The learning center for future and novice engineers
electronics-tutorials.ws
TechOnline
The educational resource for the global engineering community
techonline.com
Tools
eeweb.com
Where electronics engineers discover the latest toolsThe design site for hardware software, and firmware engineers
eeweb.com
Part Sim
Circuit simulation made easy
partsim.com
schematics.com
Brings you all the tools to tackle projects big and small - combining real-world components with online collaboration
schematics.com
PCB Web
Hardware design made easy
pcbweb.com
schematics.io
A free online environment where users can create, edit, and share electrical schematics, or convert between popular file formats like Eagle, Altium, and OrCAD.
schematics.io
Product Advisor
Find the IoT board you’ve been searching for using this interactive solution space to help you visualize the product selection process and showcase important trade-off decisions.
transim.com/iot
Transim Engage
Transform your product pages with embeddable schematic, simulation, and 3D content modules while providing interactive user experiences for your customers.
transim.com/Products/Engage
About
AspenCore
A worldwide innovation hub servicing component manufacturers and distributors with unique marketing solutions
aspencore.com
Silicon Expert
SiliconExpert provides engineers with the data and insight they need to remove risk from the supply chain.
siliconexpert.com
Transim
Transim powers many of the tools engineers use every day on manufacturers' websites and can develop solutions for any company.
transim.com

Ray Tracing: Is Holy Grail Found?

By   03.18.2014 0

Ray tracing…it takes imagination to do it in a mobile.

Three years and a few months ago, Imagination Technologies surprised the Technorati by buying struggling but clever Caustic Graphics. The value of ray tracing has been well established, as has the painfully slow process of rendering such physically perfect images. The idea of using ray tracing on a mobile device, the arena Imagination plays in, seemed farfetched. Equally questionable was the idea that IP provider Imagination would enter into the chip or AIB PC business — it had been in that business, and that was why it went into IP.

There were hints that one day ray tracing would show up in a mobile device. After all, the performance of SoCs was accelerating at a rate faster than Moore’s law, and screen resolution in tablets was exceeding that of PCs. But for ray tracing to be useful in a time-scale commensurate with a mobile device would require something new and novel. Traditional ray casting, millions of rays, 30 times a second, is a workload that challenges 300 watt GPUs backed by a 200W X86 CPU, not lightweight work.

Do you hear the trumpets? Caustic had that novelty. Everyone who looked at Caustic’s technology (under deep, deep NDAs) judged the methodology valid, and impressive.

But ray tracing is a resource hog and time consumer. So Imagination used the novel Caustic RT engine, the powerful PowerVR shaders, and developed an invokable hybrid solution that lets the developers mix and match traditional, rasterized, polygon-based rendered objects (e.g., objects created using OpenGL ES) and physically accurate ray-traced elements in the same scene. This is a well known concept, but difficult to implement.

This hybrid rendering technique can provide high-quality dynamic lighting and shadow effects and can improve other elements of the game engine as well. One example is improving game AI. Characters in a first-person shooter that can start to see and understand the 3D environment around them, using the ray tracing to process spatial understanding, opens up a new world for realistic behavior when in-game agents can make decisions based on direct line-of-sight calculations that model what they are able to see. (There’s another side benefit to this, which helps overcome some of the latencies in the round-trip, action-reaction time in high-performance games).


The ability of GPUs to claim millions of rays per second is not a new concept. For example, a current-generation, desktop-class ray tracer using GPU compute and rendering a very simple scene, resident in a tiny cache, might be able to deliver millions of rays per second in a very simple shading scenario.

However, in 99% of real-world cases, those aren’t useful rays; and they would need a power budget upwards of 300W. Imagination believes it can accomplish similar results with its PowerVR ray-tracing-based hardware.

This is because, in a GPU, multiple threads execute the same instruction (e.g., SIMD). This works great for vertex and pixel processing workloads. High coherency between threads is essential for efficiency and non-coherent execution paths (the appearance of divergent branches results in masked-out operations and lost GFlops of performance).

However, realistic ray tracing typically results in non-coherent processing because of the way light behaves in the real world (think scattered). Therefore, it is very difficult to maintain coherency among threads performing ray tracing. This is why ray tracing is not a good match for traditional GPU architectures.

Next Page: The Holy Grail

0 comments
Post Comment
Susan Rambo   2014-03-19 13:47:04

Excellent blog explaining the issues with ray tracing on GPUs and why Imagination may achieved ray tracing for mobile.

Caleb Kraft   2014-03-19 16:33:50

People have been working on faster ways of doing ray tracing for some time.  Doing ray tracing in things like product renders is more common than games because your time budget is so much bigger. I can spend 20+ hours rendering a single frame of a car for a print ad, I don't have to put out 30+ frames like you would for a game (60+ for VR!).

Hopefully this hardware will push us to a place where we'll be able to more often utilize ray tracing. I suspect it will still be a while though.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Related Articles