Jump to content

Loading A Scene


Shard
 Share

Recommended Posts

2.3 is the same as 2.28, with extra features. There isn't a new way to render water because it hasn't changed.

 

Really? I thought (and have seen) that everything loads through Lua script now.

How do I load water? The old ProcessScene didn't have anything for water.

simpleSigPNG.png

 

Programmer/Engineer/Student

www.reikumar.com

 

2.6 GHz Intel Core Duo - nVidia GeForce 8600 GT - Windows 7 64-bit - 4 Gigs RAM

C++ - Visual Studio Express - Dark GDK - Leadwerks SDK

Link to comment
Share on other sites

Then you are in the same boat as before. The problem is getting Lua and C++ to interact. Right now you have limited means to do this. This can be improved if I add the following:

 

-Add a command to retrieve the Lua state (virtual machine) from a world.

-Expose the entire Lua command set in the DLL.

 

Then you can call framewerk and your own C++ commands from Lua.

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

Really? I thought (and have seen) that everything loads through Lua script now.

How do I load water? The old ProcessScene didn't have anything for water.

 

 

The old ProcessScene was pretty basic. You will have to parse the waterplane entity for it attributes, then setup the water in your code. As mentioned before on this thread, "the only things it won't do in C++ is the waterplane and skybox as far as I know. The Tutorial is old. From 2.26 on I wrote my own process scene function. Now in 2.3 only a few things would need parsing seperately from the LoadScene command."

AMD Bulldozer FX-4 Quad Core 4100 Black Edition

2 x 4GB DDR3 1333Mhz Memory

Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5

Windows 7 Home 64 bit

 

BlitzMax 1.50 • Lua 5.1 MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro

3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET

 

LE 2.5/3.4 • Skyline UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0

 

Marleys Ghost's YouTube Channel Marleys Ghost's Blog

 

"I used to be alive like you .... then I took an arrow to the head"

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