Home My Page Projects OpenAlea
Summary Activity Forums Tracker Lists Tasks Docs News SCM Files

Forum: plantgl

Monitor Forum | Start New Thread Start New Thread
RE: Import .obj/.pov Export .can [ reply ]
By: Christophe Pradal on 2009-01-29 12:45
[forum:101477]
Hello,

It is easy to parse an obj file and retrieve the list of traiangles.

However, extra info are needed to generate a can.
If all your triangles represent the same element
(e.g. only leaves), it is not a problem. But if you have leaves, axes, soil and so on, you have a way to specify t.

Can you send an example of your data to test something?

Regards,

Christophe P.

Import .obj/.pov Export .can [ reply ]
By: Dirk Wiechers on 2009-01-29 09:14
[forum:101476]
Hello

Christophe mentioned that:
"In PlantGL [...]it will be easy to convert obj to can triangles."

Could you please give me an example code.

Is there an possibility for an implementation into Openalea.

Kind regards

Dirk Wiechers

--
Dipl.-Ing. agr. Dirk Wiechers
Leibniz University of Hannover
Institute of Biological Production Systems
Vegetable Systems Modelling
Herrenhäuser Str. 2
D-30417 Hannover
Phone +49 511 762 19269
Fax +49 511 762 3606
http://www.gem.uni-hannover.de/index.php?id=systemtheorie_gemuesebau&L=1