mirror of
https://github.com/overte-org/overte.git
synced 2025-07-23 21:24:14 +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() {
|
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() {
|
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) {
|
if (_primitiveMode == PrimitiveMode::LINES) {
|
||||||
builder.withWireframe();
|
builder.withWireframe();
|
||||||
}
|
}
|
||||||
|
|
|
@ -69,7 +69,7 @@ Rectangle {
|
||||||
Culling {}
|
Culling {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Prop.PropFolderPanel {
|
/* Prop.PropFolderPanel {
|
||||||
label: "Tools"
|
label: "Tools"
|
||||||
panelFrameData: Component {
|
panelFrameData: Component {
|
||||||
Row {
|
Row {
|
||||||
|
@ -87,7 +87,7 @@ Rectangle {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
/* Jet.TaskPropView {
|
/* Jet.TaskPropView {
|
||||||
id: "le"
|
id: "le"
|
||||||
jobPath: ""
|
jobPath: ""
|
||||||
|
|
|
@ -69,8 +69,8 @@ function openView() {
|
||||||
}
|
}
|
||||||
|
|
||||||
pages.addPage('Luci', 'Luci', '../luci.qml', 300, 420, openLuciWindow, closeLuciWindow);
|
pages.addPage('Luci', 'Luci', '../luci.qml', 300, 420, openLuciWindow, closeLuciWindow);
|
||||||
pages.addPage('openEngineLODView', 'Render LOD', '../lod.qml', 300, 400);
|
// pages.addPage('openEngineLODView', 'Render LOD', '../lod.qml', 300, 400);
|
||||||
pages.addPage('openMaterialInspectorView', 'Material Inspector', '../materialInspector.qml', 300, 400, MaterialInspector.setWindow, MaterialInspector.setWindow);
|
// pages.addPage('openMaterialInspectorView', 'Material Inspector', '../materialInspector.qml', 300, 400, MaterialInspector.setWindow, MaterialInspector.setWindow);
|
||||||
|
|
||||||
pages.open('Luci');
|
pages.open('Luci');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue