Perspective Projection

Discuss and ask questions about CAD .NET library.

Moderators: SDS, support, admin

Post Reply
apdc
Posts: 12
Joined: 28 Jan 2012, 02:32

Perspective Projection

Post by apdc » 09 Feb 2012, 03:08

Is there a way to implement a "Perspective Projection" mode like in DWG TrueView?

Opening the following DWG file:
http://download.autodesk.com/us/samplef ... ylight.dwg

In the CADImport.NET Viewer demo, it appears as (attached, top figure) on default view as flat looking.

However, if you open it in Autodesk's TrueView, it appears to have more of a 3-D look/"perspective projection" (attached, bottom figure)

Is there a way to get image to look like the bottom figure with CADImport.NET?
CADImport Viewer Skylight.png
CADImport Viewer Skylight.png (103.79 KiB) Viewed 27446 times

support
Posts: 3272
Joined: 30 Mar 2005, 11:36
Contact:

Re: Perspective Projection

Post by support » 13 Feb 2012, 17:47

Hello.
CAD Import .NET current version doesn't allow viewing drawings in perspective projection. DWG TrueView allows viewing perspective projection if only 3D style mode is on. CAD Import .NET doesn't provide switching camera style, it's 2D by default. GDI+ doesn't support 3d natively, so implementing perspective view isn't reasonable. We will consider adding perspective view in OpenGL mode. Thank you for the request.

Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

apdc
Posts: 12
Joined: 28 Jan 2012, 02:32

Re: Perspective Projection

Post by apdc » 15 Feb 2012, 03:54

Thank you.

That would be a nice feature to have with the OpenGL mode.

CadWill
Posts: 1
Joined: 23 Jul 2014, 23:25

Re: Perspective Projection

Post by CadWill » 23 Jul 2014, 23:29

Hi how do you open perspective view in opengl mode? Or has it not been added?
Last edited by CadWill on 24 Nov 2023, 21:14, edited 9 times in total.

support
Posts: 3272
Joined: 30 Mar 2005, 11:36
Contact:

Re: Perspective Projection

Post by support » 25 Jul 2014, 13:04

Hello,

The perspective view in OpenGL mode hasn't been added.

Mikhail
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Post Reply