dbate...@dbateman.org schrieb:
> On Sun, Mar 08, 2009 at 01:14:49PM -0600, Daniel J Sebald wrote:
>   
>> Martin,
>>
>> Using depthorder is creative.  I'd like to point out that depthorder is 
>> only an approximation to what should be "hidden surfaces".  I worked on 
>> many aspects of gnuplot.  Although gnuplot does have a hidden line 
>> algorithm (i.e., it can break a mesh into line segments--based on 
>> intersections of lines--and discard those segments which are hidden by a 
>> surface), it doesn't have an algorithm that breaks surfaces into 
>> triangles--based on intersections of surfaces--and discard hidden surfaces. 
>> So depthorder is an approximation that quite often has patch that seems out 
>> of place, sticking through a surface it shouldn't, etc.
>>     
>
> Martin's solution works as his isosurface function returns triangles for 
> the polygons. If we wanted to use the "patch" function of octave for 3D 
> patches we'd have to handle patches with an arbitrary number of points. 
> We could quite easily relax the constraint on 3D filled patches in 
> Octave to instead of not permitting them, to allow only 3D filled 
> patches with three points. That would allow Martin's code into the core 
> of Octave.
>
>   
I think we should move this discussion to the maintainers list. Although
almost all octave developers are also subscribed here, I don't think
John is. Allowing only triangles for the gnuplot backend sounds
reasonable to me, if it allows trisurf and isonormals to work.

But again, I think John should be included in this discussion. Martin,
can you start a new thread on octave-maintainers?

Kai


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to