Browse Source

glTF icon to SVG

Toni Helenius 2 years ago
parent
commit
b87e401b59

+ 1 - 3
jme3-blender/src/com/jme3/gde/blender/GLTFDataObject.java

@@ -33,7 +33,6 @@ package com.jme3.gde.blender;
 
 import com.jme3.asset.ModelKey;
 import com.jme3.gde.core.assets.SpatialAssetDataObject;
-import com.jme3.scene.Spatial;
 import com.jme3.scene.plugins.gltf.GltfModelKey;
 import java.io.IOException;
 import org.openide.awt.ActionID;
@@ -58,8 +57,7 @@ import org.openide.util.NbBundle.Messages;
 )
 @DataObject.Registration(
     mimeType = "model/gltf+json", 
-    iconBase = "com/jme3/gde/blender/glTF.png",
-    //iconBase = "com/jme3/gde/blender/glTF_100px_June16.png",
+    iconBase = "com/jme3/gde/blender/glTF.svg",
     displayName="#LBL_GLTF_LOADER",
     position=300
 )

BIN
jme3-blender/src/com/jme3/gde/blender/glTF.png


+ 22 - 0
jme3-blender/src/com/jme3/gde/blender/glTF.svg

@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg id="vlpa" enable-background="new 0 0 1000 500" version="1.1" viewBox="0 0 860 450" width="16px" height="16px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><title>glTF logo</title><desc>An open file format for three-dimensional scenes and models by Khronos Group</desc><metadata><rdf:RDF><cc:Work rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/><dc:title/></cc:Work></rdf:RDF></metadata>
+<g transform="matrix(.9977 0 0 1 -71.17 -25)">
+	<g fill="#86c540">
+		<path d="m419.7 403.7c14.76-16.55 22.56-40.74 22.56-73.32v-182h-31.17v28.48h-0.385c-5.905-11.03-14.11-19.3-24.63-24.82-10.52-5.515-22.07-8.275-34.64-8.275-17.19 0-31.69 3.271-43.49 9.814-11.8 6.543-21.3 14.95-28.48 25.21-7.187 10.26-12.32 21.55-15.4 33.87-3.079 12.32-4.618 24.38-4.618 36.18 0 13.6 1.858 26.5 5.581 38.68 3.716 12.19 9.296 22.9 16.74 32.14 7.439 9.236 16.68 16.55 27.71 21.94s23.99 8.082 38.88 8.082c6.158 0 12.38-0.769 18.66-2.309 6.291-1.539 12.19-3.782 17.71-6.735 5.514-2.946 10.45-6.669 14.82-11.16 4.36-4.487 7.95-9.813 10.78-15.97h0.757v13.08c0 11.29-1.094 21.55-3.272 30.79-2.182 9.237-5.712 17.13-10.58 23.67-4.877 6.543-11.04 11.67-18.47 15.4-7.445 3.717-16.55 5.581-27.32 5.581-5.389 0-11.04-0.579-16.94-1.732-2.13-0.416-4.2-0.928-6.211-1.53-2.188-0.772-4.358-1.557-6.51-2.356-0.2-0.085-0.399-0.172-0.598-0.259v0.036c-84.53-31.57-140.2-85.25-140.2-146.2 0-97.15 141.5-175.9 316.1-175.9 97.25 0 184.5 22.15 242.4 60.59-63.29-64.41-176.8-109.7-306.5-109.7-198.7-0.035-359.8 100.7-359.9 224.9-0.012 84.82 75.04 158.7 185.9 197.1 88.92 3.044 134-13.46 160.6-43.27zm-13.42-132.2c-2.182 9.236-5.58 17.51-10.2 24.82-4.617 7.314-10.72 13.22-18.28 17.7-7.571 4.493-16.74 6.735-27.52 6.735-10.78 0-19.76-2.242-26.94-6.735-7.186-4.484-12.96-10.39-17.32-17.7-4.366-7.311-7.444-15.45-9.237-24.44-1.797-8.978-2.694-17.96-2.694-26.94 0-9.489 1.088-18.6 3.271-27.33 2.178-8.719 5.641-16.42 10.39-23.09 4.745-6.669 10.84-11.99 18.28-15.97 7.439-3.975 16.42-5.965 26.94-5.965 10.26 0 18.98 2.057 26.17 6.158 7.18 4.107 13.02 9.561 17.51 16.36 4.486 6.801 7.758 14.43 9.814 22.9 2.051 8.467 3.079 17.07 3.079 25.79 0 9.238-1.095 18.48-3.272 27.71z"/>
+		<path d="m434.8 422.5c-18.85 17.11-52.53 36.65-98.4 44.32 30.71 5.339 63.06 8.194 96.49 8.198 129.2 0.025 242.4-45.09 305.9-109.1-57.98 38.21-144.8 59.95-241.7 59.95-23.02 2e-3 -40.63-0.809-62.25-3.41z"/>
+	</g>
+	
+		
+			<path d="m633.8 347.9h-46.96v-158.2h-58.92v-40.23h164.8v40.23h-58.92z" fill="#86c540"/>
+		
+		
+			<path d="m764.2 347.9h-46.97v-198.4h145v40.23h-98.02v37.13h85.8v40.23h-85.8z" fill="#86c540"/>
+		
+	
+	<path d="m469.6 100h32.71v247.3h-32.71z" fill="#86c540"/>
+</g>
+<g transform="translate(-75.52 -25)" fill="#86c540">
+	<polygon points="902.8 149.8 902.8 155.3 902.8 155.3 895.4 155.3 895.4 174.4 889 174.4 889 155.3 881.7 155.3 881.7 149.8"/>
+	<polygon points="927.1 174.4 927.1 155.7 927 155.7 921.8 174.4 916.9 174.4 911.8 155.7 911.7 155.7 911.7 174.4 905.6 174.4 905.6 149.8 915.1 149.8 919.3 166.2 919.4 166.2 923.7 149.8 933.1 149.8 933.1 174.4"/>
+</g>
+</svg>

BIN
jme3-blender/src/com/jme3/gde/blender/glTF24.png


BIN
jme3-blender/src/com/jme3/gde/blender/glTF48.png