Exploring differences in the polyline rendering

This commit is contained in:
Sam Gateau 2019-08-08 17:10:46 -07:00
parent c10607a06d
commit 67a13ee7cd
3 changed files with 8 additions and 6 deletions

View file

@ -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();
}

View file

@ -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: ""

View file

@ -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');