Subject:
|
Re: mouse model manipulation
|
Newsgroups:
|
lugnet.cad.dev.mac
|
Date:
|
Wed, 12 Jun 2002 02:33:35 GMT
|
Viewed:
|
2297 times
|
| |
| |
In article <GxJnHF.os@lugnet.com>,
"Don Heyse" <dheyse@hotmail.spam.go.away.com> wrote:
> In lugnet.cad.dev.mac, Christopher Masi writes:
> > > > rotating the model with the mouse it often doesn't seem to rotate
> > > > appropriately
>
> > Just clicking on the model in preparation for mouse rotation (LDGLite
> > mode) gives
>
> [snip]
>
> > comment Profile: 42 cached, 54 uncached, 60222 hits
>
> Ah ha, that comment comes from the ldlite parser. Try the l3 parser
> by renaming the executable to l3glite or by passing -l3 on the command
> line. It's much faster for interactive stuff. However, LEDIT mode
> should already be using the l3 parser.
Wow, the l3 parser is much faster even when comments are being written
to the console, but the behavior is the same. The model is rotating on
the Lego rotisserie always in the same direction.
Here is the output
pdn(324, 175), -> (4.00, 65.00, -4000.00)
pan(323, 177), -> (3.00, 63.00, -4000.00)
hysteresis = 1.00, 2.00
pan(323, 178), -> (3.00, 62.00, -4000.00)
hysteresis = 1.00, 3.00
pan(323, 179), -> (3.00, 61.00, -4000.00)
hysteresis = 1.00, 4.00
pan(323, 180), -> (3.00, 60.00, -4000.00)
ROTATING about(5.00, 1.00) by angle 1.43
Transform old:
Translation: 0 0 0
Matrix: 0.810322 -0.00628542 0.585945
-0.262677 0.889951 0.372811
-0.523808 -0.456013 0.719497
Transform current:
Translation: 0 0 0
Matrix: 0.807728 -0.0084674 0.589488
-0.24971 0.900861 0.355098
-0.534055 -0.434025 0.725538
DrawModel mini.dat
SetViewMatrix(0.81 -0.01 0.59 -0.25 0.90 0.36 -0.53 -0.43 0.73);
platform_step(0, 0, 1)
platform_step(1, 0, 1)
platform_step(2, 0, 1)
platform_step(3, 0, 1)
platform_step(4, 0, 1)
platform_step(5, 0, 1)
platform_step(6, 0, 1)
platform_step(7, 0, 0)
Done
DrawModel mini.dat
SetViewMatrix(0.81 -0.01 0.59 -0.25 0.90 0.36 -0.53 -0.43 0.73);
platform_step(0, 0, 1)
platform_step(1, 0, 1)
platform_step(2, 0, 1)
platform_step(3, 0, 1)
platform_step(4, 0, 1)
platform_step(5, 0, 1)
platform_step(6, 0, 1)
platform_step(7, 0, 0)
Done
pan(322, 180), -> (2.00, 60.00, -4000.00)
ROTATING about(-60.00, -2.00) by angle 17.17
Transform old:
Translation: 0 0 0
Matrix: 0.807728 -0.0084674 0.589488
-0.24971 0.900861 0.355098
-0.534055 -0.434025 0.725538
Transform current:
Translation: 0 0 0
Matrix: 0.81257 -0.00286236 0.58285
-0.394951 0.73271 0.554211
-0.428648 -0.680535 0.594249
DrawModel mini.dat
SetViewMatrix(0.81 -0.00 0.58 -0.39 0.73 0.55 -0.43 -0.68 0.59);
platform_step(0, 0, 1)
platform_step(1, 0, 1)
platform_step(2, 0, 1)
platform_step(3, 0, 1)
platform_step(4, 0, 1)
platform_step(5, 0, 1)
platform_step(6, 0, 1)
platform_step(7, 0, 0)
Done
DrawModel mini.dat
SetViewMatrix(0.81 -0.00 0.58 -0.39 0.73 0.55 -0.43 -0.68 0.59);
platform_step(0, 0, 1)
platform_step(1, 0, 1)
platform_step(2, 0, 1)
platform_step(3, 0, 1)
platform_step(4, 0, 1)
platform_step(5, 0, 1)
platform_step(6, 0, 1)
platform_step(7, 0, 0)
Done
pan(322, 182), -> (2.00, 58.00, -4000.00)
ROTATING about(-58.00, -2.00) by angle 16.60
Transform old:
Translation: 0 0 0
Matrix: 0.81257 -0.00286236 0.58285
-0.394951 0.73271 0.554211
-0.428648 -0.680535 0.594249
Transform current:
Translation: 0 0 0
Matrix: 0.816182 0.00488827 0.577767
-0.499717 0.507941 0.701625
-0.290043 -0.861377 0.417016
DrawModel mini.dat
SetViewMatrix(0.82 0.00 0.58 -0.50 0.51 0.70 -0.29 -0.86 0.42);
platform_step(0, 0, 1)
platform_step(1, 0, 1)
platform_step(2, 0, 1)
platform_step(3, 0, 1)
platform_step(4, 0, 1)
platform_step(5, 0, 1)
platform_step(6, 0, 1)
platform_step(7, 0, 0)
Done
DrawModel mini.dat
SetViewMatrix(0.82 0.00 0.58 -0.50 0.51 0.70 -0.29 -0.86 0.42);
platform_step(0, 0, 1)
platform_step(1, 0, 1)
platform_step(2, 0, 1)
platform_step(3, 0, 1)
platform_step(4, 0, 1)
platform_step(5, 0, 1)
platform_step(6, 0, 1)
platform_step(7, 0, 0)
Done
pan(322, 183), -> (2.00, 57.00, -4000.00)
ROTATING about(-57.00, -2.00) by angle 16.31
Transform old:
Translation: 0 0 0
Matrix: 0.816182 0.00488827 0.577767
-0.499717 0.507941 0.701625
-0.290043 -0.861377 0.417016
Transform current:
Translation: 0 0 0
Matrix: 0.818294 0.014088 0.574621
-0.559887 0.245748 0.791285
-0.130065 -0.969231 0.208982
DrawModel mini.dat
SetViewMatrix(0.82 0.01 0.57 -0.56 0.25 0.79 -0.13 -0.97 0.21);
platform_step(0, 0, 1)
platform_step(1, 0, 1)
platform_step(2, 0, 1)
platform_step(3, 0, 1)
platform_step(4, 0, 1)
platform_step(5, 0, 1)
platform_step(6, 0, 1)
platform_step(7, 0, 0)
Done
DrawModel mini.dat
SetViewMatrix(0.82 0.01 0.57 -0.56 0.25 0.79 -0.13 -0.97 0.21);
platform_step(0, 0, 1)
platform_step(1, 0, 1)
platform_step(2, 0, 1)
platform_step(3, 0, 1)
platform_step(4, 0, 1)
platform_step(5, 0, 1)
platform_step(6, 0, 1)
platform_step(7, 0, 0)
Done
pan(322, 184), -> (2.00, 56.00, -4000.00)
ROTATING about(-56.00, -2.00) by angle 16.03
Transform old:
Translation: 0 0 0
Matrix: 0.818294 0.014088 0.574621
-0.559887 0.245748 0.791285
-0.130065 -0.969231 0.208982
Transform current:
Translation: 0 0 0
Matrix: 0.818759 0.0239783 0.57363
-0.572906 -0.0311804 0.819027
0.0375252 -0.999226 -0.0117922
DrawModel mini.dat
SetViewMatrix(0.82 0.02 0.57 -0.57 -0.03 0.82 0.04 -1.00 -0.01);
platform_step(0, 0, 1)
platform_step(1, 0, 1)
platform_step(2, 0, 1)
platform_step(3, 0, 1)
platform_step(4, 0, 1)
platform_step(5, 0, 1)
platform_step(6, 0, 1)
platform_step(7, 0, 0)
Done
DrawModel mini.dat
SetViewMatrix(0.82 0.02 0.57 -0.57 -0.03 0.82 0.04 -1.00 -0.01);
platform_step(0, 0, 1)
platform_step(1, 0, 1)
platform_step(2, 0, 1)
platform_step(3, 0, 1)
platform_step(4, 0, 1)
platform_step(5, 0, 1)
platform_step(6, 0, 1)
platform_step(7, 0, 0)
Done
pan(322, 185), -> (2.00, 55.00, -4000.00)
ROTATING about(-55.00, -2.00) by angle 15.74
Transform old:
Translation: 0 0 0
Matrix: 0.818759 0.0239783 0.57363
-0.572906 -0.0311804 0.819027
0.0375252 -0.999226 -0.0117922
Transform current:
Translation: 0 0 0
Matrix: 0.817568 0.0337853 0.574834
-0.540163 -0.300872 0.785938
0.199505 -0.953066 -0.227734
DrawModel mini.dat
SetViewMatrix(0.82 0.03 0.57 -0.54 -0.30 0.79 0.20 -0.95 -0.23);
platform_step(0, 0, 1)
platform_step(1, 0, 1)
platform_step(2, 0, 1)
platform_step(3, 0, 1)
platform_step(4, 0, 1)
platform_step(5, 0, 1)
platform_step(6, 0, 1)
platform_step(7, 0, 0)
Done
DrawModel mini.dat
SetViewMatrix(0.82 0.03 0.57 -0.54 -0.30 0.79 0.20 -0.95 -0.23);
platform_step(0, 0, 1)
platform_step(1, 0, 1)
platform_step(2, 0, 1)
platform_step(3, 0, 1)
platform_step(4, 0, 1)
platform_step(5, 0, 1)
platform_step(6, 0, 1)
platform_step(7, 0, 0)
Done
pan(322, 186), -> (2.00, 54.00, -4000.00)
ROTATING about(-54.00, -2.00) by angle 15.45
Transform old:
Translation: 0 0 0
Matrix: 0.817568 0.0337853 0.574834
-0.540163 -0.300872 0.785938
0.199505 -0.953066 -0.227734
Transform current:
Translation: 0 0 0
Matrix: 0.814837 0.0427812 0.578102
-0.466437 -0.54376 0.697682
0.344198 -0.838149 -0.423122
DrawModel mini.dat
SetViewMatrix(0.81 0.04 0.58 -0.47 -0.54 0.70 0.34 -0.84 -0.42);
platform_step(0, 0, 1)
platform_step(1, 0, 1)
platform_step(2, 0, 1)
platform_step(3, 0, 1)
platform_step(4, 0, 1)
platform_step(5, 0, 1)
platform_step(6, 0, 1)
platform_step(7, 0, 0)
Done
DrawModel mini.dat
SetViewMatrix(0.81 0.04 0.58 -0.47 -0.54 0.70 0.34 -0.84 -0.42);
platform_step(0, 0, 1)
platform_step(1, 0, 1)
platform_step(2, 0, 1)
platform_step(3, 0, 1)
platform_step(4, 0, 1)
platform_step(5, 0, 1)
platform_step(6, 0, 1)
platform_step(7, 0, 0)
Done
pan(322, 187), -> (2.00, 53.00, -4000.00)
ROTATING about(-53.00, -2.00) by angle 15.17
Transform old:
Translation: 0 0 0
Matrix: 0.814837 0.0427812 0.578102
-0.466437 -0.54376 0.697682
0.344198 -0.838149 -0.423122
Transform current:
Translation: 0 0 0
Matrix: 0.810788 0.0503354 0.583165
-0.359136 -0.743947 0.563527
0.462211 -0.666339 -0.585108
DrawModel mini.dat
SetViewMatrix(0.81 0.05 0.58 -0.36 -0.74 0.56 0.46 -0.67 -0.59);
platform_step(0, 0, 1)
platform_step(1, 0, 1)
platform_step(2, 0, 1)
platform_step(3, 0, 1)
platform_step(4, 0, 1)
platform_step(5, 0, 1)
platform_step(6, 0, 1)
platform_step(7, 0, 0)
Done
DrawModel mini.dat
SetViewMatrix(0.81 0.05 0.58 -0.36 -0.74 0.56 0.46 -0.67 -0.59);
platform_step(0, 0, 1)
platform_step(1, 0, 1)
platform_step(2, 0, 1)
platform_step(3, 0, 1)
platform_step(4, 0, 1)
platform_step(5, 0, 1)
platform_step(6, 0, 1)
platform_step(7, 0, 0)
Done
pup(322, 187), -> (2.00, 53.00, -4000.00)
rotating about(-53.00, -2.00) by angle 15.17
Transform old:
Translation: 0 0 0
Matrix: 0.810788 0.0503354 0.583165
-0.359136 -0.743947 0.563527
0.462211 -0.666339 -0.585108
Transform current:
Translation: 0 0 0
Matrix: 0.805716 0.0559311 0.589649
-0.224715 -0.892234 0.391689
0.548015 -0.448095 -0.70632
DrawModel mini.dat
SetViewMatrix(0.81 0.06 0.59 -0.22 -0.89 0.39 0.55 -0.45 -0.71);
platform_step(0, 0, 1)
platform_step(1, 0, 1)
platform_step(2, 0, 1)
platform_step(3, 0, 1)
platform_step(4, 0, 1)
platform_step(5, 0, 1)
platform_step(6, 0, 1)
platform_step(7, 0, 0)
Done
DrawModel mini.dat
SetViewMatrix(0.81 0.06 0.59 -0.22 -0.89 0.39 0.55 -0.45 -0.71);
platform_step(0, 0, 1)
platform_step(1, 0, 1)
platform_step(2, 0, 1)
platform_step(3, 0, 1)
platform_step(4, 0, 1)
platform_step(5, 0, 1)
platform_step(6, 0, 1)
platform_step(7, 0, 0)
Done
> The "zoom" is a switch from the default ldraw 3D view matrix to a
> modeling matrix that can rotate. Someday I'll fix this so the
> ldraw matrix is treated as a projection matrix instead of a modeling
> matrix, but until then it'll do that little lurch when you start
> rotating from the ldraw 3D view matrix.
OK, I can accept that. Now that I know that the model will always zoom a
bit, I can deal with it.
Thanks,
Chris
--
remove *nogarbageplease*. to e-mail me
Do you see these anomalies in OS X too?
http://homepage.mac.com/cjmasi/osx-issues/os_x_issues.htm
|
|
Message is in Reply To:
| | Re: mouse model manipulation
|
| (...) [snip] (...) Ah ha, that comment comes from the ldlite parser. Try the l3 parser by renaming the executable to l3glite or by passing -l3 on the command line. It's much faster for interactive stuff. However, LEDIT mode should already be using (...) (22 years ago, 11-Jun-02, to lugnet.cad.dev.mac)
|
66 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|