Tue, 01/04/2022 - 21:36
Forums:
Hello.
I'm trying to use
HLRAlgo_Projector (const gp_Ax2 &CS, const Standard_Real Focus)
Creates a perspective projector. <CS> is the viewing coordinate system.
but I get something like isometric projection, regardless of the values used:
How to get a view with perspective distortions like this?
Thu, 01/06/2022 - 14:34
From StdPrs_HLRShape::ComputeHLR(), perspective projector setup should look like this:
But unfortunately, HLR algo is just not yet adapted to handle perspective projection properly - it is designed for orthographic projection.
Thu, 01/06/2022 - 15:12
Thanks.
How do I get the complete Torus outline? Even if it is for otrhographic projection. I'm using HLRBRep_PolyHLRToShape, but OutLineVCompound() return nothing.