Browse Source

Remove logs, changelog, set wboit as default option

giagitom 2 years ago
parent
commit
b082b31562
2 changed files with 4 additions and 5 deletions
  1. 2 1
      CHANGELOG.md
  2. 2 4
      src/mol-canvas3d/canvas3d.ts

+ 2 - 1
CHANGELOG.md

@@ -6,9 +6,10 @@ Note that since we don't clearly distinguish between a public and private interf
 
 ## [Unreleased]
 
+- Integration of Dual depth peeling - OIT method
+
 ## [v3.15.0] - 2022-08-23
 
-- Integration of Dual depth peeling - OIT method
 - Fix wboit in Safari >=15 (add missing depth renderbuffer to wboit pass)
 - Add 'Around Camera' option to Volume streaming
 - Avoid queuing more than one update in Volume streaming

+ 2 - 4
src/mol-canvas3d/canvas3d.ts

@@ -125,8 +125,8 @@ namespace Canvas3DContext {
         pickScale: 0.25,
         /** extra pixels to around target to check in case target is empty */
         pickPadding: 1,
-        enableWboit: false,
-        enableDpoit: true,
+        enableWboit: true,
+        enableDpoit: false,
         preferWebGl1: false
     };
     export type Attribs = typeof DefaultAttribs
@@ -291,8 +291,6 @@ namespace Canvas3D {
 
     export function create({ webgl, input, passes, attribs, assetManager }: Canvas3DContext, props: Partial<Canvas3DProps> = {}): Canvas3D {
         const p: Canvas3DProps = { ...DefaultCanvas3DParams, ...props };
-        console.trace();
-        console.log(props);
         const reprRenderObjects = new Map<Representation.Any, Set<GraphicsRenderObject>>();
         const reprUpdatedSubscriptions = new Map<Representation.Any, Subscription>();
         const reprCount = new BehaviorSubject(0);