Re: 3d surface plot animation
"Poul Riis" <Poul.Riis-pIBpe43/vk1knbxzx/[email protected]>
| Newsgroups | gmane.comp.python.visualpython.user |
|---|---|
| Message-ID | <[email protected]> |
Here is a small section of the original faces_heightfield example:
class Model:
def __init__(self):
self.frame = frame()
self.model = faces(frame=self.frame, color=color.cyan)
self.vertices = []
def FacetedTriangle(self, v1, v2, v3, color=color.white):
"""Add a triangle to the model"""
for v in (v1,v2,v3):
self.vertices.append(v)
I cannot see why the color=color.white is there - it seems to have no
effect!? Replacing white with red doesn't change anything.
Rather, I would like to input something like c1,c2,c3 (three colors for
the vertices) in the FacetedTriangle. But how exactly?
I regret that I'm such a poor programmer but it could be a great help if
someone would implement this change in faces_heightfield.
Poul Riis
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Visualpython-users mailing list
Visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/visualpython-users