mirror of
https://github.com/lubosz/overte.git
synced 2025-04-14 09:06:16 +02:00
Exploring differences in the polyline rendering
This commit is contained in:
parent
c10607a06d
commit
67a13ee7cd
3 changed files with 8 additions and 6 deletions
|
@ -63,11 +63,13 @@ void PolyLineEntityRenderer::buildPipelines() {
|
|||
}
|
||||
|
||||
ItemKey PolyLineEntityRenderer::getKey() {
|
||||
return ItemKey::Builder::transparentShape().withTypeMeta().withTagBits(getTagMask()).withLayer(getHifiRenderLayer());
|
||||
// return ItemKey::Builder::transparentShape().withTypeMeta().withTagBits(getTagMask()).withLayer(getHifiRenderLayer());
|
||||
return ItemKey::Builder::opaqueShape().withTypeMeta().withTagBits(getTagMask()).withLayer(getHifiRenderLayer());
|
||||
}
|
||||
|
||||
ShapeKey PolyLineEntityRenderer::getShapeKey() {
|
||||
auto builder = ShapeKey::Builder().withOwnPipeline().withTranslucent().withoutCullFace();
|
||||
// auto builder = ShapeKey::Builder().withOwnPipeline().withTranslucent().withoutCullFace();
|
||||
auto builder = ShapeKey::Builder().withOwnPipeline().withoutCullFace();
|
||||
if (_primitiveMode == PrimitiveMode::LINES) {
|
||||
builder.withWireframe();
|
||||
}
|
||||
|
|
|
@ -69,7 +69,7 @@ Rectangle {
|
|||
Culling {}
|
||||
}
|
||||
}
|
||||
Prop.PropFolderPanel {
|
||||
/* Prop.PropFolderPanel {
|
||||
label: "Tools"
|
||||
panelFrameData: Component {
|
||||
Row {
|
||||
|
@ -87,7 +87,7 @@ Rectangle {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}*/
|
||||
/* Jet.TaskPropView {
|
||||
id: "le"
|
||||
jobPath: ""
|
||||
|
|
|
@ -69,8 +69,8 @@ function openView() {
|
|||
}
|
||||
|
||||
pages.addPage('Luci', 'Luci', '../luci.qml', 300, 420, openLuciWindow, closeLuciWindow);
|
||||
pages.addPage('openEngineLODView', 'Render LOD', '../lod.qml', 300, 400);
|
||||
pages.addPage('openMaterialInspectorView', 'Material Inspector', '../materialInspector.qml', 300, 400, MaterialInspector.setWindow, MaterialInspector.setWindow);
|
||||
// pages.addPage('openEngineLODView', 'Render LOD', '../lod.qml', 300, 400);
|
||||
// pages.addPage('openMaterialInspectorView', 'Material Inspector', '../materialInspector.qml', 300, 400, MaterialInspector.setWindow, MaterialInspector.setWindow);
|
||||
|
||||
pages.open('Luci');
|
||||
|
||||
|
|
Loading…
Reference in a new issue