Can't get Java3D going on ImageJ 3DViewer - macos

OS: Mac OS 10.11.1
I installed ImageJ and was going to display the example image "flybrain.tif" using "3D Viewer" under Plugins -> 3D. However, the 3D viewer doesn't launch.
I searched around and realised that it could be a problem from java3d, so downloaded java3d from https://java3d.java.net/binary-builds.html. I placed the three *.jar from java3d under /Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/Home/jre/lib
and added the paths to the ~/.bash_profile.
The 3D viewer still doesn't start. Anything else I can try? Many thanks!

I have a similar, not identical setup (Mac OS 10.11.2, jdk 1.8.0_66) and I am able to open the Fly Brain in 3D viewer using Fiji.
In Fiji, I activated the update sites for ImageJ, Fiji, and 3D.
You might also try posting the question at the ImageJ forum.
Hope this helps.

Problem solved by downloading the fiji-jogl-java3d-20151006220121.zip file from http://forum.imagej.net/t/java-3d-progress-and-next-steps/135. The 3D viewer works and I am able to record the 3D video again. Thank you every one, #TSwayne #Jan-Eglinger #gouessej

Related

IntelliJ windows from Linux box displayed via ssh/X11 on MacOS illegible

I have XQuartz 1.20.11 (xorg-server 1.20.11) on an M1 MacBook Pro (installed via MacPorts) and am trying to display IntelliJ running on a Linux box via ssh/X11.
The IntelliJ windows appear with oddly rendered text that's unreadableā€”the white background turns black, and there are white outlines around the black text. If I click outside of an X11 window and start typing, then the IntelliJ window looks normal. But as soon as I touch the trackpad, IntelliJ becomes unreadable.
I tried taking a screen shot, but it comes out looking normal even though the window is nearly unreadable. So I've attached photo of the screen.
X11 windows from other applications display fine.
As mentioned in an XQuartz thread, setting
export _JAVA_OPTIONS='-Dsun.java2d.xrender=false' clears up the text but results in extremely slow display.
Anyone have suggestions for troubleshooting or a solution?
There is a ticket for this issue in IDEA tracker, please upvote it and follow for updates.
Do the latest recommendations from the thread that you mentioned help?
If not, then please try switching IDE boot JDK to e.g. OpenJDK 17 and inform if the issue persists after that.

I can not see some texts on Unity 3D

In my Unity GUI, some of the texts in the engine can not be seen. I have attached some screenshots from my Recorder and Package Manager. How can i fix this, is there anyone that experienced that kind of glitch?
I am using Unity 2020.3.21f1 on the latest MacOS.
Try restarting unity, and if it does not work, try restarting your pc. Any recently added unity mods might also cause this. Wish you luck!

Automator takes screenshot of background instead of window

System specs: mac OS Monterrey V12.5, Apple M1 chip 2020
I am making an application which will take a screenshot of a video, and take the timestamp of the current point in this video, after which both the timestamp and screenshot will be send to a numbers file (mac OS excel like program).
I could not find an application to do this and I tried to get it working using python as shown here but was unable to. Now because I am on Mac I have decided to use Automator instead. I am currently on the screenshot part and Automator has a build in screenshot functionality.
Unfortunately, this screenshot does not detect browser or application windows, it will only take a screenshot of my background.
I have no idea why this is but I suspect it might have to do with permissions related to the M1 chip.
I tried different monitors and simplyfying the automation to just taking a screenshot, but so far nothing has helped, I could not find others online who had a similar problem.
If there is any information missing from this post I will be happy to provide it.
Edit: It seems to be some kind of permission issue, automator CAN take screenshots within Safari, now I just need to find a way to do so in firefox.
I have solved the issue, it turns out that the M1 chip has a special permission for screen recording, adding my Automator application to this permission list will allow it to take screenshots of all windows.

Xcode 8 import pdf (vector) intro image assets not working well

I drag pdf intro image assets (universal) and building Xcode.
There is no generated png#2 png#3 . (only Pdf)
I follow this tutorial :
https://icons8.com/articles/how-to-use-vectors-in-xcode-7/
When I start app on the device images are so bad quality...
Xcode 6, 7 working ....
Maybe PDF file needs optimisation ?!
In research I found "size of svg is not important" but in this case it is (I test it).
Not sure if this helps, but from what I was reading about this, Xcode doesn't fully support vector graphics. It sounds like instead of you being able to load a vector image (.pdf) and it scales however necessary. Instead, whatever the default size of your .pdf is, it'll assume that is the 1x size, then scale the pdf to automatically create the 2x and 3x image when it's built. So its not actually scaling the original, just creating a 1x, 2x, and 3x png of the original size of your pdf. From what I'm reading, people are thinking this is done to maintain backwards compatibility. I couldn't find anything that says it has changed in Xcode 8, so I'm assuming it still works the same way.
This question seems to answer it well: How do vector images work in Xcode (i.e. pdf files)?
Hope I was able to help.
Possible hepful support links, I would suggest updating to the latest. xcode 13
xcode 8.1
xcode 8

The parameter is incorrect exception

I'm working on a Windows Phone 7.1 project and got most of my work done and decided to add to the project the images for my tiles (62x62 and 173x173 PNGs) plus the JPG file for the splash screen (SplashScreenImage.jpg 480x800).
Before adding these images to the project my project was running fine! After adding them and setting the tiles images to the 2 new files, my project still builds ok, but when running on the 7.1 simulator (my acer laptop doesn't have hardware assisted virtualization enabled in order to run the wp8 emulator) the app crashes when trying to load MainPage with "The parameter is incorrect" exception (in the Application_UnhandledException handler).
I've been trying to find a solution on the web for the last 1-2 days, found few mentions of this error and few possible causes, but none of my findings helped so far. The exception doesn't say anything helpful and it's getting really frustrating considering that most of the serious work is done and I'm very close to releasing the app to the marketplace.
Did anybody run into this issue before? Any ideas what could have gone wrong and how I could solve this exception? Any help is much appreciated!
Thank you in advance!
Andrei
Whenever I wish to change the Splashscreen and other images, here is what I do:
Locate the file on disk using Windows Explorer.
Open the file using some image editor (I use Paint.NET)
Remove the default image and replace with your image maintaining the dimensions.
Save the image and return to Visual Studio.
Rebuild the entire project.
This works seamlessly without any errors. ;)

Resources