![]() |
UnityMol
0.9.6-875
UnityMol viewer / In developement
|
post-0.9.5
Q: I found recent binary builds of UnityMol on the sourceforge website, but the corresponding source code does not seem available there. I could only find Unity3D project sources for older versions of UnityMol.
A: Currently, the everyday development of UnityMol is not on a public repository. We release source code with every major UnityMol version, typically when the related paper gets accepted. If you need source code access in between these releases, please contact us to find an appropriate solution.
SweetUnityMol was the working name of an extension to UnityMol that has particular functionalities for the representation of sugars and derived molecules. SweetUnityMol is now fully integrated within the current UnityMol version
Unfortunately this very useful functionality is not (yet) implemented in UnityMol. Stay tuned, it's on our todo list.
There are two options. The first one should work for all versions of UnityMol. Press the backspace
key (typically locate above the Return
key) to hide the graphical user interface (GUI). Then press the P
key to generate a screenshot. Typically screenshots are saved in the Screenshots
subdirectory of the directory from which UnityMol was started.
In newer versions of UnityMol, you have actually an option to generate screenshots with a transparent background (in the Advanced
menu). When you use this option, the GUI elements are not present in the screenshot, even though you see them on the screen.
Go to the Advanced
menu and choose White
as Background.
Atom Appareance
> Renderer
> click on a sphere image (you can apply your texture only on a selection with Residues, Chain, Extended atoms selection).
Surface
> Generate
(if you didn’t do it already)
Surface
> Texture
> Click on a sphere image.
This is because by default, the surface representation for sugar molecules is disabled. Like that, you can easily represent a glycoprotein in surface mode and locate the sugar molecules. To be able to see the actual sugar surface, click on the Sugar toggle
button present on the Surface Menu (last element of this menu).
There might be several causes for this issue:
Tune
Menu, uncheck Sugar Only?
and click on Enable SugarRibbons
again (maybe twice to uncheck, then check again).The 3 letter code for your sugar molecules in your PDB file is not recognized (check for instance the Color code for monosaccharides in the quickstart guide appendix).
Atom Appareance
> Panels
> Sugar
Surface
menu > Generate
Sugar
Menu > Enable SugarRibbons
.
You have to play with the Sugar/Non Sugar checkbox in the Sugar
Menu. You may have to click twice on theses checkboxes (issues with the UserInterface. Will be fixed in a future version).
For example with 3FUS
from a new session of SweetUnityMol: In the input PDB ID : 3FUS
> Fetch PDB
Sugar
> Enable SugarRibbons
Sugar
> Non Sugar
(twice)
Has been observed under linux. Seems to be related to installed libraries, notably OpenGL etc. No further diagnostic yet.
Try to not use the full screen mode (check Windowed
in the UnityMol Configuration
menu (this menu is the menu where you choose your resolution and click on the Play!
button).
We discovered this issue with some of the new versions of Unity3D on some platforms. We did not yet precisely locate where this problem comes from.
(This should no longer apply to current/recent UnityMol windows builds!) There was some shader bug on windows (with DirectX). If you wanted to execute a compiled UnityMol version on windows, you had to force the open-gl use by doing the following steps.
In your working folder (with UnityMol.exe
and UnityMol_Data
folders):
run.bat
)UnityMol.exe -force-opengl
(with the program name being UnityMol.exe
)run.bat
(if your batch name is this one)Our shader needs OpenGl. Use the file Run_SweetUmol_32.bat
or Run_SweetUmol_32.bat
depending on your version of the software (the line has to be something like umol-winXX-20141002.exe –force- opengl
.
Sometimes Oculus installation is problematic. Some of the issues we ran also into are described at https://www.reddit.com/r/oculus/comments/4caiwr/failed_install/. One was the error message Problems with installation: OVRLibrarian.exe exited with code 7 (failure)
. In many cases, to diagnose further, you can do the following:
OculusSetup.log
TEMP%
is on C:
, tooWill be added soon.