|
From: Douglas M. <dou...@gm...> - 2011-04-06 20:37:27
|
One item that just occurred to me makes this method extremely versatile. Let's say you have a surface. It should be trivial to calculate the gradient at any point in the surface by simply calculating the difference to each neighboring point. (I wonder if gnuplot could provide this functionality built in or through a clever trick so it can operate with dgrid3d). Based on the technique of normal maps, you can create a function that simply adds or subtracts light (i.e., each RGB channel in unison) based on the angle of the gradient. Or simply provide said normal map which has its own uses. This would permit a perfectly usable bump map in gnuplot, without having to invoke openGL or hellish programming hurdles for the developers. It cannot provide shadows, but I wonder if that's even a good idea anyways. What do you think? Douglas On Mon, Mar 28, 2011 at 8:42 PM, Daniel J Sebald <dan...@ie...>wrote: > On 03/28/2011 12:40 PM, Ethan A Merritt wrote: > > > What you're describing is more like a texture map. > > Input a NxM pixmap, distort/project it onto a surface defined > > by an explicit function or coarse sampling. > > Yes, like a relief map of some sort. > > Dan > > > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > |