JintaoLee-Roger / cigvis

CIGVis is a tool for geophysical data visualization, which developed by Computational Interpretation Group (CIG)
MIT License
68 stars 13 forks source link

Faults on different planes achieve different colors #12

Open suporange opened 6 months ago

suporange commented 6 months ago

Hello Jintao Li,

I have a question I would like you to answer. When I superimpose faults on a three-dimensional seismic data volume slice, how can I make the faults on three different dimensional planes appear in different colors? Looking forward to your reply.

@JintaoLee-Roger

JintaoLee-Roger commented 6 months ago

Thank you for your interest! Unfortunately, implementing this feature would require a significant amount of work and isn’t feasible at the moment.

suporange commented 6 months ago

Thank you for your interest! Unfortunately, implementing this feature would require a significant amount of work and isn’t feasible at the moment.

Thank you for your reply. I have another question. Can I visualize and drag the mouse to rotate the entire three-dimensional data? How should I do it?

JintaoLee-Roger commented 6 months ago

Demo 02-overlay_fault can be only run in desktop environment (i.e., run py file instead of .ipynb). See: https://github.com/JintaoLee-Roger/cigvis/issues/2#issuecomment-1743996393

Besides, cigvis can also be run in Jupyter, although the API will be a little different. You can see: https://github.com/JintaoLee-Roger/cigvis/blob/main/examples/3Djupyter/f3.ipynb for an overview. For your case,

# remove this
nodes = cigvis.create_slices(xxx)
nodes = cigvis.add_mask(nodes, xxx) 

# chage to
nodes = cigvis.create_overlay(seis, fault, pos=xxxxx)
# this code can be also run in desktop environment with a warning
JintaoLee-Roger commented 6 months ago

Thank you for your interest! Unfortunately, implementing this feature would require a significant amount of work and isn’t feasible at the moment.

Thank you for your reply. I have another question. Can I visualize and drag the mouse to rotate the entire three-dimensional data? How should I do it?

See this: https://github.com/JintaoLee-Roger/cigvis?tab=readme-ov-file#camera-and-dragging