[osg-users] 3D Studio Max (3DS) Output
Chris Denham
c.m.denham at gmail.com
Tue Mar 11 14:07:40 PDT 2008
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" <gordon.tomlinson at sensor.com>
> Subject: Re: [osg-users] 3D Studio Max (3DS) Output
> To: "'OpenSceneGraph Users'" <osg-users at lists.openscenegraph.org>
> Message-ID: <009001c883ac$710e3830$7aed6bc0 at sensor.com>
> 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: osg-users-bounces at lists.openscenegraph.org
> [mailto:osg-users-bounces at lists.openscenegraph.org] 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 <c.m.denham at gmail.com>
> 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.
>> _______________________________________________
More information about the osg-users
mailing list