3D Canvas Pro No Animation
Blitz3D Forums/Blitz3D Programming/3D Canvas Pro No Animation
| ||
I am modeling with 3D Canvas Pro and I haven't been able to correctly import animation information into Blitz3D. It always says that there is no animation information. Can anyone advise me on how to fix the problem? Thanks in advance. |
| ||
In what format? |
| ||
Are you using LoadMesh() or LoadAnimMesh()? |
| ||
I have tried both LoadMesh() and LoadAnimMesh(). I am exporting to a .x format. I have tried all the different ways to export in 3D Canvas Pro that I know of. I have tried right clicking on the object and exporting it to both .x formats available and I have used the export function to export the whole scene in the file menu. If anyone could advise a solution to how to get the object to animate in Blitz3D, I would greatly appriciate that. |
| ||
You need to animate using heirarchy animation, no skeletal animation, because Blitz does not support skeletal animated .x models. |
| ||
I tried non-boned animation before but I tried it again just a few moments ago using 3D Canvas Pro and Blitz3D. I make a cube, sent it in a circular path and rotated it at the same time. I right-clicked on the object in 3D Canvas Pro (3DCP) and exported it to a (.x) frame heirarchy. I loaded it into Blitz3D and it still said "Entity has no animation." My code is as follows: Graphics3D 800, 600 SetBuffer BackBuffer() camera=CreateCamera() CameraViewport camera, 0, 0, GraphicsWidth(), GraphicsHeight() light=CreateLight() animobj=LoadMesh("attemani.x") PositionEntity animobj, 0, 0, 19 Animate animobj, 2 PositionEntity light, 0, 10, 5 While Not KeyHit(1) UpdateWorld RenderWorld Flip Wend End If anyone can advise me on how to fix this problem, I would greatly appriciate that. |
| ||
This has already been mentioned but you have to use LoadAnimMesh. |
| ||
Thank you so much! This has completely fixed my animation problem. I think this was just a stupid mistake on my part of forgetting to add back loadanimmesh() after I had tried changing the models. Thank you for catching that error and that has now fixed my problem. Thank you to all who responded to this topic and helped in resolving this problem. |