Jump to content

Recommended Posts

Posted

I want to make my own terrain generator/editor with LOD levels, and the built in surface commands are two slow for me..so I'm going to use OpenGL. But before I go any further with it...would it be possible to set up the terrain model some how to accept leadwerks collision commands, with vehicles and controllers? Everything..?

 

I havn't gone far with this project yet...jsut want to see if its all possible..=]

 

Thanks=]

Posted
would it be possible to set up the terrain model some how to accept leadwerks collision commands, with vehicles and controllers?

If you create an le mesh/surface equivalent of it once you're happy with it and set it up as collision tree (http://www.leadwerks.com/wiki/index.php?title=Bodies#CreateBodyTree) then yes.

A newton heightfield might be more efficient but there are no commands exposed for that.

This will only make the physics work, the raycasting commands won't detect the mesh I suppose.

 

Getting the rendering/lighting to look correct with a custom drawn object will be a pain...

Posted

Hmmm, thanks Masterxilo,

I had a feeling lighting would be a pain...I'll have to give it more thought=]

maybe the surface commands are the best shot, though they're awfully slow when changeing a vertexs postion..

I'll do reasearch ;)

thanks,

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