To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 7307
7306  |  7308
Subject: 
Re: Could someone run a perspective mode test on ldglite?
Newsgroups: 
lugnet.cad.dev.mac, lugnet.cad.dev
Date: 
Mon, 10 Jun 2002 14:22:19 GMT
Viewed: 
75 times
  
In lugnet.cad.dev.mac, Jim DeVona writes:
Hello, all! My name is Jim and it just so happens that the web site you've
been discussing in regards to the rendering problems is mine. I'm new to
LUGNET, so imagine my surprise when I first start reading its Mac section
and see people discussing the pictures I've posted of my models!

Hi Jim, the internet is a bit smaller than you thought, eh?  Imagine
my surprise to find a website full of pictures from someone (besides
myself) who actually uses ldglite?

I know this isn't the exact best place to reply to this issue, but I just
thought I'd re-emphasize what someone said elsewhere in this thread about >mouse rotation: it's really annoying the way it 'works' now! When I try
to move my models around to take pictures of them it is really difficult
(more like random) getting nice perspectives.

I must've missed that elsewhere part of the thread.  Oh well, I'll address
it here.  Is this only a problem in perspective mode (-J), or are you
also having a problem spinning the model in orthographic mode?  I know
there's a bug calculating the x and y movements for the spin in perspective
mode that causes it to spin too much.  I guess it's time to figure that
one out and fix it...

Hmm... are there keyboard commands to rotate the the view (rather than
just rotating the entire model itself)?  Perhaps there are and I've
just overlooked them.

There are, but they need work.  I'd love to make ldglite into a better
"cheesy scene modeler", but I could use some suggestions on how to do
it.  Right now the mouse spins the model and the arrow keys move the
"camera".  From the readme.txt file:

  Left Mouse Drag will rotate the model.
  Shift Mouse Drag rotates the model in solid bounding box mode.
  Ctrl Mouse Drag rotates the model in solid studless mode.
  Arrow keys turn the viewpoint camera 5 degrees left, right, up, down.
  Alt Arrow keys roll the camera left, right, up, down.
  Ctrl Arrow keys move the camera left, right, up, down.
  PGUP and PGDN move the camera in and out (only visible in perspective mode)

I suspect the ctrl, shift, and alt modifiers don't work right on the
Mac right now.  I also added some fn keys to spin the model about
the various axis by 1 and 5 degrees but didn't document it because I'd
like to come up with a more consistent interface.  Here's the code
if you want to try it (no guarentees on the Mac though):

  case GLUT_KEY_HOME:
    rotate_about(0.0, 1.0, 0.0, 45.0 );
    break;
  case GLUT_KEY_END:
    rotate_about(1.0, 0.0, 0.0, 45.0 );
    break;
  case GLUT_KEY_F1:
    rotate_about(1.0, 0.0, 0.0, 5.0 );
    break;
  case GLUT_KEY_F2:
    rotate_about(0.0, 1.0, 0.0, 5.0 );
    break;
  case GLUT_KEY_F3:
    rotate_about(1.0, 0.0, 0.0, -5.0 );
    break;
  case GLUT_KEY_F4:
    rotate_about(0.0, 1.0, 0.0, -5.0 );
    break;
  case GLUT_KEY_F5:
    rotate_about(1.0, 0.0, 0.0, 1.0 );
    break;
  case GLUT_KEY_F6:
    rotate_about(1.0, 0.0, 0.0, -1.0 );
    break;

What I want to do is come up with a simple yet consistent interface
for manipulating the model and the scene using mostly the keyboard.
Some things to consider are the command line variables for perspective
mode camera manipulation that have no equivalent keybord implementation
yet.  Also many of the keypad keys take on new meanings for moving
individual pieces in LEDIT emulation mode.  I'd like to keep the key
bindings the same in all modes if possible.

Any suggestions?

Don



Message has 1 Reply:
  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 (...) (22 years ago, 10-Jun-02, to lugnet.cad.dev.mac)

Message is in Reply To:
  Re: Could someone run a perspective mode test on ldglite?
 
(...) Hello, all! My name is Jim and it just so happens that the web site you've been discussing in regards to the rendering problems is mine. I'm new to LUGNET, so imagine my surprise when I first start reading its Mac section and see people (...) (22 years ago, 9-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

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