Hi Viggo,

I'm afraid the .ive format is not extensible, the only way to add to
it is to directly modify the sourceof the ive plugin.

Long term I want to introduce a binary .osg format that is extensible,
but I don't have the time available right now to tackle this.

Robert.

On Mon, Oct 27, 2008 at 10:17 AM, Viggo Løvli <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have written a new class which inherit from osg::Group.
> I have written a plugin for the .osg file format, that works fine.
>
> I need to write a plugin for the .ive file format.
>
> My initial thought was to copy-paste the ive::LOD code and replace the
> actual read/write parts according to my needs.
> I am compiling this code inside one of my own projects. I added includes to
> the ive/ReadWrite.h and ive/Group.h. The code compiles.
> Linking results in errors on unresolved externals.
> I could not find a library to link with, and I see that the header-files
> inside ive does not have export statements. So I think I have gone ahead
> doing this in a very wrong way.
>
> Does anybody have an example or directions for me on how to do this?
>
> I also wonder how the code written as an ive plugin gets called
> when reading/writing ive files. Do I need to register my class somewhere?
>
>
> Regards,
> Viggo
>
>
> ________________________________
> Se bildegalleri på MSN Style. Kate Moss eller Sienna Miller: Hvilken
> kjendis-stil passer deg?
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to