-
-
Notifications
You must be signed in to change notification settings - Fork 508
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
Primitive multicellular matrix attempt #5673
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left some tips regarding prints
{ | ||
if (multicellularPositions != null) | ||
return false; | ||
GD.Print("olelo"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one keeps on printing meaning dataSource.MulticellularPositions is null, for some reason
GenerateMembranePoints(hexPositions, hexCount, membraneType); | ||
GenerateMembranePoints(hexPositions, hexCount, membraneType, cellPositions, thisCellPosition); | ||
|
||
GD.Print(cellPositions == null); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here it prints false, thus cellPositions is not null
{ | ||
CacheableDataExtensions.OnCacheHashCollision<MembranePointData>(hash); | ||
cachedMembrane = null; | ||
|
||
GD.Print("uhm"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And this one keeps on printing, like, constantly. Membrane keeps on re-generating
@@ -479,6 +484,30 @@ private void GenerateMembranePoints(Vector2[] hexPositions, int hexCount, Membra | |||
startingBuffer[i] = closestOrganelle + movement; | |||
} | |||
|
|||
// Multicellular matrix |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this approach actually work or (in terms of making a good visual end result)? This is not how I would try to approach the intercellular matrix graphics at all (I'd make a separate mesh or a set of meshes to connect the cells), so I don't really want to spend a bunch of time trying to help debug this approach if it doesn't end up working in the end.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't really tell you if it looks good as I can't get it to work in the first place, that's why I need help, so it's up to you. I don't really like the idea of some filler meshes inbetween cells as it isn't quite clear what such thing is (cell? connective tissue?) but if you really want that, I'm ready to scrap this solution
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not ready to make a decisions on this, but my guess is that stretching the individual membranes will be a very hard to thing to get right. Though we don't know for certain until both approaches are tried as to what they can achieve. Sadly though I don't think it is good use of my limited time right now to try to get the code in this PR working, so that's up to you for now. Or if some other programmer is willing to help, that could be another way this PR gets working.
Brief Description of What This PR Does
This PR does some stuff...
Related Issues
Progress Checklist
Note: before starting this checklist the PR should be marked as non-draft.
break existing features:
https://wiki.revolutionarygamesstudio.com/wiki/Testing_Checklist
(this is important as to not waste the time of Thrive team
members reviewing this PR)
styleguide.
Before merging all CI jobs should finish on this PR without errors, if
there are automatically detected style issues they should be fixed by
the PR author. Merging must follow our
styleguide.