How to create a custom datatype?
I would like to know how to properly create a custom datatype for use within the OpenFlipper framework. Currently, I am using a fudged together datatype, basically an inherited version of an existing data type (SplatCloud). However, it is becoming too limited for my needs and thus require the ability to properly define a new datatype. I have checked the online documentation and there is just a "To Do" place holder. Any help would be much appreciated, Adam
On 08.04.2012 20:44, Adam Hartshorne wrote:
I would like to know how to properly create a custom datatype for use within the OpenFlipper framework.
Currently, I am using a fudged together datatype, basically an inherited version of an existing data type (SplatCloud). However, it is becoming too limited for my needs and thus require the ability to properly define a new datatype.
I have checked the online documentation and there is just a "To Do" place holder.
Hi, i know. I should really write this documentation. A good example would be the sphere, at least for the basic structure. You usually need the type in the ObjectTypes directory with the rendering node, the Object itself and the pluginfunctions for the conversions to the base types. Than you need the Plugin-TypeXYZ which announces the datatype to the core. What functionality do you require in your datatype? There are still some types in the queue which are not yet published. Regards, Jan -- Dipl.Inform. Jan Möbius Department of Computer Science VIII Aachen University of Technology (RWTH) Ahornstrasse 55, 52074 Aachen, Germany Phone ++49 (0)241 80-21817 Fax ++49 (0)241 80-22899 mailto:moebius@cs.rwth-aachen.de http://www.rwth-graphics.de
participants (2)
-
Adam Hartshorne
-
Jan Möbius