Thanks Gordon and Robert,
I'm sure you are right about 'trying' to steer towards a better format than 
3DS.
Unfortunately, interoperability with old applications demands that we use 
less than ideal formats.
My objective was to create models using OSG that we could load into our 
older WorldToolKit based application.
The rusting application assembles items from a catalogue of 3DS models, and 
scraping the rust off might cause loss of hull integrity ;-)
Cheers.
Chris.

> Date: Tue, 11 Mar 2008 15:16:42 -0400
> From: "Gordon Tomlinson" <[EMAIL PROTECTED]>
> Subject: Re: [osg-users] 3D Studio Max (3DS) Output
> To: "'OpenSceneGraph Users'" <osg-users@lists.openscenegraph.org>
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="us-ascii"
>
> The modeling world has embraced COLLADA as the format for interoperability
> and most of the major modeling packages now support COLLADA
>
> see http://www.collada.org/mediawiki/index.php/Portal:Products_directory
>
> and http://www.collada.org
>
>
> I would suggest that is were we should spend more time, my own group may 
> be
> in the future but cannot guarantee when(also KML)
>
>
> G.
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Robert
> Osfield
> Sent: Tuesday, March 11, 2008 12:53 PM
> To: OpenSceneGraph Users
> Subject: Re: [osg-users] 3D Studio Max (3DS) Output
>
> Hi Chris,
>
> As you have found out there is no write support in the 3ds plugin.
> The 3ds format is not a good format so its not something I'd actually
> recommend as a route for interoperability.
>
> The OSG is open source though, so if you have the itch then feel free to
> dive into the code and add write support.
>
> Robert.
>
> On Tue, Mar 11, 2008 at 4:21 PM, Chris Denham <[EMAIL PROTECTED]> 
> wrote:
>> I'm looking for a way to export from OSG to 3DS format.
>>  I notice that OSG does provide a plugin for loading 3DS, but does not
>> appear to support the output of that format.
>>
>>  Looking at the sources for the 3DS plugin, I noticed that there is
>> code that may support part of the process of 3DS output e.g. in
>> c:\OpenSceneGraph\src\osgPlugins\3ds\file.cpp
>>  extern LIB3DSAPI Lib3dsBool lib3ds_file_write(Lib3dsFile *file,
>> iostream *strm);  extern LIB3DSAPI Lib3dsBool
>> lib3ds_file_save(Lib3dsFile *file, const  char *filename);
>>
>>  These methods can write out the data structure created during model
>> import, so I wondered how big a job it is to fill in that Lib3dsFile
>> structure with an OSG scene.
>>  Has anyone has a go at this? If so, I can volunteer to help finish it
> off.
>>  Suggestions or pointers anyone?
>>
>>  Chris Denham.
>>  _______________________________________________

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to