|
@@ -37,9 +37,6 @@ public class OBJToGLBUtil {
|
|
|
|
|
|
public static String objToB3dm(String objPath, String glbPath) {
|
|
|
log.info("obj转换b3dm开始,{}",objPath);
|
|
|
- if(!checkObj(objPath)){
|
|
|
- throw new BusinessException(-1,"obj文件错误");
|
|
|
- }
|
|
|
log.info("obj转换b3dm开始");
|
|
|
String command = "Obj2Tiles --lods 8 --divisions 3 " + objPath + " " + glbPath;
|
|
|
log.info("执行obj转换glb命令路径-{}", command);
|