BIC-MNI / Display

MNI Display project, converted from CVS
Other
8 stars 4 forks source link

Feature idea: alternative object drawing modes #47

Closed gdevenyi closed 8 years ago

gdevenyi commented 8 years ago

brain-view2 offered the following draw modes for objects

Wireframe overlay is useful for examining the underlying object structure

rdvincent commented 8 years ago

I'm not sure if it's the same, but Display does have a sort of wireframe mode ("3D Render" -> "Mode: Shaded" vs. "Mode: Wireframe"). Does that help?

gdevenyi commented 8 years ago

Ah yes, that's very close, that checks off "wireframe" on the list above.

The really great feature about "wireframe overlay" is that the wireframe is shown on top of the shaded model in a different colour. See attached. screenshot from 2016-02-05 11 08 33

rdvincent commented 8 years ago

@gdevenyi Check out the latest bicgl (rdv-new-opengl branch) and Display (develop branch). I extended the "3D Render / Mode:" command to include point and wireframe overlay mode. Let me know if this is useful.

gdevenyi commented 8 years ago

Looks nice? Thanks @rdvincent , is there a reason for the different lines being drawn in different dash types? That causes some anti-aliasing issues at low magnification

rdvincent commented 8 years ago

The dashes are actually something of a mystery. Probably an artefact of the rendering process somewhere deep in OpenGL. I am still playing with this so perhaps I'll find a way to prevent it.

gdevenyi commented 8 years ago

Alright, doesn't matter, my main use of this is to isolate specified vertices, and this works perfectly.

gdevenyi commented 8 years ago

Completely fixed in develop, thanks @rdvincent !