Viewer bugs in Shapediver

After extensively tweaking the viewer to have better rendering quality, we got it to a very good state, but there are still 3 things that are bugs:

  1. Lighting settings change when adjusting a light parameter

Take a look at the attached .gif recording. If you change the material the lights have a certain look. Then I minimally change any of the light parameters and the light changes dramatically. It’s like some settings are only updated once I touch one of the parameters. As soon as I change material or the geometry it is back to a different state.

[https://www.dropbox.com/scl/fi/4096ibh3plqir0aek07uh/SD_renderbug.gif](https://Gif on Dropbox)

  1. HBAO rendering bug

We would like to use HBAO ambient occlusion, but there is a very visible rendering bug. See the attached image.

  1. Extremely low edge quality in some browsers/on some computers/phones

Not sure how or why, but on some machines or phones the mesh quality around the edges is extremely poor. We have not yet figured out a pattern on where this appears, but it looks very bad. On my machine for example it looks absolutely fine.


Hope we can get those last things sorted.

I cannot open the gif link from your first point, could you please check it so I can review this bug?

For the two other points, it would help if you could give me a link to the specific model and settings causing your issues. Is the AO bug happening when you are using the custom orthographic camera? For the third point, on which devices precisely do you experience the poor rendering?

@mathieu1 did you get my message I sent you with the links you asked for. Any news on this?

I will review your private message and get back to you here once I did.

1 Like

@mathieu1 Getting such shadow bugs in the viewer on Mac when using Safari and Chrome; on Firefox, it works fine. On Windows also, everything looks fine.
These three images have different shadows setup in Shapediver settings.



@seltzdesign The video you sent me in the PM does not play for me. Therefore I still do not have a was to reproduce or understand the first issue from your message.

Regarding the HBAO issue, our team could reproduce it and will fix it in the upcoming viewer release.

Regarding the low edge quality issue, we could not reproduce on any device on our side for now. We will keep trying to find a configuration where this happens.

@artmachines Could you send a link to your model where the shadow issues appear? We need to know precisely which viewer settings are being used.

@mathieu1
Here is the link:
https://www.shapediver.com/app/m/zY6qS4xvxzkUlGEEfsRnbjF7eHoIWq
On Windows, it also has some almost invisible shades on the ground plane.

Hello @seltzdesign and @artmachines,

We’ve just released viewer version 3.9.0 which should provide various improvements for the AO and the contact shadows.
These changes will be rolled out to the platform next week, but if you are directly using the viewer API you can already update your applications to that version.

Sorry for the delayed fix, as these were difficult issues to track down!

Cheers, Michael

1 Like

Hi @MajorMeerkatThe3rd
Is it possible to remove these strange shadows at the corners?

Hello @artmachines,

these shadows come from the ambient occlusion. You can just disable the ambient occlusion on the edit page or choose settings that fit your model better.

Cheers, Michael

Hi @MajorMeerkatThe3rd
Thanks for your response.
Another question:
Is it possible to control the camera in AppBuilder like in ShapeDiver to avoid such close-ups each time when the configurator is updated?
I tried to change “Field of view” in ShapeDiver, but that doesn’t work in AppBuilder.

Hello @artmachines,

the Field of View should work as expected in App Builder. Are you sure you saved the settings and used the same model?

Besides that, you can look into the setting Camera adjust and disable it. This will keep the camera in the same position after an update.

Cheers, Michael

Hi @MajorMeerkatThe3rd
Yes, I saved the settings and used the same model.
I think ShapeDiver stops saving camera position and settings.
Camera adjust disabled is working in AppBuilder, but I’d like to keep it enabled.

Hello @artmachines,

i just tried this out with multiple models and everything seems to work for me.
Could you please link to the affected model and tell us about steps on how to reproduce your issue?

Cheers, Michael

Here is the link:
https://www.shapediver.com/app/m/UK8q2urXeOijfwmwEmiBXKLylqGyG8
I’m just uploaded grasshopper file into Shapediver and saved it for Appbuilder, allowed embedding and link sharing.

Hello @artmachines,

thank you. I can see the issue with this model and will get back to you once it has been resolved.

Cheers, Michael

Hello @artmachines,

the issue should now be resolved. Please let us know if everything works as expected!

Cheers, Michael

Hi @MajorMeerkatThe3rd
It doesn’t work with the model I sent previously.
I reuploaded that model and now it is saving the camera position, but field of view only changes the perspective, not the distance to the object, so it keeps zooming it to fit the viewport height after each modification.
Here are two images with different field of view


Hello @artmachines,

I’m not sure I fully understand your issue. When I open the model on the platform, it looks like this:


Now after the fix in app builder it looks like this in app builder:

This seems to be exactly the same camera view, just with a different sizing of the viewport.

Please let me know the steps to reproduce your issue.

Cheers, Michael

Hi @MajorMeerkatThe3rd
Thank you for your response.
The thing is that when you’re changing, let’s say, the number of columns, the camera position stays the same, but the zoom is changed, so the model fits the viewport 100%.
Is it possible to control the distance between the model and the camera to keep some space around the model?