Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to edit the visualization of the OpenWorm muscle model? #25

Closed
slarson opened this issue Feb 8, 2015 · 3 comments
Closed

How to edit the visualization of the OpenWorm muscle model? #25

slarson opened this issue Feb 8, 2015 · 3 comments
Labels

Comments

@slarson
Copy link
Member

slarson commented Feb 8, 2015

Looking at the 3D representation of the muscle model, it seems like it should be closer to the camera and probably rotated 90 degrees. How would a contributor go about making those changes to the model file? I can't find anything searching the docs for how to set up or modify the visualization of the neuron or the muscle.

@tarelli
Copy link
Member

tarelli commented Feb 8, 2015

When you use the buttons to navigate the camera a command is sent to the console, those same commands can be added to the script file.
See these lines from another example. Unfortunately the movement is still relative and absolute coordinates can't be yet specified, nor the position of the camera can be yet read from whatever you have on the screen. @gidili was working on this some time ago but API commands with relative increments is as far as he got.

@slarson
Copy link
Member Author

slarson commented Feb 8, 2015

Okay, I'm seeing the following issues relevant to this:

openworm/org.geppetto#349
openworm/org.geppetto#160

I'll comment further over there.

Another solution to this in the short term would be to change the coordinates in the LEMS file itself right? In theory if we changed the coordinates here, we could get it to show up closer to the camera?

https://github.com/openworm/muscle_model/blob/master/NeuroML2/SingleCompMuscle.cell.nml#L13

@pgleeson
Copy link
Member

pgleeson commented Feb 9, 2015

Might be better for now just to change the location of these cells in the network file here: https://github.com/openworm/muscle_model/blob/master/NeuroML2/NeuronMuscle.net.nml#L26

@tarelli tarelli closed this as completed Oct 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants