Hi Dominik,

Dominik Rau wrote:
> Hi.
>
> As I need this for a project, 'm currently porting the STL loader from  
> 1 to 2. I took the RAWSceneFileHandler as a starting point, adjusted  
> the read methods with the stuff from 1.x and at least it compiles fine  
> now. However, if I show the SceneFileHandler suffix list, "stl"  
> doesn't show up and loading a file fails, too (not surprising). Is  
> there anything I have to do to register this SceneFileType? Could  
> someone (very quickly) explain me the mechanism? I haven't found  
> anything using grep etc. ...
>   
Registration should happen automatically through the static _the member 
in the SceneFileType. Make sure you have that and it is created and 
initialized correctly in the cpp file.

If that doesn't work, could you send us the code so we can check it out?

Yours

    Dirk


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to