Jump to content

FireAndIce22

Members
  • Posts

    15
  • Joined

  • Last visited

Posts posted by FireAndIce22

  1. Just assign or create a material using the /Shaders/Model/Animation/diffuse.shader and apply to the model and your animation will play.

     

    Anyone know why animations are dependent upon material? Shouldn't animations be tied to the model itself and be independent of the texture?

  2. I am using vegetation to generate a lot of trees, and I have noticed when collision is turned on for them, the framerate drops significantly (about 60 to 20 FPS), but only when actually colliding with a tree (like walking into one). It continues to stay low until I stop colliding with the tree. I'm assuming this is a bug and isn't just a limitation of the engine, since it should only processing one collision.

     

    There does seem to be some framerate drop when colliding with other objects in the world as well, so it may have to do with how much vegetation is being shown. It's strange that a single collision would drop the framerate from 60 to around 20 though.

  3. Using the shadow alphamask shader should fix it. The trunk will cast a solid shadow still, because we know the alpha channel for those pixels is opaque.

    Hmm, still shows the same way for me.

     

    I think half the faces on the individual palm leaves are flipped. By using LE's Model Editor to flip faces, you can see the lighted area on sections of the individual leaves swap location.

    Ah, I see. Is this something that has to be fixed in an external modeling tool?

     

    EDIT: I think I fixed it! I used the Calculate Normals option in the Model Editor and they appear to look correct now. Thanks for all the help!

    • Upvote 1
  4. Is it possible edit individual vertices in the Leadwerks Editor? I know you could do this in 3D World Studio, and it seems like it should be a core feature. Without it, it isn't really possible to create complex models or shapes. If it's not possible now, is it planned for the near future? Thanks!

  5. Thanks for the response. Here is the tree texture settings I'm using:

     

    I assume the vegetation and the model should use the same settings, unless it's cached somewhere for the vegetation to use:

     

    dhZDCl5.jpg

     

     

    I have noticed another issue that is unrelated but I might as well post it here. The tree model is unaffected by shadows:

    Pi7sW6N.jpg

     

    Is there something in particular that causes this?

     

    I've attached a .zip with the tree model and texture in various formats if anyone wants to try it for themselves. Thanks!

     

    t_palmtree1.zip

  6. I do have another problem now. The vegetation generated tree (left) and the normal model tree (right) look different. The vegetation tree has some semi-transparency (you can see the shading is darker where the red box is behind it), and it also has a more realistic shadow than the normal model. Any ideas what causes either of these issues?

     

    t3VSLEg.jpg

     

    EDIT: Found that the shadow issue was because I had the wrong shadow shader set (needed to be "Leaves" instead of "Shadow"). Still trying to fix the transparency issue with the vegetation though.

×
×
  • Create New...