Home Unreal Engine

UDK asset polygon limit?

Hi im wondering what the polygon and texture limitations would be to import an asset into UDK. If anyone could provide me with information or some links to a site with these details it would be great. Its meant to be a LARGE HERO PIECE btw.

Replies

  • Sentinel373
    Options
    Offline / Send Message
    Sentinel373 polycounter lvl 5
    It depends on what you use the asset for. If its a big center piece object then you can easily get away with 20k-40k but generaly small stuff i'd stick with below 1k-2k.
    most important thing is the silouette. Look at what the minimum number of polygons are that are needed for your model to match the silouette and stick to that number. then where needed add in details with normals maps and textures
  • passerby
    Options
    Offline / Send Message
    passerby polycounter lvl 12
    This question has been asked a million times, and there is no straight answer, very much depends on the type of assets, and also the type of game what platform your running the game on.
  • Visceral
    Options
    Offline / Send Message
    Import stuff until it starts lagging.
  • osman
    Options
    Offline / Send Message
    osman polycounter lvl 18
    I think( not 100% sure) that the max polycounts are:
    StaticMesh: 65535 ( 16 bit index)
    SkelMesh : 4,294,967,295 ( 32 bit index)
  • Visceral
    Options
    Offline / Send Message
    Why would anyone need a 4 mil polygon object in one scene. I mean i bet its better in all respects to have such a big object (if its static) to be broken up to smaller peices.
  • osman
    Options
    Offline / Send Message
    osman polycounter lvl 18
    Well I dont think anyone should have that much, but he asked for the limits :) and that is the technical limit.
    As to why they set that limit, it's probably because 65535 MIGHT not be enough for some crazy characters. The next jump is the 4 million number, since you increase from a 16 bit index to 32bit.
  • passerby
    Options
    Offline / Send Message
    passerby polycounter lvl 12
    ya like osman said, it;s kinda like ram and the jump from 32bit to 64bit, we had to make the jump since we people were maxing out the memory limitations of 32bit systems, so had to jump to 64bit, which supports so much memory that it will be decades till we even get near it;s hard limitations.

    same idea with skeleton meshes allowing up to 4million tris, since in ue2 i beleive they had the same max as static meshes.
  • marcel gold
    Options
    Offline / Send Message
    I have a question. I have a roman barracks that's about 33160 tris, is that to much for a building for a game, I have to duplicate this 3 times its all mainly in the roof cause all the tiles are individually tiled please let me know.
  • Xendance
    Options
    Offline / Send Message
    Xendance polycounter lvl 7
    I have a question. I have a roman barracks that's about 33160 tris, is that to much for a building for a game, I have to duplicate this 3 times its all mainly in the roof cause all the tiles are individually tiled please let me know.

    It depends. If your level runs fine, it's fine. Performance is a budget, there's no guideline for how many triangles a single asset can be.
    If you go over your level's performance budget, you need to start optimizing stuff.

    Regarding the roof: Generally I wouldn't model individual tiles. Nobody would probably notice it anyway.
  • Lazerus Reborn
    Options
    Offline / Send Message
    Lazerus Reborn polycounter lvl 8
    I have a question. I have a roman barracks that's about 33160 tris, is that to much for a building for a game, I have to duplicate this 3 times its all mainly in the roof cause all the tiles are individually tiled please let me know.

    Learn to optimise your modeling then. You rarely see super high poly UDK pieces because you don't need it. Normal maps and some modeling tricks and you should be good really.

    Look into modularity and building stuff inside of udk with pieces. Without meaning to offend you, the technical limit would only be reached if your technical skills are poor.
  • Vailias
    Options
    Offline / Send Message
    Vailias polycounter lvl 18
    Its not too much no. Seeing as some of the UT3 characters were hitting 25k tris and there were dozens of them in a level.

    However, if its a building, you should be able to break it up into smaller building blocks to make the whole out of. That will improve your overall performance.
  • Mikeronomicon
    Options
    Offline / Send Message
    Mikeronomicon polycounter lvl 8
    I have a question. I have a roman barracks that's about 33160 tris, is that to much for a building for a game, I have to duplicate this 3 times its all mainly in the roof cause all the tiles are individually tiled please let me know.


    Generally it's better to have a modular approach to your static mesh assets. (i.e. rather than importing the barracks as a single mesh, break it up into walls, floor, roof, etc.) This allows more variation in the buildings, since you can then take those pieces and snap them together any way you like to make the buildings look slightly different, plus the added bonus that you can use those same meshes to create other buildings without having to create a ton of additional assets. Unreal can handle about 2 billion polys in a scene. The tri count isn't what's going to kill your framerate though, its the texture memory and texile density. I would optimize my static meshes and remove any unnecessary geometry, (use normal maps to get the details you need) and when creating the materials, create one master material for the buildings with parameters built in as opposed to texture samples, then you can create material instances where you can quickly adjust the parameters (textures) allowing you to have one material for all of your buildings where the individual textures can be quickly changed. This will also cut down on texture memory (provided the material isn't super bloated with tons of instructions) because each instanced material uses the same draw call as the master material, meaning much less texture memory used. Also, with the textures themselves, remember that not everything needs to be 4096 X 4096. Smaller things can get away with much smaller texture sizes, again saving a ton of memory.

    Hope that helps.
Sign In or Register to comment.