Open GoogleCodeExporter opened 9 years ago
http://geoffgolder.com/cerros.html#
Original comment by geoffgol...@gmail.com
on 4 Aug 2014 at 5:00
Oh, the back faces there are culled. You can change the default behaviour by
adding the following lines immediately after the initilization codes of the
viewer:
viewer.onloadingcomplete = function() {
var scene = viewer.getScene();
if (scene) {
scene.forEachChild( function(mesh) {
mesh.isDoubleSided = true;
} );
}
};
This marks all parts of the model to be double-sided, when the loading is
complete, which tells the viewer to disable back-face culling on them.
Original comment by Humu2...@gmail.com
on 5 Aug 2014 at 2:53
Awesome.
Original comment by geoffgol...@gmail.com
on 8 Aug 2014 at 4:35
The Florida museum of natural history also thanks you!
Original comment by JeffreyV...@gmail.com
on 11 Aug 2014 at 2:56
Really glad to hear that! It's my pleasure!
Original comment by Humu2...@gmail.com
on 12 Aug 2014 at 2:54
Original issue reported on code.google.com by
geoffgol...@gmail.com
on 4 Aug 2014 at 5:00