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

Added simulation model #142

Merged
merged 2 commits into from
Apr 4, 2017
Merged

Added simulation model #142

merged 2 commits into from
Apr 4, 2017

Conversation

favreau
Copy link
Member

@favreau favreau commented Apr 3, 2017

The geometry is defined by the primary model, but the shading is computed according to a second, non-visible model that contains the simulation values. In the case of circuit rendering for examples, neurons are meshes, and compartment reports are cones and cylinders that fill inside of the neuron mesh. When an intersection is found at the surface of a mesh, a ray defined by the intersection point and the inverse of the normal to the surface is launched to hit the secondary model. When the secondary model is intersected, the simulation value is retrieved and used to shade the surface of the mesh.

@favreau favreau force-pushed the master branch 3 times, most recently from c78e51d to 77506a0 Compare April 4, 2017 08:23
@favreau favreau merged commit 13f17df into BlueBrain:master Apr 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants