unelsson

Results 7 comments of unelsson

I've been researching ColladaDOM, and it looks like the default dae-method `getAttribute("name")` is indeed cut by whitespace, and there's no straightforward way to fix it. Digging deeper into collada data...

According to this https://github.com/rdiankov/collada-dom/issues/35 , Collada 1.4.1 uses NCName for the name which doesn't support whitespaces. Collada 1.5.1 would use xs:token that supports whitespaces. OSG plugin seems to rely on...

> How much effort it's worth putting into something that will never be perfect is an open question. It may be better to spend time with other art part routes....

The following commits modify osgQOpenGLWidget and OSGRenderer to use osgViewer::CompositeViewer instead of osgViewer::Viewer. They can't be directly merged, but may be helpful examples for further development. https://github.com/OpenMW/openmw/commit/cf8eedd07e590cb6db4db3b6e584f50d0f0a645a https://github.com/OpenMW/openmw/commit/23c9c57f8b950890bf44f58560f2153d4713ff0a

Here are two classes: updated osgQOpenGLWidget and CompositeOsgRenderer, which is a version of OSGRenderer that uses osgViewer::CompositeRenderer. I've unfortunately ran into rendering errors while using it - in OpenMW-CS objects...

Here is a more minimal example of CompositeOSGRenderer use. The example osgViewerQt_CompositeViewer.cpp aims to emulate and test osgViewer::CompositeViewer with Qt5's windows/widgets, especially test QOpenGLWidget inside floating QDockWidget. I think something...

I can confirm that this change prevents a crash in 2.82 too. I was able to export at least the geometry to .dae format.