Line thickness control and different lens types

Software: Away3D 4.x

BobWarfield, Newbie
Posted: 25 April 2014 10:36 PM   Total Posts: 19

Hi, I am trying to get better control over line thickness with Ortho and Perspective lenses.  I have a CADCAM application that displays complex models constructed of lines.  In Away3D the lines are represented as Segments in SegmentSets.  So far so good.

I can display these models in multiple views accessed via tabs.  There is a perspective view that uses PerspectiveLens, and views like Front, Top, and Right that use the OrthographicLens.

These views can be manipulated and zoomed.  Zooming in Perspective is by moving the camera closer and further from the model.  Zooming in Ortho views is by changing PerspectiveHeight.

Now here is my problem.  Zooming in Ortho results in unreasonably large lines.  Ideally, I’d love a way to keep the line thickness constant regardless of zooming.  Failing that, I need to choose parameters that keep the lines manageably small across a pretty wide zooming range.  I have not been able to find such parameters.  The lines get way to fat even if I zoom fairly conservatively in an Ortho view.

How can I fix this?  Is there some way to keep constant line thickness no matter what the zoom conditions?

Help appreciated,

Bob Warfield
http://www.cnccookbook.com

   

BobWarfield, Newbie
Posted: 29 April 2014 07:29 PM   Total Posts: 19   [ # 1 ]

Any ideas?  Bump.

   

John Brookes, Moderator
Posted: 01 May 2014 04:12 PM   Total Posts: 732   [ # 2 ]

Had a quick look and segmentPass isnt realy set up for ortho projection height.

Devs know about it but busy on a major refactor of Away.

Best thing you can do is file a bug on GitHub.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X