Jump to content

Mantra Sprite Procedure Errors


lisux

Recommended Posts

Hi all.

I am getting some strange errors while rendering sprites.

The one, i get the next message:

mantra: Error initializing procedural 'sprite'

Somebody knows why it is produced?

The second:

Unable to get VEX code from:
        opdef:/Shop/spriteShader

I am using absolute paths so why mantra can't find the shader.

The shader is in an otl installed in the HIP, maybe the error is related to this?

Thanks

Link to comment
Share on other sites

I had this problem in version 7. Sprites would work fine, but then all of a sudden they'd stop being recognized. It must be a bug, because the sprites stop working if you have a procedure pointing to the sprite shader and then youi edit the shader. I ended up rebuilding the scene, it wasn't too big, set up the sprites and left them alone.

Link to comment
Share on other sites

I had this problem in version 7.  Sprites would work fine, but then all of a sudden they'd stop being recognized.  It must be a bug, because the sprites stop working if you have a procedure pointing to the sprite shader and then youi edit the shader.  I ended up rebuilding the scene, it wasn't too big, set up the sprites and left them alone.

24681[/snapback]

Thanks.

Finally i have to paste the shader i used in my otl to define it in the same scene as the sprites, then all goes well.

But i still don't know why mantra can't find the VEX code if i use the same shader but from an OTL rather to have it in the scene.

About the mantra procedural sprite error, was my own mistake :(. It is solved now :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...