help > Creating Node and Edge images
Showing 1-1 of 1 posts
Dec 14, 2022 03:12 PM | Matt Fillingim - Mcgill
Creating Node and Edge images
I am trying to create a simple node and edge image by loading .node
and .edge files but my nodes are not appearing in the image. This
is my script (they only contain 2 nodes), and the .node file is
attached:
import gl
gl.resetdefaults()
gl.meshload('/Users/Patty/Desktop/Atlases/Surfice_Atlases/mni2fs/mni152_2009')
gl.nodeload('/Users/Patty/Desktop/NAc_mPFC.edge')
gl.shaderxray(0.3,0.3)
I also tried using the built-in scripting language from the documentation to manually add the nodes, but nothing happened when I submitted the code:
BEGIN
RESETDEFAULTS;
MESHLOAD('mni152_2009');
NODECREATE('', [10, 2], [12, 52], [-8, -2], [1, 1], [1, 1]);
SHADERXRAY(1, 0.3);
END.
Any idea why these two methods are not creating the node image? Any help is greatly appreciated.
Thanks,
Matt
import gl
gl.resetdefaults()
gl.meshload('/Users/Patty/Desktop/Atlases/Surfice_Atlases/mni2fs/mni152_2009')
gl.nodeload('/Users/Patty/Desktop/NAc_mPFC.edge')
gl.shaderxray(0.3,0.3)
I also tried using the built-in scripting language from the documentation to manually add the nodes, but nothing happened when I submitted the code:
BEGIN
RESETDEFAULTS;
MESHLOAD('mni152_2009');
NODECREATE('', [10, 2], [12, 52], [-8, -2], [1, 1], [1, 1]);
SHADERXRAY(1, 0.3);
END.
Any idea why these two methods are not creating the node image? Any help is greatly appreciated.
Thanks,
Matt