Skip to main content
Jul 12, 2021 12:27 PM UTC
Archived

OpenGL matrices for manual rendering

Related products:Creo Parametric

Hello!

 

ProTookit provides 2 matrices (retrieved with ProViewMatrixGet and ProWindowCurrentMatrixGet) which describe model projection from 3D model coordinates to graphics window. These matrices are some abstraction and cannot be explicitly used to set up OpenGL matrices. 

In case user addin needs to render additional custom graphics, which shared the same 3D model space, one have to figure out in all the details how transformations Solid CS -> Screen CS -> Window CS -> window pixels are designed behind the scenes. This is actuall gettign harder with perspective projection.

 

There are 3 suggested ideas:

  • either provide more detailed information about how API matricies can be used to produce OpenGL matrices,
  • or, provide new API functions to generate OpenGL matrices,
  • or, (as most CADs actually do) setup OpenGL matrices when rendering events are sent to toolkit users.

Thank you in advance!

2 replies

Community Manager
Feb 21, 2025 1:48 PM UTC
Status changed to: Clarification Needed

Thank you @rkhvostikov for publishing your idea. However, we need more information as specified in the questions below. You may simply add a comment to your idea. The more details and context you give to document your idea, the better. Think about ways to educate and convince other Community members to support your idea and present your case to the product management team for consideration.

Please let us know within the next three weeks.

1. What version of the software are you running?.
2. What is the problem?
3. Are you using a workaround? If yes, please describe it.
4. What is the use case for your organization? Describe how your idea would work in context or how it would apply to a practical situation.
5. What impact does this problem currently have on your organization? (Number of users affected, hours of lost productivity, etc.)

Additionally, I invite you to check out this topic where PTC executives explain product managers' approach to customer ideas and input for product roadmaps.

Please see examples of well-documented ideas:

https://community.ptc.com/t5/Creo-Parametric-Ideas/Make-Shrinkwrap-quality-more-scalable-to-data-size-complexity/idi-p/810192 

https://community.ptc.com/t5/Creo-Parametric-Ideas/Option-to-Import-STEP-file-as-Inseparable-Assembly-by-Default/idi-p/812924 

https://community.ptc.com/t5/Creo-Parametric-Ideas/Eztol-Rename-action-not-synchronous-in-Eztol/idi-p/828000 

https://community.ptc.com/t5/Creo-Parametric-Ideas/Always-enable-ability-to-Add-View-Label-in-a-drawing/idi-p/837630 

Feature parameters can be input and changed togeth... - PTC Community 

Community Manager
Mar 14, 2025 4:30 PM UTC
Status changed to: Archived

Hello,
We are following up on our request for additional information on your idea. In the absence of further comments from you, we are archiving your idea. You still have the option to post a new idea with all the details required.
Thank you.