question

Adrian Z avatar image
0 Likes"
Adrian Z asked Adrian Z commented

How to use mesh API?

How to pass the location information of four vertexs to mesh node and draw a quadrilateral?

I want to lean something about opengl in flexsim,and I want to know how to pass x,yz of vertexs to draw GL_POINTS GL_LINES GL_LINE_STRIP GL_LINE_LOOP GL_TRIANGLES GL_TRIANGLE_STRIP GL_TRIANGLE_FAN GL_QUADS GL_QUAD_STRIP GL_POLYGON

Choose One
meshopengl
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

·
Matt Long avatar image
2 Likes"
Matt Long answered Adrian Z commented

Here's a sample model that draws some cubes using the Mesh API. This model was built in FlexSim 7.1 but can be opened in any later version of FlexSim.

meshapisample.fsm


meshapisample.fsm (20.0 KiB)
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Adrian Z avatar image Adrian Z commented ·

Thank you very much,you just give me I really need~

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.