Michael Droettboom wrote:
> It's important to note that we're not, as far as I'm aware, 
> considering anything lighting or ray-tracing-like yet.  I'm not sure 
> that Phong shading actually makes sense without doing that.  The 
> Gouraud shading we're in the process of implementing uses only 
> explicit colors specified in the plot, not any sort of 
> light-source-calculated values.
>
> Add perhaps more importantly, Gouraud is implemented in a number of 
> vector formats, including PDF and PS (though matplotlib doesn't have 
> support for that yet, that's coming...)
>
> Mike

Mike:  I did add some support for crude light-source shading a while 
back.  It works directly on rgb values - see 
pylab_examples/shading_example.py.

-Jeff
>
> On 08/26/2009 07:06 PM, Nicolas Bigaouette wrote:
>> Its great news that the 3D is receiving more polish :)
>>
>> After reading on wikipedia, wouldn't it be nicier to have Phong 
>> reflection[1] instead of Gouraud?
>>
>> Maybe it would be too hard, as the Gouraud seems to be implemented 
>> directly in Agg (from what others just said...)
>>
>> Anyway, just a suggestion ;)
>>
>>
>> [1] http://en.wikipedia.org/wiki/Phong_reflection_model
>>
>>
>> 2009/8/26 Eric Firing <efir...@hawaii.edu <mailto:efir...@hawaii.edu>>
>>
>>     Reinier Heeres wrote:
>>     > Hi JJ,
>>     >
>>     > Thanks for the examples! I indeed suspected the anti-aliasing
>>     as well.
>>     > I'll include an option for linecolors = facecolors soon
>>     (probably this
>>     > weekend); it seems to be a good solution.
>>
>>     No, not in general.  There are two problems: it distorts the
>>     sizes and
>>     positions of the patches, very slightly, but enough that it might
>>     be a
>>     problem in some applications; and it does not work with alpha != 1.
>>
>>     Eric
>>
>>     
>> ------------------------------------------------------------------------------
>>     Let Crystal Reports handle the reporting - Free Crystal Reports
>>     2008 30-Day
>>     trial. Simplify your report design, integration and deployment -
>>     and focus on
>>     what you do best, core application coding. Discover what's new with
>>     Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>>     _______________________________________________
>>     Matplotlib-users mailing list
>>     Matplotlib-users@lists.sourceforge.net
>>     <mailto:Matplotlib-users@lists.sourceforge.net>
>>     https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>
>>
>>  
>> ------------------------------------------------------------------------------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
>> trial. Simplify your report design, integration and deployment - and focus 
>> on 
>> what you do best, core application coding. Discover what's new with 
>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>>  
>> _______________________________________________
>> Matplotlib-users mailing list
>> Matplotlib-users@lists.sourceforge.net 
>> <mailto:Matplotlib-users@lists.sourceforge.net>
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>   
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
> trial. Simplify your report design, integration and deployment - and focus on 
> what you do best, core application coding. Discover what's new with 
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> ------------------------------------------------------------------------
>
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>   


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to