Hi, Just a question about IRRlicht.
Suppose I have an object: "tunnel.b3d"
I want to re-use 10 times in my level.
How will this mesh stored in memory (mesh cache)?
As 10 copies or only 1 (because mesh filename is the same)?
Mesh instancing (kinda)[ANSWERED]
-
- Posts: 1638
- Joined: Mon Apr 30, 2007 3:24 am
- Location: Montreal, CANADA
- Contact:
Mesh instancing (kinda)[ANSWERED]
Last edited by christianclavet on Tue Aug 05, 2008 11:01 pm, edited 1 time in total.
MeshCache was the right guess :-) It's loaded once and then the same mesh is used in all the nodes. So it's only once in main memory.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
-
- Posts: 1638
- Joined: Mon Apr 30, 2007 3:24 am
- Location: Montreal, CANADA
- Contact: