On May 17, 2008, at 11:24 AM, Patrick Hartling wrote:
On May 15, 2008, at 7:07 PM, Gerrit Voss wrote:Hi, On Thu, 2008-05-15 at 16:48 -0500, Patrick Hartling wrote:On May 15, 2008, at 2:27 PM, Patrick Hartling wrote:Are there any plans to migrate to COLLADA DOM 2.x? I know that theCOLLADA DOM 2.1 source does not include a Visual C++ 7.1 project file, but very little effort is required for a user to downgrade the Visual C++ 8.0 project file for 7.1 use. (I only bring that up because I amstuck using Visual C++ 7.1 for the foreseeable future, and others maybe in the same boat.)I only had a brief look at 2.0, haven't seen 2.1, and it looks like theyscrapped the whole integration part we are using extensively, so switching would basically be a rewrite.That's a shame. The way that it works now seems pretty slick.I'm in general fine with it, only I don't know where to find the time.That's understandable. Fortunately, I had time allocated to work on the loader recently. I just checked in a change (albeit to the fcptr_stable_jun07 SVN branch) that extends the support for geometry types and node instances. Things are looking pretty good, although I need to do more testing. I was just testing using my PowerBook, and I am not 100% sure that I have all texture loading in OpenSG enabled correctly at the moment. I'll know better Monday just how solid my changes are.
The COLLADA loader on the fcptr_stable_jun07 SVN branch is in pretty decent shape now as of r1235, although I am still having some problems with texture loading. My suspicion is that the textures are somehow malformed, but Open Scene Graph does not have the problems with them that OpenSG does. Would anyone be able to take a look at the model in the ZIP archive below and give me some hints about what might be preventing the textures from applying correctly?
http://www.infiscape.com/misc/US_Capitol_Building.zipThis is just one example of texture problems. In this particular case, the JPEG loading code does not complain.
The way that it is supposed to appear is shown on this page: http://sketchup.google.com/3dwarehouse/details?mid=5bb1b93b7e36d84ed2e6fa0637cd1e5a&prevstart=0Aside from the texture loading, I think that there is a pretty significant memory leak in the COLLADA loader or in COLLADA DOM. I can only load about 25 models before my application runs out of memory. This is frustrating, but for my purposes it is not a show-stopper. I probably will not have time to look into this for a while.
Thanks. -PatrickP.S. If the above model is loaded using COLLADA loader in OSG 2.4, you will see geometry that is textured as expected but that is not transformed correctly. AFAICT, this is the result of transform bugs in their loader; the geometry is transformed correctly by the OpenSG COLLADA loader.
-- Patrick L. Hartling Senior Software Engineer, Priority 5 http://www.priority5.com/
PGP.sig
Description: This is a digitally signed message part
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
