Hi Ragnar, The easiest way is to create a plugin directory alongside all the standard OSG plugins and then copy and paste a prexisting plugin CMakeLists.txt file, for instance the jpeg plugin would be a good place to start.
Using copy and paste is pretty straight forward you don't need to know lots about CMake. Robert. On 11/17/08, Ragnar Hammarqvist <[EMAIL PROTECTED]> wrote: > I am a totally beginner at CMake. There is not time for me at the moment to > learn CMake either. So for the time being I can not make CMakeList.txt > happen, accept if there is a real easy way to convert a VC2008 > project/solution into CMake in the standard that you require. > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Robert Osfield > Sent: den 17 november 2008 13:53 > To: OpenSceneGraph Submissions > Subject: Re: [osg-submissions] EXR read and writer > > Hi Ragnar, > > Could you add CMakeLists.txt and any required lib checks for this new > plugin. > > Thanks, > Robert. > > On Mon, Nov 17, 2008 at 12:23 PM, Ragnar Hammarqvist > <[EMAIL PROTECTED]> wrote: >> EXR read and writer. >> >> I wrote an EXR image plug-in to osg, I would like to contribute this >> plug-in to the osg project if you find it useful. >> >> The plug-in is a wrapper around open-exr (http://www.openexr.com) that >> consists of two projects, ilmbase-1.0.1 and openexr-1.6.1. >> >> I have only tested it on windows XP 32 machine. So there might be some >> work making it work on other platforms. >> >> The plug-in supports writing and reading EXR files. When writing it can >> use the data type GL_HALF_FLOAT_ARB(se ilmbase-1.0.1) and GL_FLOAT. When >> reading the data type always becomes GL_HALF_FLOAT_ARB. It supports >> textures with three and four channels. >> >> When reading an exr file it automatically removes Alfa channel if it >> didn't store any information. >> >> Regards Ragnar >> >> >> _______________________________________________ >> osg-submissions mailing list >> [email protected] >> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org >> >> > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
