RE: [Algorithms] lights/shadows rendering architecture
Brought to you by:
vexxed72
|
From: Marc F. <mf...@fr...> - 2005-09-22 21:35:03
|
By the way, thank you for all your answers. I implemented the standard 1 light =3D 1 pass as a starting point and it works nicely. Doing so gave = me a better understanding of the whole lighting pipeline and a clean implementation. From that point, there is plenty of room to = improvements. Thanks again. Marc=20 -----Message d'origine----- De : gda...@li... [mailto:gda...@li...] De la part de Tom Forsyth Envoy=E9 : jeudi 22 septembre 2005 05:41 =C0 : gda...@li... Objet : RE: [Algorithms] lights/shadows rendering architecture There is only 1 GPU, but they have very long pipelines, and they also do = a lot of things in parallel. So the front of the pipeline can be trying to = use the texture before the end of it has finished, which it can't do, so it = has to stall. TomF. > -----Original Message----- > From: gda...@li...=20 > [mailto:gda...@li...] On=20 > Behalf Of Joris Mans > Sent: 21 September 2005 16:21 > To: gda...@li... > Subject: RE: [Algorithms] lights/shadows rendering architecture >=20 >=20 > > That means you'll have a pipeline doing: > >=20 > > -Render shadowbuffer A > > *stall* > > -Use shadowbuffer A > > -Render shadowbuffer B > > *stall* > > -Use shadowbuffer B > > -Render shadowbuffer C > > *stall* > > -Use shadowbuffer C > > etc. > >=20 >=20 > Why would the system stall between rendering to shadowbuffer=20 > A and using > it? Its not like the GPU renders a shadowbuffer which the CPU=20 > has to use > afterwards. I presume it all gets batched up in the command=20 > queue of the > GPU, and since there is only 1 GPU the shadowbuffer will be rendered > before the commands using it will be issued, so no stall, right? >=20 >=20 > Joris ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server.=20 Download it for free - -and be entered to win a 42" plasma tv or your = very own Sony(tm)PSP. Click here to play: = http://sourceforge.net/geronimo.php _______________________________________________ GDAlgorithms-list mailing list GDA...@li... https://lists.sourceforge.net/lists/listinfo/gdalgorithms-list Archives: http://sourceforge.net/mailarchive/forum.php?forum_ida88 |