To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 5800
5799  |  5801
Subject: 
Re: Reiterate: How to make a squish matrix?
Newsgroups: 
lugnet.cad, lugnet.cad.ray
Date: 
Wed, 25 Apr 2001 18:10:07 GMT
Viewed: 
940 times
  
that shouldn't be too hard either.
just operate the matrix on the points alone.
if your cilinder has it's axle around the Y axle.
L is the length of the cilinder
and if it starts at 0 0 0
you could use
(1-y/L) 0 0
0 1 0
0 0 (1-y/L)

this would turn the top circle located at y=L into a point and the bottom
circle would remain the same.
if you can actually do this in the program of your desire i don't know but
if you create your own C program it is possible .

Koen

Sproaticus <jsproat@io.com> schreef in berichtnieuws
GCCwzv.LBt@lugnet.com...
In lugnet.cad, Steve Bliss writes:
Yes, but it's not what Sproat needs.
He needs to scale X and Z as a function of Y.  Something like:
x' = xy
Which is something transform matrices cannot do.

Yah.  Bummer.

Thanks, though, to Dan and Steve.

Cheers,
- jsproat



Message has 1 Reply:
  Re: Reiterate: How to make a squish matrix?
 
(...) Yes, but you cannot put (1-y/L) into a transformation matrix. It is a *function* that changes for each 3D point. The purpose of a tranformation matrix is to precalculate a matrix of *numbers* that gets multiplied by all the points of the (...) (24 years ago, 25-Apr-01, to lugnet.cad, lugnet.cad.ray)

Message is in Reply To:
  Re: Reiterate: How to make a squish matrix?
 
(...) Yah. Bummer. Thanks, though, to Dan and Steve. Cheers, - jsproat (24 years ago, 25-Apr-01, to lugnet.cad, lugnet.cad.ray)

8 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR