-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: IFC 3D Visualization pipe line #127
Comments
Any Help on this topic? |
Hi @Noranius, have a look at the 'AddLayerToDrawingControl' function in DrawingControl3D.
Is this what you were after? |
Concerning textures in IFC: There's similar question maybe associated to yours: The tesselation pipeline is staged. So far, your are right. The data is never changed. Any update to the geometry means to reload the whole scene. The WPF UI only uses a readonly view on a binary encoded geometry representation based on triangulation. So far I understood the visualization pipeline:
Last:
|
The last week i got to work on this. What I searched for is not in the XbimWindowsUI, it is in XbimGeometry repository. When the Xbim3DModelContext is created in the main Window.
Within this method all 3D objects are created for visualization. Hence, I have to step in this part of the XbimGeometry repo. to be continued... |
The next point is where are the textures loaded: Second the texture has to be transformed for that I'm on to implement the necessary methods, which generate the materials from the image textures within the
Pull requests will follow, when all is ready. |
Finally the problem is solved an xBIM is now capable to display textures. Refer to #163. |
I want to add the visualization of textures in
xBIM
. This feature is necessary to support the visualization ofIfcSurfaceTexture
and sub classes. I have chosen to understand how the visualization of the model works first. What I have understood until now is that the model is loaded (IfcStore.Open
) and after that theDrawingControl3D
cares about the 3D visualization. Further, the Scene is created asSurfaceLayerStyle
. I stuck at that point.The method
SurfaceLayerStyler.BuildScene(...)
creates a scene, on top of the model. However, that scene is never touched again, only returned at the end. I guess other calls upon the model affect the scene, don't they?I have not seen any call to the Canvas (
HelixViewport3D
) in theDrawingControl3D
. How get the xBIM shape data transformed and handed over to theHelixViewPort3D
?Thanks in advance
Noran
The text was updated successfully, but these errors were encountered: