-
Notifications
You must be signed in to change notification settings - Fork 290
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
Feature/hatching #1664
base: master
Are you sure you want to change the base?
Feature/hatching #1664
Conversation
5c4e73a
to
91054bc
Compare
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<title>xeokit Example</title> | ||
<link href="../css/pageStyle.css" rel="stylesheet" /> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/js/all.min.js"></script> |
Check warning
Code scanning / CodeQL
Inclusion of functionality from an untrusted source Medium
91054bc
to
56dd443
Compare
1e838bd
to
806f495
Compare
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<title>xeokit Example</title> | ||
<link href="../css/pageStyle.css" rel="stylesheet"/> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/js/all.min.js"></script> |
Check warning
Code scanning / CodeQL
Inclusion of functionality from an untrusted source Medium
806f495
to
ba604a5
Compare
ba604a5
to
ad8e78d
Compare
@MichalDybizbanskiCreoox please have a look at the PR when you some time now. I believe I have implemented everything apart from calculating intersections with a plane instead of a box. @xeolabs do you think we can beta release this feature or maybe I should first implement calculation of the intersecting box based on the bounding box of the scene? |
Hi @MichalDybizbanskiCreoox!
I have implemented somewhat the basics of what we discussed for the hatching branch.
Right now, I am using materials that are already provided by xeokit and I'd suggest that we should keep it that way instead of developing hatching patterns. I am struggling to create different type of materials for each object in the scene model, the baseColor does not seem to be effecting the materials. However, I have confirmed that the sectionCapsPlugin is correctly reading those materials and adding those to section caps.
I would like to suggest that we create a new material type for solids or basic colors.
@xeolabs maybe you can guide me to correctly implement different materials for each object, I am sure I am doing something wrong here.