Jump to content

I need more information about Leadwerks


Manuel
 Share

Recommended Posts

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

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.

 Share

×
×
  • Create New...