Thread View: comp.graphics.explorer
3 messages
3 total messages
Started by Dick Jackson
Thu, 20 Aug 1992 06:24
HELP: Displace 1D Lat -> 2D?
Author: Dick Jackson
Date: Thu, 20 Aug 1992 06:24
Date: Thu, 20 Aug 1992 06:24
31 lines
1780 bytes
1780 bytes
Hello, seasoned Explorers:
I may be missing something obvious, but here's what I'm trying to do:
First, the rationale:
It seems easy enough to turn a 2D Lattice of values into a 3D surface,
by putting the same Lattice into the Function and Displacement of a
DisplaceLat module. (fine example: korea.z)
I have a 1D Lattice of values (intensity values of a spectrum), which
I want to see as a curve in space. The Help for DisplaceLat would
make you think that it would have the same kind of effect as above,
pushing the line into the 2nd dimension.
To try this, I put two GenLats with 2D outputs into DisplaceLat ->
LatToGeom -> Render, and I got some great 3D surfaces (it helps to
put the Function lattice straight to Render too!). But changing
the GenLats to 1D (with DataVec Length=1) gives me a straight line!
(DataVec Length of 2 can push the points NON-orthogonally into one
plane, but I want orthogonal displacement by scalar values!)
Help! And thanks in advance!
-Dick
-Dick
Dick Jackson
Institute for Biodiagnostics National Research Council Canada
Winnipeg, Manitoba jackson@qm.ibd.nrc.ca
Any opinions: Mine alone!
Re: HELP: Displace 1D Lat -> 2D?
Author: Explorer Conscience
Date: Thu, 20 Aug 1992 23:36
Date: Thu, 20 Aug 1992 23:36
37 lines
2030 bytes
2030 bytes
In article <1992Aug20.122428.1193@ciit85.ciit.nrc.ca>, Dick Jackson <Dick_Jackson@qm.ibd.nrc.ca> writes: |> Newsgroups: comp.graphics.explorer |> Subject: HELP: Displace 1D Lat -> 2D? |> From: Dick Jackson <Dick_Jackson@qm.ibd.nrc.ca> ... |> |> I have a 1D Lattice of values (intensity values of a spectrum), which |> I want to see as a curve in space. The Help for DisplaceLat would |> make you think that it would have the same kind of effect as above, |> pushing the line into the 2nd dimension. |> There is a module called Mixer that will allow you to constuct the coordinate portion of a lattice from the data/coordinate of an incoming lattice. You would do something like: coord 0 -> coord 0 ! connect the incoming 1st coord array to X coords data 0 -> coord 1 ! connect the incoming 1st data array to Y coords none -> coord 2 ! don;t want any Z coords data -> data ! connect all the incoming data to the output data This module was on the SIGGRAPH Explorer CD for all attendees of the users group. If these aren't on the ftp sites yet, I would suspect they will be soon. |> |> Dick Jackson |> Institute for Biodiagnostics National Research Council Canada |> Winnipeg, Manitoba jackson@qm.ibd.nrc.ca |> Any opinions: Mine alone! -- Gary Griffin I just hope I'm still dreamin' gary@sgi.com 'cause if this is for real I'm gonna get very depressed Think WORLDWIDE Howard T Duck
Re: HELP: Displace 1D Lat -> 2D?
Author: Robert Skinner
Date: Thu, 03 Sep 1992 23:58
Date: Thu, 03 Sep 1992 23:58
48 lines
2616 bytes
2616 bytes
In article <1992Aug20.122428.1193@ciit85.ciit.nrc.ca>, Dick Jackson <Dick_Jackson@qm.ibd.nrc.ca> writes: |> Hello, seasoned Explorers: |> |> I may be missing something obvious, but here's what I'm trying to do: |> |> First, the rationale: |> It seems easy enough to turn a 2D Lattice of values into a 3D surface, |> by putting the same Lattice into the Function and Displacement of a |> DisplaceLat module. (fine example: korea.z) |> |> I have a 1D Lattice of values (intensity values of a spectrum), which |> I want to see as a curve in space. The Help for DisplaceLat would |> make you think that it would have the same kind of effect as above, |> pushing the line into the 2nd dimension. |> |> To try this, I put two GenLats with 2D outputs into DisplaceLat -> |> LatToGeom -> Render, and I got some great 3D surfaces (it helps to |> put the Function lattice straight to Render too!). But changing |> the GenLats to 1D (with DataVec Length=1) gives me a straight line! |> (DataVec Length of 2 can push the points NON-orthogonally into one |> plane, but I want orthogonal displacement by scalar values!) |> |> Help! And thanks in advance! |> You are right. This is one of the things I hope to fix soon. DisplaceLat tries hard to one of two functions, depending on its input data. As a result it (me, really) gets confused, doesn't do everything right (as in your example), or keeps you from doing something useful. DisplaceLat should be replaced with 2 modules: HeightFieldLat (change coords from N-D to N+M-D -- what you want), and OffsetLat (displace each point non-orthogonally). I hope to write those modules soon, but I can't make any promises about when I acutally can. I can send you the source to DisplaceLat with a pointer about where I think you can patch the problem. If so, reply by email. -- Robert Skinner robert@sgi.com "The sendmail configuration file is one of those files that looks like someone beat their head on the keyboard. After working with it... I can see why!" -- Harry Skelton (harry@usrgrp)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads