On Sat, Jul 29, 2017 at 11:42 AM, Marco Domingues <
marcodomingue...@gmail.com> wrote:
> Okay so this difference in time made me go check if I was doing things
> correctly, and well, I wasn’t testing with a Release build… With the
> Release build I got 0.64s (rt -s1024) and 0.35s (rt -l5 -s1024, but this
> is a different lighting model from the one with the command ‘rt -z1 -l5’,
> as Vasco mentions in his email). This for the havoc scene with the view:
> az35, el25.
>
Yeah I'll have to change the flags so that multi-hit mode is enabled as an
option to -z. Like -z1 enables OpenCL in single-hit mode and -z2 enables
OpenCL in multi-hit mode. I made the kludge originally because I hadn't
figured where to hook into OpenCL.
I think this is enabled/disabled in the original code with ap->a_nobooleans
= 1 and ap->a_onehit = 1 or something like that.
--
Vasco Alexandre da Silva Costa
PhD in Computer Engineering (Computer Graphics)
Instituto Superior Técnico/University of Lisbon, Portugal
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel