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

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?


Christophe P.

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

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