Hello guys!
I am quite new to FS/P3D development so I was wondering if you could answer the following questions. I already did lots of digging but I was unable to find a clear answers for these.
1. I know textures need to have dimensions that are multiples of 2, but do I need to keep them square? If no, can I safely assume FS/P3D will keep only the original texture in memory, without aligning it to a square (and thus wasting memory)?
2. Is FS/P3D keeping LOD models in memory all the time? Even when this object is not rendered? For example - if I were to create two different LODs for a single object, when "less detailed" object is visible, no memory would be wasted for "more detailed" version? I am asking because I am really concerned about memory usage in my project, and I am wondering if I only have to think about memory usage of objects that are currently visible on the screen (correct LODs) or is there going to be some kind of overhead added for all the invisible LODs?
3. A variation of the previous one - let's say I am flying over a city and am only able to see it through front and side windows. There is no way to see world behind the plane (at least not from Virtal Cockpit view). Does it mean FS/P3D is keeping all these models and textures that are currently behind me (and as such, not visible) in memory? I assume no draw calls are wasted on these as, of course, nothing needs to be drawn here.
3. If I understand correctly, one drawcall will be issued for all objects using the same texture, but only up to 64k textured triangles limit (a sum for all of these objects)? So if I were going to use drawcall batching for two objects sharing the same texture, but each consisting of 40k triangles 2 drawcalls will need to be used anyway?
Thanks in advance for all your help!
I am quite new to FS/P3D development so I was wondering if you could answer the following questions. I already did lots of digging but I was unable to find a clear answers for these.
1. I know textures need to have dimensions that are multiples of 2, but do I need to keep them square? If no, can I safely assume FS/P3D will keep only the original texture in memory, without aligning it to a square (and thus wasting memory)?
2. Is FS/P3D keeping LOD models in memory all the time? Even when this object is not rendered? For example - if I were to create two different LODs for a single object, when "less detailed" object is visible, no memory would be wasted for "more detailed" version? I am asking because I am really concerned about memory usage in my project, and I am wondering if I only have to think about memory usage of objects that are currently visible on the screen (correct LODs) or is there going to be some kind of overhead added for all the invisible LODs?
3. A variation of the previous one - let's say I am flying over a city and am only able to see it through front and side windows. There is no way to see world behind the plane (at least not from Virtal Cockpit view). Does it mean FS/P3D is keeping all these models and textures that are currently behind me (and as such, not visible) in memory? I assume no draw calls are wasted on these as, of course, nothing needs to be drawn here.
3. If I understand correctly, one drawcall will be issued for all objects using the same texture, but only up to 64k textured triangles limit (a sum for all of these objects)? So if I were going to use drawcall batching for two objects sharing the same texture, but each consisting of 40k triangles 2 drawcalls will need to be used anyway?
Thanks in advance for all your help!


