> On Jul 29, 2017, at 10:17 AM, Vasco Alexandre da Silva Costa
> <vasco.co...@gmail.com> wrote:
>
> On Sat, Jul 29, 2017 at 11:42 AM, Marco Domingues <marcodomingue...@gmail.com
> <mailto: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.
There’s already a way to turn onehit on/off via the command-line -c option (man
rt):
rt -c "set a_onehit=0” ...
I also just added support for -c “set a_no_booleans=1” too, so that can be
tested independently. We’re not consistent yet, but there is a desire to push
features related to devs and debugging to the more verbose -c interface. With
a couple notable exceptions.
Cheers!
Sean
------------------------------------------------------------------------------
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