 | | Re: mouse model manipulation
|
|
(...) Works great. By the way, is there a way to zoom in on a specific portion of a model? Thanks again! Chris (24 years ago, 13-Jun-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: mouse model manipulation
|
|
(...) It works great! Mouse rotation works as it ought to now. Definitely a big improvement. I'm glad you were able to deduce what the source of the problem was from all the symptoms we were reporting. Thanks, Jim (24 years ago, 13-Jun-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: mouse model manipulation
|
|
The update rotates much more predictably. Here are some movies of the 2 different version. In the old version, a slight mouse movement flips the model quite a bit. In the new version, the model doesn't move so much. Both of them show the pointer. I (...) (24 years ago, 13-Jun-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: mouse model manipulation
|
|
(...) What the heck, since it's a one liner I hopped onto the sourceforge compile farm and did it myself. For good luck I also added the 3 line ATI perspective mode fix. Grab the new executable at: (URL) it works, I'll update the web page to serve (...) (24 years ago, 12-Jun-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: mouse model manipulation
|
|
(...) Ok based on this and the observation that the first tiny rotation seems to be in the right direction I'm almost positive it's because the glutWarpPointer function doesn't work. I don't start warping the pointer until you've moved 10 pixels. (...) (24 years ago, 12-Jun-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: mouse model manipulation
|
|
(...) 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, (...) (24 years ago, 12-Jun-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: mouse model manipulation
|
|
(...) What am I saying. At 50% zoom, 100 pixels will rotate it by x*2 degrees. So basically, the same "perspective" drag distance will rotate it the same. Don't know if this is a good idea or not. James (24 years ago, 11-Jun-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: mouse model manipulation
|
|
(...) I like the idea of absolute based on the zoom. So, at 100% zoom, 100 pixels will rotate it x degrees. At 50% zoom, 100 pixels will rotate it by x/2 degrees. Just my idea. I don't know if it would actually be nicer or not. James (24 years ago, 11-Jun-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: mouse model manipulation
|
|
(...) The cursor does not disappear when the you drag the mouse with button pressed. However, neither does it "warp" back to the center of the window when it leaves the window - the cursor just moves as expected. (Although since I don't know OpenGL (...) (24 years ago, 11-Jun-02, to lugnet.cad.dev.mac)
|
| |
 | | 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 (...) (24 years ago, 11-Jun-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: mouse model manipulation
|
|
(...) Just clicking on the model in preparation for mouse rotation (LDGLite mode) gives pdn(314, 219), -> (-6.00, 21.00, -4000.00) platform_step(-1, 2, 0) platform_step(-1, 2, 0) platform_step(-1, 2, 0) platform_step(-1, 2, 0) platform_step(0, 1, 1) (...) (24 years ago, 11-Jun-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: mouse model manipulation
|
|
(...) snip (...) Sorry Jim, I have to disagree. Mouse rotation is not usable on my PowerBook. The model almost always rotates in one direction whether the I start LDGLedit or LDGLite with the j or J option. But for building, I have found that the (...) (24 years ago, 11-Jun-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: Some bugs with LDGLite
|
|
(...) Did you get my last post about how all of the keys that do anything also casue LDGLite to step the model? From now on, should I say LDGLEdit for edit mode? Should I say LDGLDraw (a bit redundant) or LDGLIte for the viewing mode? (...) For (...) (24 years ago, 11-Jun-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: mouse model manipulation
|
|
(...) Do you mean cursor doesn't disappear when you drag the mouse with the button pressed? It's supposed to. That way you can't see it warp back to the center of the window when it strays too far. Or does the cursor reappear when you leave the (...) (24 years ago, 11-Jun-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: mouse model manipulation
|
|
(...) Well, I looked at the pdn and pan values, but they never seemed to get crazy or anything (although I'm not familiar with the inner workings of OpenGL so I'm not entirely sure what constitutes fishy). Their values stay relatively close (...) (24 years ago, 11-Jun-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: Could someone run a perspective mode test on ldglite?
|
|
(...) That sounds good to me. If anyone else has any preferences on this issue (keyboard camera controls) I hope they speak up, I wouldn't want to push for something that was contrary to someone else's needs. But otherwise, sounds like a good (...) (24 years ago, 10-Jun-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: Could someone run a perspective mode test on ldglite?
|
|
(...) Hmmm, well, I don't believe I've ever received a single comment on the "camera" moving keys before. Plus I've never been quite happy with the way they affect the opengl view matrix (but not the ldraw matrix). So I suppose I could just redefine (...) (24 years ago, 10-Jun-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: mouse model manipulation
|
|
(...) Maybe we can get to the bottom of this one. Try the debugging command line switch -g and see what it prints out when you do a mouse spin. It should spew all sorts of stuff to the console window. Look for pdn(x,y) and pan(x,y) to see if there's (...) (24 years ago, 10-Jun-02, to lugnet.cad.dev.mac)
|
| |
 | | mouse model manipulation
|
|
More about mouse spinning - as Chris mentioned in the post I noted before, when rotating the model with the mouse it often doesn't seem to rotate appropriately for the direction of mouse movement -- the model will rotate about a given axis as if it (...) (24 years ago, 10-Jun-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: Could someone run a perspective mode test on ldglite?
|
|
(...) Here is the post where the mouse issue was originally pointed out: (URL) (at the bottom of the post). It doesn't matter what mode the program is in (perspective or orthographic), mouse rotation is still off somewhat. Basically the problem is (...) (24 years ago, 10-Jun-02, to lugnet.cad.dev.mac)
|