public int getTextureUnit() { int textureUnit = this._usedTextureUnits ++; if ( textureUnit >= this._maxTextures ) { Log.debug("WebGlRenderer: Trying to use " + textureUnit + " texture units while this GPU supports only " + this._maxTextures); } return textureUnit; }
@Override public void onFailure() { Log.error("An error occurred while loading Compressed texture: " + internalPath); }
@Override public void onSuccess(FileHandle result) { Log.info("Loaded font: " + url); parse(result); onReady(); } });
/** * Adds object as child of this object. * @param object An object * @return */ public Object3D add(Object3D object) { if(object.equals(this)) { Log.error("Object3D.add: " + object + " can't be added as a child of itself."); return this; } Log.debug("Object3D: Adding for ID " + this.getId() + " = " + this.getClass().getName() + " child ID " + object.getId() + " = " + object.getClass().getName()); if ( object.parent != null ) { object.parent.remove( object ); } object.parent = this; object.onAdd(); this.children.add( object ); return this; }
public void playAnimation( String label, int fps ) { Animation animation = this.animations.get( label ); if ( animation != null ) { this.setFrameRange( animation.start, animation.end ); this.duration = 1000 * ( ( animation.end - animation.start ) / fps ); this.time = 0; } else { Log.warn("MorphanimMesh: animation[" + label + "] undefined"); } }
Log.warn("FontUtils.triangulate() - Warning, unable to triangulate polygon!");
public Shader getShader() { if(shader == null) { Log.debug("Material.getShader() Called"); this.shader = getAssociatedShader(); } return this.shader; }
@Override public void onFailure() { Log.error("An error occurred while loading model: " + url); }
@Override public void onSuccess(FileHandle result) { Log.info("Loaded model: " + url); parse(result); onReady(); } });
public void updateMatrixWorld( boolean force ) { super.updateMatrixWorld( true ); if ( this.bindMode == "attached" ) { this.bindMatrixInverse.getInverse( this.matrixWorld ); } else if ( this.bindMode == "detached" ) { this.bindMatrixInverse.getInverse( this.bindMatrix ); } else { Log.warn("SkinnedMesh unreckognized bindMode: " + this.bindMode); } }
protected <H extends EventHandler> HandlerRegistration addHandler(GwtEvent.Type<H> type, H handler) { Log.debug("RenderingPanel: Registered event for class " + handler.getClass().getName()); return handlerManager.addHandler(type, handler); }
@Override public void onFailure() { Log.error("An error occurred while loading font: " + url); }
@Override public void onSuccess(GwtFileHandle result) { Log.info("Loaded texture: " + file.path()); image = (ImageElement)result.file(); textureLoadHandler.onLoaded( true ); }
Log.warn("Euler: .setFromQuaternion() given unsupported order: " + order );
@Override protected void parse(FileHandle result) { if(!isValidTypefacejs(result.readString())) return; Log.debug("TypefacejsLoader parse()"); }
@Override public void finalize() { ViewportResizeBus.removeViewportResizeListener(this); try { super.finalize(); } catch (Throwable throwable) { Log.error("Exception in PointCloudMaterial.finalize:", throwable); } } }
@Override public void onSuccess(FileHandle result) { Log.info("Loaded Compressed Texture: " + internalPath); parseDDS(result, loadMipmaps); setGenerateMipmaps(false); setNeedsUpdate(true); if (imageLoadHandler != null) imageLoadHandler.onImageLoad(CompressedTexture.this); } });
Log.warn("ShapeUtils.triangulateShape() - Duplicate point " + key);
private void parseMaterials() { if(object.getMaterials() == null) return; Log.debug("JSON parseMaterials()"); this.materials = new ArrayList<Material>(); for ( JsoMaterial material: object.getMaterials() ) { this.materials.add( createMaterial( material ) ); } // geometry.setMaterials(this.materials); }