Hello all,
In all my previous 3D programming, I dealt directly with DirectX. I am trying to grasp the differences between how Irrlicht does things and how DirectX 9 did things. In dynamically created meshes there were at least three different approaches to drawing objects.
Triangle fans... the basic unit was a single vertex and a line of nearby vertexes that all used the first point as an "origin".
Triangle lists... a list of triangles that are drawn individually where points are not reused. Each triangle in the list is made of 3 points.
Triangle strips... a series of triangles that are drawn sequentially. Points are reused so this is more efficient time wise and memory wise than a list (when it is possible to use).
Here is an image that illustrates these:
I have seen documentation on the first two. Is the drawing of triangle strips supported?
Triangle strips?
Re: Triangle strips?
As far as I know irrlicht don't have that. however I think the best would be having triangle strips with primitive restart index (could be wrong, Nadro did a lot of improvements)
Junior Irrlicht Developer.
Real value in social networks is not about "increasing" number of followers, but about getting in touch with Amazing people.
- by Me
Real value in social networks is not about "increasing" number of followers, but about getting in touch with Amazing people.
- by Me
Re: Triangle strips?
All three are supported and work. I've used them all in GL.
-
- Competition winner
- Posts: 688
- Joined: Mon Sep 10, 2012 8:51 am
Re: Triangle strips?
To be precise, they are supported in OpenGL and (I think) DirectX for Irrlicht, but Burnings doesn't do all of them yet (unless Nadro or burningwater snuck in there and did them lately). It's on the to-do list.