> On 27 Jul 2017, at 21:01, Vasco Alexandre da Silva Costa
> <vasco.co...@gmail.com> wrote:
>
> On Thu, Jul 27, 2017 at 2:17 AM, Marco Domingues <marcodomingue...@gmail.com
> <mailto:marcodomingue...@gmail.com>> wrote:
>> On 27 Jul 2017, at 00:25, Vasco Alexandre da Silva Costa
>> <vasco.co...@gmail.com <mailto:vasco.co...@gmail.com>> wrote:
>
> Yes, there seems to exist a slightly difference in the light position and
> with the specular color, when comparing with the ANSI C results. But fixing
> the problem with the materials should be a priority. I’ve tried some things,
> like translating the regions as I did for the boolean trees, but that didn’t
> fix it. I will keep looking for a possible solution for this.
>
> Marco,
> Could you please make a patch with just the normals fix? I will try to
> investigate these materials render illumination issues.
> This way you can focus on the CSG code and optimizations.
>
> Thanks for reading this message,
Hi,
I’ve uploaded the patch with the normals fixed as you asked.
(https://sourceforge.net/p/brlcad/patches/472/
<https://sourceforge.net/p/brlcad/patches/472/>)
Meanwhile, I’ve been working in optimizing the process of building the
regiontable, by precomputing the table with the regions involved in each
primitive instead of doing this for each partition in the rt_boolfinal kernel.
This resulted in a significant improvement on the performance! I will include a
table with the new times in my log post tonight for reference.
Cheers,
Marco
>
> --
> 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
------------------------------------------------------------------------------
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