Re: [Plib-devel] VRML Loader issues
Brought to you by:
sjbaker
From: Gil C. <g.c...@ca...> - 2000-08-23 01:00:09
|
At 09:05 PM 8/22/00 +0000, you wrote: >On Tue, Aug 22, 2000 at 09:50:39AM +1000, Gil Carter wrote: > > > Got any URL's? I'm trying to assemble a collection of models which people > > would like to use with PLIB so that I can test with them, and it will make > > my life easier if I can test against what you're looking at. > >The only URL I have to hand is that of a dopefish model at >http://www.dopefish.com/stuff/dopefish2.wrl I assume you realise that this is a VRML2 model? My importer is targeted at VRML1 initially, and unfortunately, the file formats are completely different. End result is that you initially won't be able to read this model into PLIB with my importer. However, the importer is being designed from the start to recognise the different flavours of VRML - VRML 1, VRML2/VRML97 and gzipped VRML2/VRML97. Due to some unfortunate de facto standards, all of these different file formats can have the same .wrl extension , so the importer has to determine which variety of VRML it is first and then hand the file off to the appropriate module. Once VRML1 import/export is robust, I'll regroup and work on VRML2. In the mean time, the importer will simply return an error code if you try to load a non-VRML1 file, but it will be an error code which suggests that this particular flavour of VRML is not supported yet... Gil |