I've seen this before but don't think I reported it.  Attached is a simple
DX script that demonstrates the problem.

The images should look basically the same, and they do if you use Image
which renders every cell.  But use Display and the connection-dep colors
are skewed and likely some MBRs (memory bound reads) are occurring here
with the colors array.

Randy

-- 
Randall Hopper (mailto:[EMAIL PROTECTED])
Lockheed Martin Operation Support
EPA Scientific Visualization Center
US EPA N127-01; RTP, NC 27711
#
# OpenDX Script to demonstrate problem with Display and
#   connection-dependent colors.  Rather than emit an error or render the
#   field correctly, it seems to ignore the dependency and colors array
#   length and as a result render a skewed image with some pixels read 
#   by overrunning the colors memory block.
#
f  = Construct( {[0,0]}, {[0,1],[1,0]}, [256,256] );
m  = Mark( f, "positions" );
c  = Compute( "int($0.x/16)%2", m );
g1 = AutoGrayScale( c );
d1 = Display( g1 );
KeyIn( "These are the position-dependent colors..." );

p  = Post( c, "connections" );
g2 = AutoGrayScale( p );
d2 = Display( g2 );
KeyIn( "These are the connection-dependent colors..." );

Reply via email to