Thanks again to all for your advice.

I played around with your suggestions - probably not correctly due my not knowing DX very well - and based on the suggestions was able to get my network to work.

The solution I used was:

Instead of importing the points as 2-vector [(x,y) = location] and scalar [z = data], I imported my data points as a 3-vector [(x,y,z) = location]. I used a *.general file to import the point data and the *.general file looks:

---- begin *.general file --------------

file = filename
points = 45
format = text
interleaving = field
field = locations       (old file:  field = locations, data)
structure = 3-vector    (old file:  structure = 2-vector, scalar)
type = float               (old file:  type = float, float)

-----end *.general file ------------------

Gerry


At 04:10 PM 1/17/2003 -0500, you wrote:




I think one of the other responders was on the right track for your
problem. Your glypsh are ending up at z=0.  You need to make your glyphs
have positions of x y and z. There are probably several ways to do this,
but here's one. Take your x,y, data field and pass it to "Mark" and mark
the "positions" component. This makes your {x,y} values a data component.
Now pass that to the first input of Compute. Pass the unadulterated
{x,y,data} field to the second input of Compute. Then your Compute
expression should be [a.x, a.y, b]. This will take your x and y's from your
original 2D field along with your "data" and make a 3D field. Take the
output of Compute and pass it to the first input of Construct. This will
make a 3D set of positions for you to use for Glyph.  I forget, Construct
may not like the field as output from Compute; you may need to Extract the
"data" component first.

Good Luck!
Donna

Donna L. Gresh, Ph.D.
IBM T.J. Watson Research Center
(914) 945-2472
http://www.research.ibm.com/people/g/donnagresh
[EMAIL PROTECTED]






Geraldine Cheok <[EMAIL PROTECTED]> To: [email protected] Sent by: cc:
>
[EMAIL PROTECTED] Subject: Re: [opendx-users] Scaling Problem? son.ibm.com
>




01/17/2003 03:49 PM Please respond to opendx-users
>






Thanks for all the response.

I forgot to add in the original message that the Rubbersheet scale is set
to 1.0.  The regular grid is x, y with z as the data (all z's are
positive).  The points are read in with x, y as position and z as the data
value.  These points most likely do not coincide with any nodes of the
regular grid.

Gerry Cheok

At 02:43 PM 1/17/2003 -0500, you wrote:
>Rubbersheet makes up a reasonable scale. Open the module and set scale to
1.0.
>
>
>On Friday, January 17, 2003, at 02:03  PM, Geraldine Cheok wrote:
>
>>Hello,
>>
>>I am importing a regular grid into DX which goes to Rubbersheet.  At the
>>same time, I am importing a set of points (separate file) which goes to
>>Autoglyph.  I collect the output from both to Image.  In the image, the
>>points are supposed to lie on the surface but the image shows the points
>>below the surface.  Is there a different scaling for Rubbersheet and the
>>points and if so, how can I set the scaling so that both have the same
scale?
>>
>>Thanks for any advice in advance.
>>
>>Gerry Cheok
>>
>>
>>
>Chris Pelkie
>Vice President
>Conceptual Reality Presentations, Inc.
>30 West Meadow Drive
>Ithaca, NY 14850

Reply via email to