Hello Thiago,

Thiago Bastos wrote:
> On Thu, Jan 29, 2009 at 2:48 PM, Carsten Neumann 
> <[email protected] <mailto:[email protected]>> wrote:
>      >     WARNING: OSBCommonElement::readFieldContent: Skipping unknown
>     field
>      >     [vbo] [SFBool].
>      >
>      >     WARNING: OSBCommonElement::readFieldContent: Skipping unknown
>     field
>      >     [vbo] [SFBool].
>      >     WARNING: OSBCommonElement::readFieldContent: Skipping unknown
>     field
>      >     [vbo] [SFBool].
> 
>     this one is essentially harmless, it just means that a field was removed
>     from Geometry in 2.0. I'll see if I can silence it or maybe lower it
>     from warning to info.
> 
> 
> OK. By the way, would it do any good if we load the old OSB models in 
> OSG2 and re-save them?
> Would it fix anything or load faster?

that should help with the warnings, but that particular one should not 
show up anymore, I excluded the field when loading 1.x Geometry.

Another source for increased load times is probably the SharePtrGraphOp, 
I've not removed it from the defaults yet, but you can pass your own 
GraphOpSeq to the SceneFileHandler::the()->read() as second argument, or 
just NULL to not run any GraphOps.

>     hm, debugging a loader is tricky from a distance, do you have a model
>     that shows the problem that you can share?
> 
> 
> I'll see what I can do. I'll send whatever I can find to your email.

ok, please try r1713, for me it loads the model correctly.

For the curious: the problem was the split of TextureChunk into 
TextureObjChunk and TextureEnvChunk. The loader does that split but when 
adding the two chunks to ChunkMaterial the _mfChunks and _mfSlots fields 
got out of sync because the slots where not duplicated for the env chunk.

        Cheers,
                Carsten



------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to