arc3d's Introduction
arc3d's People
arc3d's Issues
[Modeling] Add the floor and the ceiling to hearc.max
- Floor
- Ceiling
[Doc] Make the doc
Don't to sub-sub-title ( i.e. 1.1 is max, don't go to 1.1.1)
Using multiple .js models causes flickering
I now try to use different .js (JSON) models of the differents parts of the building.
But it causes flickering between those part, that only when you are far from the model.
The code I use for 3 different models i.e:
var jsonLoader = new THREE.JSONLoader();
models = ["walls_0", "walls_1", "ceiling_0"];
for(var i = 0; i < models.length; i++)
{
//TODO: Get rid of function within the loop
jsonLoader.load("models/multipart/" + models[i] + ".js", function(geometry, materials){
var material = new THREE.MeshLambertMaterial(materials[0]);
mesh = new THREE.Mesh(geometry, material);
console.log(material);
//TODO: Find out why the model is not at its correct position
mesh.position.y -= 100;
scene.add(mesh);
});
}
OBJ Loader doesn't work well
The pipeline I use:
1 Create model on Autodesk 3dsMax
2. Export in .OBJ w/ .MTL
3. Use three.js ObjLoader
Error: There is quite a lot of errors in the model. Screenshot:
With this loader:
THREE.Loader.Handlers.add( /\.dds$/i, new THREE.DDSLoader() );
var mtlLoader = new THREE.MTLLoader();
mtlLoader.setBaseUrl( 'models/' );
mtlLoader.setPath( 'models/' );
mtlLoader.load( m_path + '.mtl', function( materials ) {
materials.preload();
var objLoader = new THREE.OBJLoader();
objLoader.setMaterials( materials );
objLoader.setPath( 'models/' );
objLoader.load( m_path + '.obj', function ( object ) {
object.position.y = - 95;
scene.add( object );
}, onProgress, onError );
});
[Texturing] Basic texturing
- Walls : Orange
- Ceiling : White
- Floor : Gray
[Modeling] Add environment building as boxes
Add environment building as boxes to the scene.
[Pathfinding] Basic scene
Create a scene with all building as boxes, try a first implementation of pathfinding.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.