From: Bruce S. <Bru...@nc...> - 2008-03-06 23:09:09
|
If you want to create an object that is not already part of VPython, and cannot be constructed by a combination of existing objects, then you'll need to use the low-level "faces" object which is a list of triangles and normals to those triangles. It is of course tedious to build a cup this way, but that's the only way to do it at present. You might reduce the labor by using some 3D modeling program to create a cup, export a description in terms of primitive elements, and write a Python program to read that description and output a file containing appropriate "faces" parameters. Bruce Sherwood Mariano Di Felice wrote: > Hi at all, > my question is: is there a way for draw (speedy) an image into a 3D > vpython object? > > I would like do draw an image up to cup of tea ( for example ) and view it. > Is it possible? > > thx very much > bye > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > |