Jump to content
Scott Richmond

Loading a scene easily

Recommended Posts

With the new sandbox the expectation is set to be able to easily create and run levels in LE. But these is this huge gap between making the level and then loading it.

For all intensive purposes, LoadScene is broken. I know is a known issue, but we shouldn't have to do a 'processScene' after the load scene in an attempt to load lights and whatnot.

Either depreciate LoadScene or fix it up to be able to load everything a scene might have.

Share this post


Link to post

Loadscene does produce lights in my case but not sound. Models are all there too.

but maybe I misunderstand your problem.

Share this post


Link to post

You get lights with LoadScene in C++?

 

 

I get lights, sounds, emitters, coronas, models etc..

 

Don't get a direct skybox parsing or so far waterplane.

 

All in C++

 

Waterplane works as well in Bmax.

Share this post


Link to post

I get lights, sounds, emitters, coronas, models etc..

 

Don't get a direct skybox parsing or so far waterplane.

 

All in C++

 

Waterplane works as well in Bmax.

 

Ah well thats good news. Prey tell. My level does not appear to load the light I have in there.

Share this post


Link to post

If you want framewerk to be a C++ source code you will have to work with it and Lua. There is a way to expose your C++ classes to Lua, which could make this work very nice and seamlessly, but we need to take one step at a time.

Share this post


Link to post

Umm, LoadScene does everything for me...lights, models, etc. It basically runs the Lua script for every entity it loads...

Share this post


Link to post

Umm, LoadScene does everything for me...lights, models, etc. It basically runs the Lua script for every entity it loads...

 

Aye its fine now. I believe it couldn't find the scripts folder.

Share this post


Link to post

Guys, could one of you (who has it working) share some example C++ code of loading your scenes with lights, sounds, emitters, coronas, models etc..?

And if you also got the environment skybox loading to work I'd totally appreciate it if you got some code to spare on that. :)

 

regards,

Alvaro

 

Edit: do you still require the ProcessScene cpp and header?

Share this post


Link to post

Guys, could one of you (who has it working) share some example C++ code of loading your scenes with lights, sounds, emitters, coronas, models etc..?

And if you also got the environment skybox loading to work I'd totally appreciate it if you got some code to spare on that. :blink:

 

regards,

Alvaro

 

Edit: do you still require the ProcessScene cpp and header?

 

 

Did THIS for you hope it helps.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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