Results 1 to 2 of 2

Thread: 3d transform gizmo without perspective distortion

  1. #1
    Junior Member Newbie
    Join Date
    Aug 2006
    Location
    Leiden
    Posts
    5

    3d transform gizmo without perspective distortion

    Hi,

    I've recently coded a transform gizmo to my simple editor. All is working great, rotating scaling and translating works pretty well.
    However the visualization of the gizmo, mainly the rotate one is still of a concern to me. If it is close to the center of the viewport,
    all looks fine, however the more the gizmo moves towards one of the edges of the screen, the more it become distorted.
    Lowering the FOV, does reduce the problem of course, as does switching to orthographic projection. But this is not entirely what I want.
    I tried several differnent modelling packages, and they doesn't seem to have this problem e.g. the 'arcball circles' don't get distorded en
    resemble still a 'sphere' while maintaining a correct perspective look.
    Can someone give me some tips on how to do this?

    Regards,

    Paul

  2. #2
    Senior Member OpenGL Lord
    Join Date
    Mar 2015
    Posts
    6,676
    Well, it's kinda hard to answer a question when you don't explain what it is that's wrong with the solutions you have.

    The "correct perspective look" requires "distortion". A sphere doesn't look like a sphere when it's at the edge of your view. It will look ovate.

    Narrowing the FOV, and moving the object further from the camera, will reduce the distortion. But you never said what was wrong with doing this.

Similar Threads

  1. Gizmo Library for OpenGL
    By rathnavels in forum OpenGL: Advanced Coding
    Replies: 0
    Last Post: 02-21-2018, 11:42 AM
  2. Coordsys gizmo
    By lassesj in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 03-18-2014, 06:23 PM
  3. Perspective Transform of an Image
    By Merlin_1102 in forum OpenGL: General
    Replies: 6
    Last Post: 10-28-2008, 11:52 AM
  4. realtime perspective anamorphic distortion...
    By virtual mass in forum OpenGL: Basic Coding
    Replies: 10
    Last Post: 07-11-2007, 01:31 AM
  5. Rendering gizmo (3d handler)...
    By yooyo in forum OpenGL: Advanced Coding
    Replies: 2
    Last Post: 06-24-2005, 03:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean