I see... That looks like what I had in mind. Well this is not in the API of GLPlot yet, but as its very simple I could just give you a piece of code, that does exactly this. Would that help? If yes, how do you have the data? Best would be an array like this: using ImmutableArrays #needed for vectors edges = Vector3[Vector3(...), Vector3(...), ...] color = Vector3[Vector3(...), Vector3(...), ...] face_indexes = [0,1,2,3, 3,4,5,6 , ...] # 0 indexed triangles. So a quad would actually be 0,1,2, 2,3,0 1 --- 2 | / | 0 ---3 If that works out for you, we could just extend the plotting API, to include patches, preferable without the user needing to build the indexes.
- [julia-users] polygonal patches with interpolated colouri... Andrea Vigliotti
- [julia-users] Re: polygonal patches with interpolate... Andreas Lobinger
- [julia-users] Re: polygonal patches with interpo... Andrea Vigliotti
- [julia-users] Re: polygonal patches with interpolate... Simon Danisch
- [julia-users] Re: polygonal patches with interpo... Andrea Vigliotti
- Re: [julia-users] Re: polygonal patches with... Keno Fischer
- Re: [julia-users] Re: polygonal patches ... Andreas Lobinger
- Re: [julia-users] Re: polygonal pat... Keno Fischer
- Re: [julia-users] Re: polygonal... Andreas Lobinger
- Re: [julia-users] Re: polygonal patches ... Andrea Vigliotti
- [julia-users] Re: polygonal patches with interpolate... Simon Danisch
- [julia-users] Re: polygonal patches with interpo... Simon Danisch
- [julia-users] Re: polygonal patches with interpo... Andrea Vigliotti
- [julia-users] Re: polygonal patches with interpolate... Simon Danisch
- [julia-users] Re: polygonal patches with interpo... Andrea Vigliotti
- [julia-users] Re: polygonal patches with interpolate... Simon Danisch
- [julia-users] Re: polygonal patches with interpo... Andrea Vigliotti
- [julia-users] Re: polygonal patches with interpolate... Simon Danisch
- [julia-users] Re: polygonal patches with interpo... Andrea Vigliotti
- Re: [julia-users] Re: polygonal patches with... Simon Danisch
- Re: [julia-users] Re: polygonal patches ... Andrea Vigliotti
