Re: faces texture don't use axis
Antonio Garcia <[email protected]> Wed, 25 Jul 2012 23:46:10 +0200
| Newsgroups | gmane.comp.python.visualpython.user |
|---|---|
| Message-ID | <CAKtwE=SzMrwvhj7dQLyvL63ZUZknU70Je5=2AoWw4sW71wGofQ@mail.gmail.com> |
Well, my problem was that I was using a texture in faces object with a mapping "rectangular/sign" and nothing appear when I tried to paint the faces object, only blank/gray colors. I solved using another mapping (just reading the materials.py in ~/site-packages/vis directory), the valid mapping list are: rectangular, sign, spherical,top, bottom, front, left, right, back, cubic, hollow_box and cylinder. Can I suggest put this list into the doc? Regards, 2012/7/23 Antonio Garcia <[email protected]> > Hi list, > > I am trying create a very simple model based in triangles using the > faces/frame objects in Vpython, > > I've tried put a texture onto my model, but always the system uses the > axis (1,0,0) as projection direction, and I can not select this direction > of projection as in box. > > Is there any way to select this projection axis using the faces object? > > Kind regards, and thank you for your great work. > > > > > > > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Visualpython-users mailing list Visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/visualpython-users