I'm trying to slap together a demo and I want to show an image loaded from HTTP. I seem to remember it working in the past … do I need to use a HttpZipFile now?
SOURCE :
When I do this …
{
final Texture texture = assetManager.loadTexture(
"http://t3.gstatic.com/images?q=tbn:ANd9GcQ62QDI9XSHJpTPH_ncjmhmFGmaSc2U6tIvPjEWIipcNJEI_y4&t=1&usg=__xCW9FVkCPPu1dEpf2-CKtqP_kkw=#.jpg");
final Geometry cube = new Geometry("My Textured Box", new Box(new Vector3f(-3f, 1.1f, 0f), 1f, 1f, 1f));
final Material material = new Material(assetManager,"Common/MatDefs/Misc/SimpleTextured.j3md");
material.setTexture("m_ColorMap", texture);
cube.setMaterial(material);
rootNode.attachChild(cube);
}
... in HelloMaterial (http://www.jmonkeyengine.com/wiki/doku.php/jme3:beginner:hello_material) I get ...
WARNING DesktopAssetManager 09:17:47 Cannot locate resource: http://t3.gstatic.com/images?q=tbn:ANd9GcQ62QDI9XSHJpTPH_ncjmhmFGmaSc2U6tIvPjEWIipcNJEI_y4&t=1&usg=__xCW9FVkCPPu1dEpf2-CKtqP_kkw=#.jpg/F/MIP
... which makes me think that the feature has been removed from JME3