[Soc-2017-dev] Weekly Report #07 - Vertex Painting Improvement.

Howard Trickey howard.trickey at gmail.com
Fri Jul 21 16:43:11 CEST 2017


Erick,
Darshan removed a stray debugging print from his code and found that it
sped up a lot.  Do you still see a significant speed difference?


On Fri, Jul 14, 2017 at 4:38 PM Erick Blender <erickblender at gmail.com>
wrote:

> Hey guys,
> Can you please check this 2 branches (win64) and compare the speed?
> https://drive.google.com/drive/folde...0E?usp=sharing
> <https://drive.google.com/drive/folders/0B62B6BmVbltVb0cyQS1TekNZZ0E?usp=sharing>
>
> I don't want to rush into conclusion but i have the impression that
> Gsoc_2017 is really slow compare to Gsoc_2016. If it is so, may be it will
> be better to sort out what is the cause. Howardt and Darshan please have a
> look.
>
> I posted a copy to the BA thread as well
>
> On Fri, Jul 14, 2017 at 9:36 PM, Darshan kadu <darsh7807 at gmail.com> wrote:
>
>> Hello everyone,
>>
>> Here are the updates of the seventh week.
>>
>> *What I did this week:*
>>
>> This week I continued my work on vertex alpha.
>>
>>  In last week's code for the alpha channel, there was a problem that it
>> was not setting the alpha value properly to all the vertices. It was due to
>> the fac that goes into the mcol functions, if fac was out of range that is(
>> 0,255) then alpha was not set. I changed it, so that vertex has the alpha
>> value defined by the used irrespective of the fac value.
>>
>> I completed the ply exporter. It was taking the vertex color information
>> from the Mcol,
>> but it was limited to 3 colors i.e RGB, so I extended the corresponding
>> RNA so that now it is possible to access the alpha from the ply exporter.
>> Hence, once I got the access to the alpha I just append it to the RGB in
>> the ply exporter.
>>
>> The next task was fbx exporter. I took me some time to understand it, as
>> it is in python. There was an addon created for it by the artists
>> https://forum.unity3d.com/threads/vertex-rgba-blender-2-5x.254038/
>> The current fbx exporter was setting the alpha to 1 by default. I
>> replaced it with the alpha value from mloopcol. It is working well as
>> tested on unity with c# script.
>>
>> I faced the problem to commit the code in the addon folder.  So, I moved
>> the modified addon files into the startup folder and then commit the code.
>> This is the temporary solution as the add-ons have the separate repository.
>>
>> Next, I did Collada exporter. I was simple. I extended the current code
>> for alpha.
>>
>> Then, I started the task of showing the alpha in the 3d view. I have made
>> the preliminary changes to it. It is working for basic cases still, have to
>> make many changes to.
>>
>> *What I plan to do next:*
>>
>> I will complete the task of the alpha in 3d view, it is lacking for the
>> cases like mesh subdivide, face selection etc.
>>
>> I am getting the feedback on the blender artist thread about the vertex
>> alpha e.g. setting the alpha value. I will solve this problem.
>>
>> Thank you.
>>
>>
>>
>> _______________________________________________
>> Soc-2017-dev mailing list
>> Soc-2017-dev at blender.org
>> https://lists.blender.org/mailman/listinfo/soc-2017-dev
>>
>>
> _______________________________________________
> Soc-2017-dev mailing list
> Soc-2017-dev at blender.org
> https://lists.blender.org/mailman/listinfo/soc-2017-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/soc-2017-dev/attachments/20170721/dab6e56b/attachment.htm 


More information about the Soc-2017-dev mailing list