Opened 10 years ago

Closed 3 years ago

#166 closed enhancement (fixed)

Side view display for orthographic camera

Reported by: Tom Goddard Owned by: Greg Couch
Priority: minor Milestone:
Component: Graphics Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: chimera

Description

I added an orthographic projection camera ("camera ortho") and the side view panel needs to draw differently in this case (parallel bounding lines).

I've temporarily added some code to side view so it doesn't throw errors in ortho mode making it act as if field of view is 45 degrees. The ortho camera has no field of view, instead it has a field width in scene units.

Change History (4)

comment:1 by pett, 10 years ago

Component: User InterfaceGraphics

comment:2 by Greg Couch, 10 years ago

Status: newaccepted

Need to change method to scale scene when orthographic mode to just change the view's field size. Also need to change how size of sideview is computed when in orthographic mode.

comment:3 by Greg Couch, 10 years ago

Trying to move the eye in orthographic mode, now changes the field size, so the view is zoomed, but the eye doesn't move and the image in the sideview doesn't change.

comment:4 by Tom Goddard, 3 years ago

Resolution: fixed
Status: acceptedclosed

Fixed.

Side view scaling and bounding lines are now correct in orthographic camera mode.

Note: See TracTickets for help on using tickets.