<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hey Marcus,<div><br></div><div>No problem -- I know you're busy. I'm basically just setting a LUT that the plot owns, and then passing an array of colors and using glColorPointer in an alternate DrawPointSprites routine to efficiently draw the points. I'm trying to keep the API as simple as possible, leaving the range setting, etc, in the LUT so it won't get as complicated as vtkMapper. I'll try extending it to the parallel coordinates plot since that's the other case I need, and then I'll try to push it to Gerrit for you to peruse.</div><div><br></div><div>I'm curious how you're integrating the color transfer function editor into your system. As long as you don't _have_ to use it to define a simple colormap for the scatter & pc plots, it sounds great. It would be nice to have a CTF editor outside of ParaView, and if it let's you also define the alpha map, that's very cool.</div><div><br></div><div>Good luck with your stuff and I'll talk to you later,</div><div>-Eric</div><div><br></div><div><br><div><div>On Nov 5, 2010, at 4:56 PM, Marcus D. Hanwell wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi Eric,</div><div><br></div><div>Apologies for not getting back to you, I am busy preparing for a trip and getting some things finished up. I have some work getting ready for inclusion with 2D histograms, and they are colored by scalars. I was thinking about applying the same technique to scatter/line plots, but I am certainly interested in the approach you are using.</div><div><br></div><div>We have the color transfer function editor, and the approach I am using will tie in with that. I am not 100% clear on what you are doing, but would love to take a look. have a screenshot of my own on another system showing a 2D histogram colored by a scalar field. Do you want to push it to Gerrit at some point?</div><div><br></div><div>I have a backlog to get through, but would certainly like to get this functionality into the charts.</div><div><br></div><div>Marcus</div><br><div><div>On Nov 5, 2010, at 4:42 PM, Eric E. Monson wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hey Marcus,<div><br></div><div>I'm making some progress with pretty basic functionality in the points plot for now. I'll probably try to get it working for parallel coordinates on Monday, and then run a patch by you to see if you think I'm on the right track.</div><div><br></div><div>Thanks,</div><div>-Eric</div><div><br></div><div><span><ScatterColorByArray_rev1.png></span></div><div><br><div><div>On Nov 4, 2010, at 2:12 PM, Eric E. Monson wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hey Marcus,<br><br>Back in August someone brought up the issue of coloring points in a plot (e.g. scatter) according to the values in another array. I've never done any OpenGL programming, but I think I see how it can be done efficiently. Before I start playing around with it, though, I wanted to check whether this is something you guys are already implementing for near-term deployment? (I'm going to need it soon for a project.)<br><br>Talk to you later,<br>-Eric<br><br>------------------------------------------------------<br>Eric E Monson<br>Duke Visualization Technology Group<br><font class="Apple-style-span"><font class="Apple-style-span" color="#144FAE"><br></font></font></div></blockquote></div></div></div></blockquote></div><br></div></blockquote></div><br></div></body></html>