[Bf-committers] optimising the code
Sun, 30 May 2004 18:49:02 +0200
Am Samstag, 29. Mai 2004 18:34 schrieb Jean-Luc Peuri=E8re:
> Blender structures use floats, so you must do float math
> when possible, which was the case before 2000 but is
> no more. Or switch all structures to use only doubles.
> Besides, SSE and Altivec code is float not double so if we
> either use those, that's the right road.
Plus double means also double memory and bandwidth requirements. And this c=
mean *a lot* for large scenes, or many operations. Rendering a scene with ~=
Mio vertices takes up twice as much in memory for the scene description whe=
using doubles and also needs twice as much bandwidth for loading and storin=
of the FPU registers.
[--- PGP key FD05BED7 --- http://www.root42.de/ ---]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
-----END PGP SIGNATURE-----