question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Strange Render artifacts on Safari Mobile only

See original GitHub issue

Throwing this out here in case it might be an implementation specific thing, but on Mobile Safari only I am getting very strange volume render artifacts, as if it is reading the array data in the wrong order. Also reproducible on the Xcode iOS simulator.

A brief summary of my architecture: I am creating a vtkImageData object with preallocated Float32Array and manually inserting DICOM pixel data into each slice of the scalar array, then displaying in 3 parallel camera vtkRenderWindows, each with their own vtkVolume object (for individual window leveling), but each volume inherits the same imageData object. This works fine in all scenarios save for Mobile Safari.

Since many vtk.js API examples run fine on the iPad, is this just an issue with something I’m doing somehow? Any tips on where to look?

vtk.js version: 12.1.3, but have tried the latest v13 as well, with no difference in behavior.

iOS Safari: image

Literally Any Other computer browser: image

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
mix3dcommented, Feb 21, 2020

It was user error after all. My company’s Dicom loader apparently grabs a jpeg on mobile devices, I wasn’t aware of that behavior. I might try to make the volume work with jpeg data, but forcing it to get the right file is making it work again.

Your recap DID help me pinpoint the problem though!

Closing the issue.

0reactions
jourdaincommented, Feb 21, 2020

Glad it help…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Line artifacts in mobile Safari - iphone - Stack Overflow
This issue is a result of a rounding error produced in mobile safari when it rescales background images for display (it's a bug: ......
Read more >
safari rendering issues - Apple Community
I have been getting some strange rendering issues since upgrading to OSX Mountain Lion/Safari 6. They seem to be fairly random, and happen...
Read more >
ShadowGenerator causing rendering artifacts in Safari 15.4
Since the update to Safari 15.4, scenes using a ShadowGenerator seem to be causing rendering artifacts. When you drag a mesh around or...
Read more >
Off-Topic: super weird Safari rendering bug - GSAP - GreenSock
I'm experiencing an issue with an SVG mask animation in iOS only. Happens in iOS Safari & Chrome. I'm using the MorphSVG and...
Read more >
[Solved]-SVG arc rendering artifacts in Safari - appsloveworld
The reason you are seeing only the difference between the two (the thin half-moon shape) is because you are using the even-odd fill...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found