Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A Question About _MAPTRIANGLE
#3
(11-02-2025, 10:54 AM)Petr Wrote: Simply put, _MapTriangle works this way because it’s based on OpenGL. In OpenGL, after setting up the scene, materials, lighting, and perspective, you load individual vertices into memory using _GlVertex3D, which takes X, Y, and Z coordinates. Once the vertices are defined in the correct order, you apply the texture, then call _GlFlush (similar to _Display), which renders the entire model.
So before rendering, the memory is filled with all the vertex data, and only then the model is drawn. If you want to see individual triangles, you can call _Display right after _MapTriangle — though that may cause some glitches.
Petr, thanks.  I rather assumed that the vertex data must be handled in such a way.  So thanks for the clarity.
Reply


Messages In This Thread
A Question About _MAPTRIANGLE - by Magdha - 11-01-2025, 10:39 AM
RE: A Question About _MAPTRIANGLE - by Petr - 11-02-2025, 10:54 AM
RE: A Question About _MAPTRIANGLE - by Magdha - 11-02-2025, 11:37 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  _MAPTRIANGLE EXAMPLES NakedApe 22 1,169 01-25-2026, 05:43 PM
Last Post: ahenry3068
  _Putimage Question. Pete 11 671 01-04-2026, 09:33 PM
Last Post: Pete
  Nice simple, I hope, question Mad Axeman 4 334 12-20-2025, 09:28 PM
Last Post: SMcNeill
  NewBie Question niteflyer 2 325 11-06-2025, 07:11 PM
Last Post: Petr
  '$include: 'file.tmr' Timing Question pmackay 2 427 10-16-2025, 12:20 PM
Last Post: a740g

Forum Jump:


Users browsing this thread: 1 Guest(s)