Announcement

Collapse
No announcement yet.

Vertexanimated Mesh Import

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • replied
    The mesh is in that box (if the box is arround the centerpoint in maya).
    Thougt that limitation is especially for 3ds2unr.exe, but I kept that in mind.
    There are no more Warnings.
    But I will try that additional line.

    Leave a comment:


  • replied
    Did the UCC log give you any other error warnings?

    There are some additional limitations on Vertmeshes (at least for UT) that are sometimes overlooked: the mesh must fit inside a bounding box of (iirc) +/- 128 units of the origin (otherwise weird wrapping/warping) and meshes from Maya often had to be rotated by 90 degrees.

    You could also try adding the line (although this line was not used in the skaarjpack) right before the settexture exec:
    #exec MESHMAP NEW MESHMAP=Prayerflag MESH=Prayerflag

    Leave a comment:


  • replied
    Thank you!
    Yes, the V was missing (I overread this).
    Now I can compile the script and it is found in the actorclassbrowser and meshbrowser.
    But I still can not see the mesh.
    Tried several different meshes from Maya via actorX, but no success.
    I have heard about these troubles with actorx.

    Does anybody know an alternative for maya?

    Leave a comment:


  • replied
    Try changing ANIFILE to ANIVFILE

    Leave a comment:


  • started a topic Vertexanimated Mesh Import

    Vertexanimated Mesh Import

    I am trying to import a vertexanimated Mesh from Maya via ActorX.

    The .3d file are in the right folder.
    After compiling I receive a couple of Warnings:
    Bad MESH IMPORT
    Bad MESH SEQUENCE
    Bad MESHMAP

    Seems it can not import.
    Then the error:
    DefaultProperties (Prayerflag): Error: ObjectProperty Engine.Actor.Mesh : unresolved reference to VertMesh Chavezmeshes.prayerflag

    I understand this, if it can not import,it can not use it.

    Just want to ask if there are some mistakes in the script or does it just depend on the exported files?


    class Prayerflag extends Actor placeable;

    #exec MESH IMPORT MESH=Prayerflag ANIFILE=Models\Prayerflags_a.3d DATAFILE=Models\Prayerflags_d.3d X=0 Y=0 Z=0
    #exec MESH ORIGIN MESH=Prayerflag X=0 Y=0 Z=0 PITCH=0 YAW=0 ROLL=0
    #exec MESH SEQUENCE MESH=Prayerflag SEQ=Prayerflagwave STARTFRAME=0 NUMFRAMES=61
    #exec TEXTURE IMPORT NAME=Prayerflagtex FILE=Textures\Prayerflagtex.dds
    #exec MESHMAP SETTEXTURE MESHMAP=Prayerflag NUM=0 TEXTURE=Prayerflagtex

    simulated function PostBeginPlay()
    {
    LoopAnim('Prayerflag',1.00);
    SetAnimFrame(FRand());

    Super.PostBeginPlay();
    }

    defaultproperties
    {
    bStatic=False
    bNoDelete=True
    bStasis=False
    Drawscale=1.000000
    DrawType=DT_Mesh
    Mesh=VertMesh'Chavezmeshes.Prayerflag'
    }

    I tried also Mesh instead of Vertmesh and only the name
    Thanx for any help!
Working...
X