Jump to content

Auto update in-editor Models


 Share

Recommended Posts

When you save a file outside of the editor and return to the window, your updates or replacement of the file should reflect the new model. This is invaluable when porting assets from Blender where you are constantly making tweaks to the texture, and can save hours of time.

 

This can be done In several different ways:

 

- Iinitiating an event when the player re-enters the window. Then checking a Base64 encoded byte hash of the file, comparing both.

 

- Use a filewatcher and detect an updated file event

LINK: Windows FileWatcher

 

- Give a squirrel a hammer and update each time it smashes your hard drive.

 

That is how many source code development suites compare files, including 'FileGrabber', an in-house backup program at my work. I'd really like to see something like this implemented in the near future, as it would speed up the content pipeline to production.

 

If the Unity editor can do it, I'm sure Leadwerks can as well.

Link to comment
Share on other sites

In C# you would use a simple FileWatcher and it would be realtime. I am positive BMX has a similar implementation.

52t__nvidia.png nVidia 530M cpu.gif Intel Core i7 - 2.3Ghz 114229_30245_16_hardware_memory_ram_icon.png 8GB DDR3 RAM Windows7_Start.gif Windows 7 Ultimate (64x)

-----

IconVisualStudio16.png Visual Studio 2010 Ultimate google-Chrome.png Google Chrome PhotoshopLinkIndicator.png Creative Suite 5 icon28.gif FL Studio 10 MicrosoftOfficeLive.png Office 15

-----

csharp.png Expert cpp.png Professional lua_icon.png Expert BMX Programmer

-----

i-windows-live-messenger-2009.pngskype-icon16.pngaim_online.pnggmail.pngicon_48x48_prism-facebook.pngtunein-web.pngyahoo.giftwitter16.png

Link to comment
Share on other sites

  • 9 months later...

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