Ignore:
Timestamp:
08/16/16 19:45:45 (9 years ago)
Author:
epyon
Message:
  • model tag support
  • local transform particle engines
  • fix for 3d textures
  • minor cleanups/fixes
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/nv/engine/model_manager.hh

    r512 r515  
    4040                resource< data_channel_set > mesh;
    4141                resource< material >         material;
     42                string32                     tag;
    4243                transform                    local;
    4344                random_range< vec3 >         position;
     
    5455                        target->mesh      = mesh;
    5556                        target->material  = material;
     57                        target->tag       = tag;
    5658                        target->local     = local;
    5759                        target->rotation  = rotation;
     
    8486                resource< data_channel_set > mesh;
    8587                resource< material >         material;
     88                shash64                      tag;
    8689                sint16                       attach_id;
    8790                sint16                       parent_id;
     
    176179                        if ( m == selected ) parent_flags |= FMF_FOCUS;
    177180
    178                         if ( m->mesh || m->force )
     181                        if ( m->mesh || m->force || !m->tag.empty() )
    179182                        {
    180183                                uint32 id = result.count++;
     
    183186                                re.material = m->material;
    184187                                re.local = tr;
     188                                re.tag = m->tag;
    185189                                re.parent_id = parent_id;
    186190                                re.attach_id = m->attach_id;
Note: See TracChangeset for help on using the changeset viewer.