gaia3d / mago3djs Goto Github PK
View Code? Open in Web Editor NEW3D Rendering Library
Home Page: http://mago3d.net/
License: Apache License 2.0
3D Rendering Library
Home Page: http://mago3d.net/
License: Apache License 2.0
Where do I place data.json and policy.json. The ReadMe Section instructs to add two configuration files but not where to.
I follow the method successfully transferred f4d file, also installed in accordance with the method mago3djs, and can open cesium. But still can not see the model that I turn out. Hope to get advice, thank you.
data.zip
$(document).ready(function() {
//Type in input-textbox propagate key event to document. Stop it.
// example
stopPropagationOnInput('move_data_key');
});
function stopPropagationOnInput(elementId){
document.getElementById(elementId).addEventListener('keydown',function(e) {
e.stopPropagation();
});
document.getElementById(elementId).addEventListener('keyup',function(e) {
e.stopPropagation();
});
}
Hello, I would like to know if it is possible to get more information by clicking on an object and how you could do it. Your comment will be of great help to me.
For example this platform, when you click on an object, displays a lot of data about it.
http://opensourcebim.github.io/BIMsurfer/examples/gltf.html
I wonder if it will be possible to do it in mago3d.
Thank you
Hi, I have several issue records in the database of different objects but when trying to search for the issue through the API, the location is very variable in each object.
http://www.mago3d.com/homepage/api.do#gotoIssueAPI
The same happens with the mago3d demo site. If you register an issue and then try to access it, the location is not exact. Many times depending on the object, the location is very variable and is very difficult to identify.
Attached is a screenshot. The red door is the object that has been marked to create the issue, however gotoIssueAPI has created the red dot on the right, which is quite far away, making it very difficult to find.
https://cloud.disroot.org/s/kDKEdoXzYnDFMGa
I hope you can help me.
Thanks
정적 코딩 검사 도구 eslint 추가
Demo data for F4D Converter.
안녕하세요. F4D 파일 업로드 시 제목과 같은 오류가 발생하여 문의드립니다.
IFC파일을 F4Dconverter로 변환하여 Mago라이브러리에 업로드 시에 이와같은 현상이 발생합니다.
F4Dconverter와 MagoJS는 Github에서 master 최신 버전을 다운로드받아 진행하였으며 샘플 데이터는
https://github.com/Gaia3D/mago3djs/files/2029661/demo_f4d.zip 에서 다운로드받았습니다.
"setSizesSubBoxes"함수에서 오류가 발생합니다.
이 현상에 대한 도움을 부탁드립니다.
감사합니다.
I found this very great project, and wanna to have a try, while I can't make it work, after I have converted the .ifc model to F4D format. I just don't know how could I load my custom data with mago3djs, and even don't know which page should I use to view the excamples after starting node server (seems the "cesium.html" under "\sample" folder is the demo page). Could someone help me with this?
Hello,
I have a Revit model that weighs 71 MB, I have exported it to IFC which weighs 250 MB. Then with F4DConverter I rendered the file.
The output of the process is as follows.
F4DConverter.exe #inputFolder c:\demo_data #outputFolder c:\data\workshop #meshType 0 #log c:\data\workshop\result.txt #indexing y
[Info]Arguments are following.
#indexing : y
#inputFolder : c:\demo_data
#log : c:\data\workshop\result.txt
#meshType : 0
#outputFolder : c:\data\workshop
===== Start processing this file : MULTIPARASPARAGUAYPORK.ifc
Detected IFC version: IFC2X
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
WARNING! <5.26873064923412748328246,8.88811636329923970833988,1.82998894161823000281686>==<5.26873064923412748328246,8.88811636329923970833988,1.82998894161823000281686>
WARNING! <5.26873064923412748328246,8.88811636329923970833988,1.82998894161823000281686>==<5.26873064923412748328246,8.88811636329923970833988,1.82998894161823000281686>
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed
ItemShapeInputData::addClosedPolyhedron: Meshset is not closed
[Info]Vertex trimming done.
[Info]Exterior detection done.
[Info]Model/reference detection done. 4466 models out of 45863 meshes detected.
[Info]VBO of each mesh created.
[Info]Mesh distribution on each octree done.
[Info]Net Surface Mesh created.
When I enter the browser to view it, I can see the model on the ground, but after a few seconds when I try to zoom in to see details of it, the browser launches the following error.
An error occurred while rendering. Rendering has stopped.
RangeError: Invalid typed array length: 8822716227
RangeError: Invalid typed array length: 8822716227
at new Int8Array (<anonymous>)
at BlocksList.parseBlockVersioned (Shader.js:30765:35)
at BlocksList.parseBlocksListVersioned (Shader.js:30874:22)
at MagoManager.manageQueue (Shader.js:9362:18)
at MagoManager.startRender (Shader.js:7263:8)
at MagoManager.start (Shader.js:5768:8)
at executeCommands (http://localhost/src/engine/cesium/Cesium.js:226607:35)
at executeCommandsInViewport (http://localhost/src/engine/cesium/Cesium.js:226966:9)
at updateAndExecuteCommands (http://localhost/src/engine/cesium/Cesium.js:226814:13)
at render (http://localhost/src/engine/cesium/Cesium.js:227350:9)
I enclose images so that you can appreciate the error that occurs.
I hope you can help me how to solve this problem.
Thank you
jsdoc 사용해 보자
https://github.com/jsdoc3/jsdoc
http://usejsdoc.org/
gulp plugin 도 있어서 편할거 같음
javascript 주석은 어떻게 달아야 할까?
글로벌이 대상이므로 영어로만 달아야 할까?
난 이 생각에 반대다.
한국 개발자 영어로 만들어서 영어를 모르는 한국 개발자들에게 고통을 주는것이 너무 싫다.
한국 개발자가 만들었으면 당연히 한글이 1순위가 되어야 한다고 생각한다.
그런데..... 글로벌 서비스를 지향하므로 영어도 제공 되어야 한다.
결국은 병행 할 수 밖에 없는데.....
내가 고민해 본 결과 이 방법이 제일 좋을거 같긴 한데.... 남들은 어떨까?
/**
MagoManager.prototype.flyTo = function(longitude, latitude, altitude, heading, pitch, roll, duration)
{
if (MagoConfig.getPolicy().geo_view_library === Constant.CESIUM)
{
if ( heading === undefined || pitch === undefined || roll === undefined || (heading === 0 && pitch === 0 && roll === 0))
{
this.scene.camera.flyTo({
destination: Cesium.Cartesian3.fromDegrees(parseFloat(longitude),
parseFloat(latitude),
parseFloat(altitude) + 10),
duration: parseInt(duration)
});
}
else
{
this.scene.camera.flyTo({
destination: Cesium.Cartesian3.fromDegrees(parseFloat(longitude),
parseFloat(latitude),
parseFloat(altitude) + 10),
orientation : {
heading : Cesium.Math.toRadians(heading),
pitch : Cesium.Math.toRadians(pitch),
roll : roll
},
duration: parseInt(duration)
});
}
}
else
{
this.wwd.goToAnimator.travelTime = duration * 1000;
this.wwd.goTo(new WorldWind.Position(parseFloat(latitude), parseFloat(longitude), parseFloat(altitude) + 50));
}
};
Hi guys.
I tried to run the mago3djs demo and using the cesium version, but I can't render my 3D data, neither this demo data.
https://github.com/Gaia3D/mago3djs/files/2029661/demo_f4d.zip
What I can see are the bounding box and labels. So if there has any solution or self-check way, please do let know, thanks.
You need to change it to support English format.
The package.json
file says the project is under BSD License, but there isn't a license file in the repository. Please add the license.
karma, jasmine 조합이 분명 메뉴얼에는 잘 실행 된다고 하는데.... 나한테는 오류가 난다.
찾아봐도 답도 없고......
급하니 당분간 보류하고.... 다음에 시간날때 찾아 보자.
[Firefox]
Firefox 50.0.0 (Windows 10 0.0.0) ERROR
TypeError: alert is null
at external/jasmine-2.5.2/jasmine-html.js:154
[Chrome]
Chrome 55.0.2883 (Windows 10 0.0.0) ERROR
Uncaught TypeError: Cannot read property 'appendChild' of null
at external/jasmine-2.5.2/jasmine-html.js:154
Hello, I would like to ask if there is a functionality in the API to hide objects by objectId, by datakey and other arguments.
This functionality seems to me super useful since many times the user wants to hide an object to see others.
Thank you for your help.
I use the cesium demo, and find that I can change the rendering mode of a Project by the API(changePropertyRenderingAPI), but I also find that I can only control the project layer (using projectId), I can not control the object(data_key) show or not in the project.Did I miss something ? Would you help me with the issue ,or can you tell me how to achieve my goal?
워크샵 샘플 파일을 통해 작동을 해봤는데 wordwind는 문제가 없지만
cesium에서
Cesium.js:224918
An error occurred while rendering. Rendering has stopped.
undefined
ReferenceError: centerPoint is not defined
이라는 에러와함께 맵을 가져오지 못하는데 어떤문제인지 알려주시면 감사하겠습니다..
어떻게 활용 할 수 있을까?
작성 해야 하는데... 귀찮음
자료 좀 찾아 보자.
[참고]
https://github.com/nhnent/fe.javascript/wiki/%EC%BD%94%EB%94%A9-%EC%BB%A8%EB%B2%A4%EC%85%98
jasmine 이 browser 의존적이고...
karma로 실행 시켰을때 오류가 발생하는데 해결이 안되서 포기...
다음에 시간 날때 다시 해 보자.
mocha, chai 로 변경했음
어떻게 가져 가야 할지 고민을 해 봐야 할거 같다.
cesium 이 화면 표시를 함에 있어서 웹 서버가 꼭 필요 하다는 제약이 있다.
로컬 개발 환경에서 반드시 웹서버가 필요하다.
apache를 사용할 것인가? node를 사용할 것인가?
node를 사용하는 경우..... project 관리는 일관성이 있지만...
node express를 설치하면... 불필요하게 비대해 지는 느낌이 있다.
eclipse Http Preview 기능도 가능할거 같은데..... path 에 접두사가 붙는거 포트 변경을 모르겠다.
apache를 사용하자니..... eclipse에서 개발하다 수동으로 apache를 start 해 줘야 하는 불편함이 있다.
어떤 방법을 선택할 것인가?
일단은...... 귀찮으니 apache로 가고.... 나중에 고민하자.
/3d_data - f4d 데이터
/build - gulp 빌드. gitignore
/external/jasmine - 외부 javascript 관리
/src/cesium - 수정된 cesium.
/src/자바스크립트소스 - cesium plugin
/test - test 소스
/node_modules - node 모듈. gitignore
/images - 이미지 파일
src 구조는 뭔가 맘에 안든다.
test 는 jasmine의 경우 spec 이라는 이름이 맞지만.... 언제 test framework가 변경될지 몰라
범용적인 test가 나을거 같다.
7.14.0
to 7.14.1
.This version is covered by your current version range and after updating it in your project the build failed.
eslint-plugin-react is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 3 commits.
62255af
Update CHANGELOG and bump version
655eb01
Merge pull request #2320 from golopot/issue-2319
9639d82
[Fix] prop-types
: fix crash on multiple destructuring
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
gogle analytics 인가? 적용해 주세요.
Hello, I have written the html code and javascript in my html file that appears on http://www.mago3d.com/homepage/api.do#changeObjectInfoViewModeAPI but when I allow the information to be displayed and click on an object, an error message appears.
Shader.js:36611 Uncaught TypeError: window[functionName] is not a function
at clickPositionCallback (Shader.js:36611)
at Shader.js:14633
at handleMouseUp (Cesium.js:79515)
at handlePointerUp (Cesium.js:79926)
at HTMLCanvasElement.listener (Cesium.js:79369)
clickPositionCallback @ Shader.js:36611
(anonymous) @ Shader.js:14633
handleMouseUp @ Cesium.js:79515
handlePointerUp @ Cesium.js:79926
listener @ Cesium.js:79369
Cesium.js:237541 An error occurred while rendering. Rendering has stopped.
undefined
TypeError: window[functionName] is not a function
TypeError: window[functionName] is not a function
at selectedObjectCallback (Shader.js:36548:22)
at MagoManager.selectedObjectNotice (Shader.js:13472:4)
at MagoManager.startRender (Shader.js:7356:11)
at MagoManager.start (Shader.js:5768:8)
at executeCommands (http://localhost:8080/src/engine/cesium/Cesium.js:226607:35)
at executeCommandsInViewport (http://localhost:8080/src/engine/cesium/Cesium.js:226966:9)
at updateAndExecuteCommands (http://localhost:8080/src/engine/cesium/Cesium.js:226814:13)
at render (http://localhost:8080/src/engine/cesium/Cesium.js:227350:9)
at tryAndCatchError (http://localhost:8080/src/engine/cesium/Cesium.js:227368:13)
at Scene.render (http://localhost:8080/src/engine/cesium/Cesium.js:227409:13)
CesiumWidget.showErrorPanel @ Cesium.js:237541
(anonymous) @ Cesium.js:237254
Event.raiseEvent @ Cesium.js:11283
tryAndCatchError @ Cesium.js:227370
Scene.render @ Cesium.js:227409
CesiumWidget.render @ Cesium.js:237591
render @ Cesium.js:236970
requestAnimationFrame (async)
requestAnimationFrame @ Cesium.js:78954
render @ Cesium.js:236971
requestAnimationFrame (async)
requestAnimationFrame @ Cesium.js:78954
render @ Cesium.js:236971
requestAnimationFrame (async)
requestAnimationFrame @ Cesium.js:78954
render @ Cesium.js:236971
requestAnimationFrame (async)
requestAnimationFrame @ Cesium.js:78954
render @ Cesium.js:236971
requestAnimationFrame (async)
requestAnimationFrame @ Cesium.js:78954
render @ Cesium.js:236971
requestAnimationFrame (async)
requestAnimationFrame @ Cesium.js:78954
render @ Cesium.js:236971
requestAnimationFrame (async)
requestAnimationFrame @ Cesium.js:78954
render @ Cesium.js:236971
requestAnimationFrame (async)
requestAnimationFrame @ Cesium.js:78954
render @ Cesium.js:236971
requestAnimationFrame (async)
requestAnimationFrame @ Cesium.js:78954
render @ Cesium.js:236971
requestAnimationFrame (async)
requestAnimationFrame @ Cesium.js:78954
render @ Cesium.js:236971
requestAnimationFrame (async)
requestAnimationFrame @ Cesium.js:78954
render @ Cesium.js:236971
requestAnimationFrame (async)
requestAnimationFrame @ Cesium.js:78954
render @ Cesium.js:236971
requestAnimationFrame (async)
requestAnimationFrame @ Cesium.js:78954
render @ Cesium.js:236971
requestAnimationFrame (async)
requestAnimationFrame @ Cesium.js:78954
render @ Cesium.js:236971
requestAnimationFrame (async)
requestAnimationFrame @ Cesium.js:78954
render @ Cesium.js:236971
requestAnimationFrame (async)
requestAnimationFrame @ Cesium.js:78954
render @ Cesium.js:236971
requestAnimationFrame (async)
requestAnimationFrame @ Cesium.js:78954
render @ Cesium.js:236971
requestAnimationFrame (async)
requestAnimationFrame @ Cesium.js:78954
render @ Cesium.js:236971
requestAnimationFrame (async)
requestAnimationFrame @ Cesium.js:78954
render @ Cesium.js:236971
requestAnimationFrame (async)
requestAnimationFrame @ Cesium.js:78954
render @ Cesium.js:236971
requestAnimationFrame (async)
requestAnimationFrame @ Cesium.js:78954
render @ Cesium.js:236971
requestAnimationFrame (async)
requestAnimationFrame @ Cesium.js:78954
render @ Cesium.js:236971
requestAnimationFrame (async)
requestAnimationFrame @ Cesium.js:78954
render @ Cesium.js:236971
requestAnimationFrame (async)
requestAnimationFrame @ Cesium.js:78954
render @ Cesium.js:236971
requestAnimationFrame (async)
requestAnimationFrame @ Cesium.js:78954
render @ Cesium.js:236971
requestAnimationFrame (async)
requestAnimationFrame @ Cesium.js:78954
render @ Cesium.js:236971
requestAnimationFrame (async)
requestAnimationFrame @ Cesium.js:78954
render @ Cesium.js:236971
requestAnimationFrame (async)
requestAnimationFrame @ Cesium.js:78954
render @ Cesium.js:236971
requestAnimationFrame (async)
requestAnimationFrame @ Cesium.js:78954
render @ Cesium.js:236971
requestAnimationFrame (async)
requestAnimationFrame @ Cesium.js:78954
render @ Cesium.js:236971
requestAnimationFrame (async)
requestAnimationFrame @ Cesium.js:78954
render @ Cesium.js:236971
requestAnimationFrame (async)
requestAnimationFrame @ Cesium.js:78954
render @ Cesium.js:236971
Thanks
Attached screenshots.
javascript 대용량 처리를 위해서는 멀티 쓰레드 처리가 필요하고
web worker 를 고려하게 된다.
web worker 를 사용함에 있어서 가장 문제가 되는 것이 서로 다른 쓰레드간 데이트 공유다.
그 문제의 해결책으로 제시되는 것이 SharedArrayBuffer 인데
역시나 고려해야 할 점이 많다.
나 역시.... 이 필자와 동일한 생각인데....
좋은 라이브러리가 나올때까지 mago3D에 적용하는 것은 보류하는것이 좋다고 생각한다.
http://hacks.mozilla.or.kr/2017/11/avoiding-race-conditions-in-sharedarraybuffers-with-atomics/
typescript 적용 하자....
보스턴 이후
chrome://flags/
가속화된 2D 캔버스 Mac, Windows, Linux, Chrome OS, Android
소프트웨어 렌더링을 사용하는 대신 GPU를 사용하여 2D 캔버스 렌더링을 수행하도록 합니다. #disable-accelerated-2d-canvas
사용(enable)로 설정
13.2.2
to 13.2.4
.This version is covered by your current version range and after updating it in your project the build failed.
yargs is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 14 commits.
a6e67f1
chore(release): 13.2.4
fc13476
chore: update standard-verison dependency
bf46813
fix(i18n): rename unclear 'implication failed' to 'missing dependent arguments' (#1317)
a3a5d05
docs: fix a broken link to MS Terminology Search (#1341)
b4f8018
build: add .versionrc that hides test/build
0c39183
chore(release): 13.2.3
08e0746
chore: update deps (#1340)
843e939
docs: make --no-
boolean prefix easier to find in the docs (#1338)
84cac07
docs: restore removed changelog of v13.2.0 (#1337)
b20db65
fix(deps): upgrade cliui for compatibility with latest chalk. (#1330)
c294d1b
test: accept differently formatted output (#1327)
ac3f10c
chore: move .hbs templates into .js to facilitate webpacking (#1320)
0295132
fix: address issues with dutch translation (#1316)
9f2468e
doc: clarify parserConfiguration object structure (#1309)
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
Please, add notes New feature of mago3djs v2.0.0.
and I guess it is not compatible to mago3D v1.1.1. Is it right?
1 웹서버 테스트
lod init code necessary.
this.magoPolicy = new Policy();
this.magoPolicy.setLod0DistInMeters(MagoConfig.getPolicy().geo_lod0);
this.magoPolicy.setLod1DistInMeters(MagoConfig.getPolicy().geo_lod1);
this.magoPolicy.setLod2DistInMeters(MagoConfig.getPolicy().geo_lod2);
this.magoPolicy.setLod3DistInMeters(MagoConfig.getPolicy().geo_lod3);
this.magoPolicy.setLod4DistInMeters(MagoConfig.getPolicy().geo_lod4);
this.magoPolicy.setLod5DistInMeters(MagoConfig.getPolicy().geo_lod5);
Hi, I'm using Ubuntu, I've installed eclipse.
I have the following software installed:
node v10.15.1
[email protected]
Java openjdk version "1.8.0_191".
When I run on eclipse I run the file gulpfile.js I get the following error.
internal/util/inspect.js:31
const types = internalBinding('types');
^
ReferenceError: internalBinding is not defined
at internal/util/inspect.js:31:15
at req_ (/home/dcapeletti/eclipse-workspace/mago3djs/node_modules/natives/index.js:137:5)
at require (/home/dcapeletti/eclipse-workspace/mago3djs/node_modules/natives/index.js:110:12)
at util.js:25:21
at req_ (/home/dcapeletti/eclipse-workspace/mago3djs/node_modules/natives/index.js:137:5)
at require (/home/dcapeletti/eclipse-workspace/mago3djs/node_modules/natives/index.js:110:12)
at fs.js:42:21
at req_ (/home/dcapeletti/eclipse-workspace/mago3djs/node_modules/natives/index.js:137:5)
at Object.req [as require] (/home/dcapeletti/eclipse-workspace/mago3djs/node_modules/natives/index.js:54:10)
at Object.<anonymous> (/home/dcapeletti/eclipse-workspace/mago3djs/node_modules/vinyl-fs/node_modules/graceful-fs/fs.js:1:99)
Attached is a capture.
Question, Which version of node is recommended? Can the wrong version of node be the cause of the problem?
Thanks
3ds 파일을 선택하고 changeColor API를 호출하면....
LOD 상태에 따라서 색깔 변경이 되지 않는 경우가 있습니다.
LOD0의 상태는 잘 변경됨
LOD1의 상태는 변경되지 않음
Texture 때문이라고 함....
dist 폴더를 추가하고...
버전이 변경될때 마다 compile 된 js 파일을 넣어서 죄공해 줄 필요가 있을거 같다.
고객이 굳이 우리 제품을 설치 하지 않아도
dist 에서 이 파일만 다운 받아서
html 파일 내에 복사해서..... 사용할 수 있도록.....
When I approach the model, the following error occurs:
An error occurred while rendering. Rendering has stopped.
ReferenceError: DataStream is not defined
ReferenceError: DataStream is not defined
at Lego.parseLegoData (Shader.js:20672:15)
at Lego.parseArrayBuffer (Shader.js:20523:7)
at ParseQueue.parseArraySkins (Shader.js:26125:14)
at MagoManager.manageQueue (Shader.js:10986:18)
at MagoManager.startRender (Shader.js:9096:8)
at MagoManager.start (Shader.js:8081:8)
at executeCommands (http://localhost:8080/src/engine/cesium/Cesium.js:226607:35)
at executeCommandsInViewport (http://localhost:8080/src/engine/cesium/Cesium.js:226966:9)
at updateAndExecuteCommands (http://localhost:8080/src/engine/cesium/Cesium.js:226814:13)
at render (http://localhost:8080/src/engine/cesium/Cesium.js:227350:9)
When I load cesium and navigate the balloon, it works well. The problem happens when I approach the model, nothing is loaded and the error appears immediately.
I hope you can help me.
Thanks
Chrome has artificial per-tab memory limits for the JavaScript engine of around 1GB on 32 bit and 2GB on 64 bit. As you can see, just running 64 bit will get you more memory.
Assuming that's still not enough, you can change the artificial limit by passing the --max-old-space-size to V8. This specifies the limit in megabytes. For example, if you want to raise the limit to 16GB you would run
chrome.exe --js-flags="--max-old-space-size=16384"
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --flag-switches-begin --disable-accelerated-2d-canvas --flag-switches-end
cesium plugin 이름으로 어떤 이름이 어울릴까요?
f4d 이미지를 가지고 3d를 표현한다는 의미를 내포하면 좋을텐데 쉽지가 않네요.
What is this objectid based on, and how it relates to the attributes of the component itself, such as the element id of revit? In addition, will this objectid change if the model is re-converted because of a version upgrade of a model? The reason for the above problem is that I am concerned with two aspects: One is how the objectid associated with certain properties of components (such as revit element id, or other fixed keywords, such as some of the ifc id. This can be found between the original model and the model after the f4d transformation; The second ,if the model version is updated, then whether the issue data or other data in mago3d is still bound to the component. Thank you. Hope to get the answer.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.