# How-to: Render IFC model in the same way as Rendering Modes in HOOPS Demo Viewer

**URL:** <https://forum.techsoft3d.com/t/how-to-render-ifc-model-in-the-same-way-as-rendering-modes-in-hoops-demo-viewer/1387>\
**Category:** HOOPS Visualize Desktop\
**Tags:** code, knowledge-base, how-to, rendering\
**Created:** [October 1, 2021, 4:00am UTC](https://forum.techsoft3d.com/t/how-to-render-ifc-model-in-the-same-way-as-rendering-modes-in-hoops-demo-viewer/1387 "2021-10-01T04:00:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gabriel.peragine](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.techsoft3d.com/gabriel.peragine/32/1535_2.png) [@gabriel.peragine](https://forum.techsoft3d.com/u/gabriel.peragine)\
**Post date:** [October 1, 2021, 4:00am UTC](https://forum.techsoft3d.com/t/how-to-render-ifc-model-in-the-same-way-as-rendering-modes-in-hoops-demo-viewer/1387/1 "2021-10-01T04:00:00Z")

</div>

In HOOPS Demo Viewer, faces, edges and lines visibility is set in addition to `HPS::Rendering::Mode`.

![image-20210420-045941](https://us1.discourse-cdn.com/flex020/uploads/techsoft3d/original/1X/8240f7645d05319179e13ce2045fdb6fb81ce7ca.png)

Tessellated Mode

```auto
GetCanvas().GetAttachedLayout().GetAttachedView().SetRenderingMode(HPS::Rendering::Mode::Flat);
HPS::VisibilityKit visibility;
visibility.SetEdges(true).SetFaces(true).SetHardEdges(true).SetPerimeterEdges(true);
GetCanvas().GetFrontView().GetSegmentKey().SetVisibility(visibility);

```

 ![image-20210420-053457](https://us1.discourse-cdn.com/flex020/uploads/techsoft3d/original/1X/6c4026a7f74fc3d0fea64cd0a14f24e07d9b7b50.png)

Wireframe Mode

```auto
GetCanvas().GetAttachedLayout().GetAttachedView().SetRenderingMode(HPS::Rendering::Mode::Wireframe);	
HPS::VisibilityKit visibility;
visibility.SetEdges(false).SetFaces(false).SetHardEdges(true).SetPerimeterEdges(true);
GetCanvas().GetFrontView().GetSegmentKey().SetVisibility(visibility);

```

 ![image-20210420-053303](https://us1.discourse-cdn.com/flex020/uploads/techsoft3d/original/1X/4e5b088409fd63de460358399a1f70dcc8021325.png)
