Changes between Initial Version and Version 1 of Ticket #1613, comment 1


Ignore:
Timestamp:
Mar 1, 2015, 2:05:29 PM (9 years ago)
Author:
wraitii

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1613, comment 1

    initial v1  
    33The attached patch adds a new option for materials: adding a "required_sampler" item that says which textures the actors must provide. It gives error on loading (still loads the mesh) if unneeded samplers are provided and if required samplers are not provided. Note that currently, loading "Units Demo" shows no error so at least entities are fine. Some actors may not be.
    44
    5 Note that this patch is doing this really inefficiently (I create a lot CStrInterns and my looping cjeck is at best bad) but I'm submitting it as there's a simple design issue here and it works.
     5Note that this patch is doing this really inefficiently (I create a lot CStrInterns and my looping cjeck is at best bad) but I'm submitting it as there's a simple design issue here and it works. If the implementation is fine by people I'll commit a cleaner version.
    66
    77The design issue: