Device | OS | OS version | Browser | Browser version | WebGL | WebGL2 |
---|---|---|---|---|---|---|
Apple iPad 5th | iOS | 11.0.3 | Mobile Safari | 11.0 | X | |
Apple iPad Air 2 | iOS | 8.4 | Mobile Safari | 8.0 | X | |
Apple iPad Mini 3 | iOS | 8.1.2 | Mobile Safari | 8.0 | X | |
Apple iPad Pro | iOS | 11.2.1 | Mobile Safari | 11.0 | X | |
Apple iPhone 5S | iOS | 8.1.3 | Mobile Safari | 8.0 | X | |
Apple iPhone 6 Plus | iOS | 8.1 | Mobile Safari | 8.0 | X | |
Apple iPhone 6 | iOS | 8.1.3 | Mobile Safari | 8.0 | X | |
Apple iPhone 6S Plus | iOS | 9.0.1 | Mobile Safari | 9.0 | X |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"name":"a", "propertyType":"P_SINGLEVALUE","type":"IfcPositiveLengthMeasure","psets":["Pset_FastenerWeld"]}, | |
{"name":"AboveGround", "propertyType":"P_SINGLEVALUE","type":"IfcLogical","psets":["Pset_BuildingStoreyCommon"]}, | |
{"name":"AccessCoverLoadRating", "propertyType":"P_SINGLEVALUE","type":"IfcText","psets":["Pset_DistributionChamberElementTypeFormedDuct", "Pset_DistributionChamberElementTypeInspectionChamber", "Pset_DistributionChamberElementTypeManhole"]}, | |
{"name":"AccessCoverMaterial", "propertyType":"P_REFERENCEVALUE","type":"IfcMaterialDefinition","psets":["Pset_DistributionChamberElementTypeInspectionChamber", "Pset_DistributionChamberElementTypeManhole", "Pset_DistributionChamberElementTypeMeterChamber", "Pset_DistributionChamberElementTypeValveChamber"]}, | |
{"name":"AccessLengthOrRadius", "propertyType":"P_SINGLEVALUE","type":"IfcPositiveLengthMeasure","psets":["Pset_DistributionChamberElementTypeInspectionChamber", "Pset_DistributionChamberElementTypeManhole"]}, | |
{"name":"AccessType", "propertyType |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vec3 vecQuatRotation(vec4 q, vec3 v){ | |
return v + cross(2.0 * q.xyz, cross(q.xyz, v) + q.w * v); | |
} |
This Gist builds on https://gist.github.com/unconed/4370822 from @unconed.
Instead of the original method which writes to the browsers sandboxed filesystem here we use a websocket connection provided by websocketd to pipe image data to a short python script that writes out the .png files to disk.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SceneJS.Geometry.prototype.setIndices = function (data) { | |
if (data.indices && this._core.indexBuf) { | |
this._boundary = null; | |
var core = this._core; | |
core.indexBuf.bind(); | |
core.indexBuf.setData(new Uint16Array(data.indices), data.indicesOffset || 0 ); | |
core.arrays.indices.set(data.indices, data.indicesOffset || 0 ); | |
this._engine.display.imageDirty = true; | |
} | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Airplane model --> | |
<script src="models/airplane.js" type="text/javascript"><script/> | |
<canvas id="theCanvas" width: 900 height: 900><script/> | |
<script type="text/javascript"> | |
/* Scene definition | |
*/ |