-
Notifications
You must be signed in to change notification settings - Fork 266
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
Setting mesh scalars from array #152
Comments
Great, Could you please submit a pull request so we can have a look? Best On Mon, May 19, 2014 at 4:03 AM, ivmartel [email protected] wrote:
|
I created a fiddle based on the cube example to demonstrate the problem. Interacting with the thresholds is difficult... It works better with the pull request I propose (#153). |
maskedCopy,maskedFill,maskedSelect
Hi,
When setting the mesh scalars from an array (as suggested on L15 of lesson 12), it seems its min/max are not recalculated. I'm doing it this way:
This does not affect the display but dat.gui is lost for a threshold setting as:
I added a min/max find loop in the
if (scalars ) {
(L1132) of renderer3D.js which solves the problem. Is this correct or am I missing something?The text was updated successfully, but these errors were encountered: