va3c / viewer

3D Model Viewer with Three.js
http://va3c.github.io/viewer/
183 stars 118 forks source link

optimize visual effects with LOD #10

Open pingfengafei opened 9 years ago

pingfengafei commented 9 years ago

followed with revit.html. Here I want to solve the problem: optimizing revit.js file with LOD(leveal of details) for better visual effects. I noticed that a revit-file.js about 150M size. while I rotate the 3D building,only 12-15fps(under ATI 4650). I also see that three.js has LOD fucntion.but how can I add it to optimize visual effects??

mattmas commented 9 years ago

What I always wanted to see was whether we could split the JSON into multiple streams – identify certain categories that might only be shown at “medium LOD” or “high LOD”.

For example:

Walls, Windows, Topography, etc – These should be shown at all levels of detail.

Furniture, Casework, Electrical Fixtures, Railings – These might be shown at medium detail.

Curtain Wall Mullions, Certain MEP Categories – might only be shown at high-detail.

(the list above is based on my impression of both: what makes sense when you are “zoomed out” on a building, as well as the quantity/complexity of element geometry).

-Matt

From: pingfengafei [mailto:notifications@github.com] Sent: Monday, May 18, 2015 9:48 PM To: va3c/viewer Subject: [viewer] optimize visual effects with LOD (#10)

followed with revit.html. Here I want to solve the problem: optimizing revit.js file with LOD(leveal of details) for better visual effects. I noticed that a revit-file.js about 150M size. while I rotate the 3D building,only 12-15fps(under ATI 4650). I also see that three.js has LOD fucntion.but how can I add it to optimize visual effects??

— Reply to this email directly or view it on GitHubhttps://github.com/va3c/viewer/issues/10.

pingfengafei commented 9 years ago

I agree with your opinion. Identifying different materials with different LOD is a useful way. But question comes: Can Revit API provides a convenient way to identify categorie of an objects belonging to? I know nothing with architecture in real world.

jeremytammik commented 9 years ago

yes, absolutely! revit provides exactly the category classification that matt lists above, e.g. walls, windows, furniture, mullions etc.