08-31-2010 01:50 PM
@Sousuke wrote:
My issue is applying the intensity map to the sphere. I can only find examples of 3D intensity plots are of a 2D surface with height, not a 3D object where there may be two different heights for a given x and y, and of those they have a color ramp mapped to z. It may be that I don't fully understand how the color matrix work. Does the color matrix allow you to set each point on a 3D object?
The lumpy sphere above is the first indication that I have seen that this is possible. The antenna mapping is an example of everything else I have seen 2D surface with height.
I imagine the answer is I am making this too hard on myself and missing something simple.
Sousuke
Quoting myself from above;
"
"There is nothing new under the sun." Eclesiastes
See this thread starting at post # 7 I offered a series of posts that serve as a worse case tutorial.
All of the code is included.
"
The example I posted (complete with data and comments) shows you that I am using XYZ and W to control the image. the quad (XYZW) tells us where in space the point is located (XYZ) and the W value is used to select the color.
If that still doe not clear things up, post image of your code AND your code and explain where things get weird.
Trying to help,
Ben
08-31-2010 01:54 PM
Basically, what I did to generate that antenna plot above was take the three dimensional data that I had, converted them to matrixes and added a 4th matrix (magnitude) for the color map using the "CWPlot3D==>Plot3DParametricSurface" invoke node.
You will have X,Y,Z (coordinates) in matrix format, and the W matrix is just the magnitudes. The W matrix is then mapped to colors that you can define. I've attached some details. I hope this helps...
- Sufu
09-02-2010 01:59 PM
Thanks, I got there in the end.
Sousuke