Thursday, April 02, 2020

in blender 2.8 exporting to gltf or glb didnt export my materials.
the pbrMetallicRoughness field in the exported file was empty

opening the shader editor in blender and clicking "use nodes" for each material
fixed it.

Labels: ,

Saturday, August 24, 2013

selenium

when trying to call a function on the webpage in e.g. assertEval use
this.browserbot.getUserWindow().myfunction()
This will work both in selenium IDE and via selenium-server.

Monday, March 11, 2013

three.js picking

when experimenting with three.js I had abit of a problem getting picking to work with a model loaded via the THREE.OBJMTLLoader loader.
the solution was to pass true in raycaster.intersectObjects( scene.children ,true);
so picking would recurse over the child objects as well.

Monday, March 04, 2013

php apache segfault

Had some weird segfaults in an apache/php segfaults. used to work.
  "child pid 1551 exit signal Segmentation fault (11)" in the logs,
connection reset by peer or only half a page getting transmitted etc.
The problem was that somehow both php-pecl-memcache and php-eaccelerator got installed.


selenium "Couldn't delete cookie"

Selenium is a great tool for testing websites. Ran into one little problem though: It doesn't like cookies without a name - those cause it to fail deleteAllVisibleCookies with "Couldn't delete cookie".
Took me a bit to figure out about the unnamed cookie. Helped me find another bug there.

Sunday, August 28, 2011

android SkImageDecoder::Factory returned null

getting that error message and the xml drawable not showing up?
here it was just a case of the file having an .yml extension instead of xml.
took me a while ... it was late ...

Labels:

Friday, May 06, 2011

fedora upgrade

if your rpmfusion nvidia drivers don't work after an upgrade from fedora 13 to 14 because it couldn't load the kernel module: ("NVIDIA: Failed to load the NVIDIA kernel module.")
running
/usr/sbin/akmods --force
might solve that.
that will rebuild the kernel module.

Monday, February 28, 2011

java.lang.RuntimeException: Unable to instantiate activity ComponentInfo

java.lang.RuntimeException: Unable to instantiate activity ComponentInfo

got a crash there ... was caused by an activity being an inner class that was not static.