Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Graphics > Raytracing rendering software > Re: [OT] Ray tr...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 6 Topic 501 of 588
Post > Topic >>

Re: [OT] Ray tracing in OCaml (revisited)

by Tomasz bla Fortuna <bla@[EMAIL PROTECTED] > Mar 27, 2008 at 07:54 AM

--Sig_/I/dv1N1qMsDLLHVj5gHwbdB
Content-Type: text/plain; charset=ISO-8859-2
Content-Transfer-Encoding: quoted-printable

Dnia Thu, 27 Mar 2008 05:36:18 +0000
Jon Harrop <usenet@[EMAIL PROTECTED]
> napisa=B3(a):

> Jon Harrop wrote:
> > This faster OCaml implementation is still much more concise than
> > TBP's C++ and is now only 20% slower:
>=20
> The OCaml implementation is now outperforming the C++ implementation
> compiled with g++ 4.2.3:
>=20
>   http://www.ffconsultancy.com/languages/ray_tracer/results.html
>=20
> Albeit, because the g++ compiled code is getting slower with newer
> versions of g++...
>=20
> Looking back, Thierry Berger-Perrin claimed he could write a much
> faster C++ implementation. How is that coming along? ;-)
>=20

Hey,=20
  I was unable to write faster OCaml implementation. ;)

  I was supposed to write C++ raytracer for studies. Just to learn how
to write raytracers I've written at first a version in OCaml (code +
desc. here: http://bla.thera.be/archives/17).
It took < 900 lines of
code to make it working while C++ version had 4000 lines when it started
rendering anything interesting (code here:
http://repo.or.cz/w/blaRAY.git,
some doc., no pictures:
http://temp.thera.be/blaRAY/refman.html.d/).

  But still C++ was faster. ;s This programs are too big to serve as
benchmarks, but someone might be interested.=20


--=20
Tomasz bla Fortuna
jid: bla(at)af.gliwice.pl
pgp: 0x90746E79 @[EMAIL PROTECTED]
 pgp.mit.edu
www: http://bla.thera.be

--Sig_/I/dv1N1qMsDLLHVj5gHwbdB
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)

iD8DBQFH60SlT6wvGJB0bnkRAm9QAKDYSN0oj4QknqMJLeFlq0g/EYNU7wCgrV6N
qtTGeS8rI/zBf7aOGgZWbB0=
=AGg8
-----END PGP SIGNATURE-----

--Sig_/I/dv1N1qMsDLLHVj5gHwbdB--
 




 6 Posts in Topic:
Ray tracing in OCaml (revisited)
Jon Harrop <jon@[EMAIL  2006-08-31 02:39:17 
Re: Ray tracing in OCaml (revisited)
Jon Harrop <jon@[EMAIL  2007-01-04 04:29:10 
Re: Ray tracing in OCaml (revisited)
Jon Harrop <usenet@[EM  2008-03-27 05:36:18 
Re: [OT] Ray tracing in OCaml (revisited)
Tomasz bla Fortuna <bl  2008-03-27 07:54:24 
Re: Ray tracing in OCaml (revisited)
Miles Bader <miles.bad  2008-03-28 12:19:26 
Re: Ray tracing in OCaml (revisited)
Jon Harrop <usenet@[EM  2008-03-28 12:34:48 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 0:20:31 CST 2008.