Hi,
I am new to shapespark and this community,
and I am amazed by the program and the support here.
but I am struggling with edge lines when moving the camera
the lines are not there before the bake, but after any baking settings
the vertical and horizontal lines form the walls and objects are visible.
especially in the distance and when moving.
btw. I am using the sketchup, and I tried every solution, group objects, components, single mesh…
also I realised that when I scale down the scene in sketchup, the lines are less visible,
but then the baked lightning is very poor.
Some of these flickering lines are unavoidable, especially straight narrow gaps are problematic in architectural scenes, because when viewed from larger distance some pixels centers will hit the gap and will be dark, and some will miss the gap and will be lighter. When the camera moves, the position where the gap is hit changes, which causes the flickering. When the camera stops moving, a more sophisticated anti-aliasing is used, which involves rendering several frames with tiny camera position offsets and such antialisting hides the flickering.
But some of the flickering lines in your scene are hard for us to explain, because they are present in places where there is no gap. After testing several settings we suspect there could be a bug that is causing this, but we will investigate further and confirm this.
Thanks, @jan, I appreciate your help because my project depends on it.
if you want, I can share the scene with you.
p.s. I started using shapespark one month ago
and I didn’t experience this problem on the previous version ( 1.17.0)
also, after the update, I think the scene is much brighter on default settings.
Sorry for the troubles. We are working on this, but so far don’t have anything that provides substantially better results. We still have couple of ideas to try.
I have made numerous tests regarding the lines,
and it seems that everything depends on the angle of the object.
even if I rotate the whole scene, the lines appear on the different edges.
Hi @Tom
It seems to me that the surfaces of the walls and ceilings - vertexs are not welded.
Can you place the SketchUp file to download and check in 3D Max? (I don’t use SketchUp but I can import it into 3D MAX)
Doted lines that are visible from large distance and from an angle, are caused by WebGL native antialiasing (MSAA). A thing that we didn’t realize before is that MSAA samples triangles in locations that can be outside of the triangles borders, which can cause lightmap uv island borders to be crossed. Shapespark fills each uv island with a one pixel margin, but such margin turns out to be not enough. When a surface is viewed at angle and large distance MSAA can cause uv island borders to be crossed by multiple pixels.
We still don’t have a good solution. A mechanism that is usually used to address this issue: centroid sampling is not available in WebGL, but we are experimenting with other approaches.
It is already available for scenes hosted on Shapespark hosting (you don’t need to do anything for the update to apply, just load a scene), and will be available in the next desktop application release for self hosted scenes and scenes opened from the editor.