Jump to content

Recommended Posts

Posted

Your main program can be written in c++ while lua can be used on a per object basis. You can use lua to alter a lights intensity and color and range etc. You can reference objects placed in the editor in your c++ program and make them perform in any way you like. Its great. You do not need ultimate unwrap but its nice to have.

amd quad core 4 ghz / geforce 660 ti 2gb / win 10

Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++

Posted

Ok, thanks!

Now just waiting for a clear answer for what concerns me most:

 

1. I have had some problems with animations on other engines. Specially with "DarkBasic Professional", the animasion show very good in Blender, but when I export the 3d model, on DarkBasic Pro, the animation is deformed. Has anyone tried to export animations from Blender to Leadwerks? How to works with this?

That is very important to me.

How I can prove my animation on the Leadwerks demo with Lua? any help or command reference?

Posted

Export your animated mesh from Blender to collada or fbx.

Then use dae2gmf.exe or fbx2gmf.exe from the tools directory.

desktop: Quad core Q6600 + 4GB + ATI HD4890 + XP

laptop: Dual core T6400 + 4 GB + NVidia 9600M GT + Vista 32

Posted

I have not yet tried animation in LE, but i know DarkBasic...believe me, this engine is MUCH better ;)

So you have a very good chance that it will work :lol:

(Win7 64bit) && (i7 3770K @ 3,5ghz) && (16gb DDR3 @ 1600mhz) && (Geforce660TI)

Posted

Can anyone give me a sample code to animating my character (in Lua)? I don't know how to begin. Any help, please?

 

I have not yet tried animation in LE, but i know DarkBasic...believe me, this engine is MUCH better ;)

So you have a very good chance that it will work :lol:

I know that Leadwerks is better that Darkbasic lol

Posted

Can anyone give me a sample code to animating my character (in Lua)? I don't know how to begin. Any help, please?

 

How did you convert your model to GMF?

 

require("scripts/class")
local class=CreateClass(...)

function class:CreateObject(model)
local object=self.super:CreateObject(model)
object.framebegin = 70 --first frame of animation--
object.frameend = 130 --last frame of animation--

function object:Draw()
	self.frame = AppTime()/100
	self.frame=math.fmod(self.frame,self.frameend-self.framebegin)+self.framebegin
	Animate(self.model,self.frame,1.0,0,true)

end
end

Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590

LE / 3DWS / BMX / Hexagon

macklebee's channel

Posted

I can not prove the script, the evaluation kit has finish. Can anyone try my character and tell me if the animation works well? the only animation is from the frame 1 through 21. In the file I include the .fbx, .blend (of Blender) and texture.

Can anyone try my animation and tell me if works well?

 

Thank you very much for all!

 

http://www.megaupload.com/?d=7S556P4P

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...