That limitation is pretty integral since many modules touch the positions
component. The likely workaround with DX out of the box is to introduce
some coordinate system ransformation (i.e., warping the positions via
Mark->Compute->Unmark). These could include logarithmic or removing an
offset and rescaling. But thay may not work with the distribution of
positions. Perhaps another way is to maintain a "private" positions as
doubles, then offset/scale to floats for the portion being rendered and
Replace the positions.
|---------+---------------------------------------->
| | Joel Richardson |
| | <[EMAIL PROTECTED]> |
| | Sent by: |
| | [EMAIL PROTECTED]|
| | son.ibm.com |
| | |
| | |
| | 04/07/2004 11:21 AM |
| | Please respond to |
| | opendx-users |
| | |
|---------+---------------------------------------->
>--------------------------------------------------------------------------------------------------------------|
|
|
| To: [email protected]
|
| cc:
|
| Subject: [opendx-users] positions precision
|
|
|
>--------------------------------------------------------------------------------------------------------------|
Hi,
I am trying to visualize connection-dependent data on
a regular 2-d grid consisting of unit squares. The
"world" is very large, with only a tiny slice of it
actually rendered at any one time. Mostly, everything works
fine. However, far from the origin, the precision limit of
floating point representation for positions becomes
a problem: using Text or AutoGlyph to display the data, the
results are "clumped" due to the inability to distinguish those
positions. (Oddly, ShowConnections continues to draw the mesh
accurately...)
DX doesn't allow double-precision positions - at least it
complains if I try to convert them. I'm considering ways to
transform the data to keep under the precision limit, but
that's going to complicate things considerably. Does anyone
have any advice or workarounds? Thanks,
Joel
===============================================================
Joel Richardson, Ph.D. [EMAIL PROTECTED]
The Jackson Laboratory Phone: (207) 288-6435
600 Main Street Fax: (207) 288-6132
Bar Harbor, Maine 04609 URL:
www.informatics.jax.org
===============================================================