09 Sep 2013, 15:49
Hi!
Finally I managed to put together a small sample for dynamic content creation using the Murl Engine. Find attached a ZIP file containing the source code for the "dynamic_content" sample, together with project files for OSX & iOS (XCode), Win32 (VS2008 and VS2010) and Android (SDK/NDK environment). Note that this sample is GLSL only, so it won't run using GL ES 1.1 or DirectX.
Simply unpack the archive and make sure to move the "samples" folder in parallel to the "murl" and "tutorials" folders, so that your folder structure looks something like this:
Find the individual project files in samples/dynamic_content/project/...
All the "flesh" of the sample can be found in the "dynamic_content_logic.cpp" file, which contains some documentation about the necessary steps, together with the GLSL bump mapping shader inlined at the bottom of the file.
The "dynamic_content_app.cpp" file contains some setup & configuration code to manage the different targets, together with the actual creation of the logic class.
Hope this helps you get started, don't hesitate to ask if you have further questions.
Best regards,
Christopher
Finally I managed to put together a small sample for dynamic content creation using the Murl Engine. Find attached a ZIP file containing the source code for the "dynamic_content" sample, together with project files for OSX & iOS (XCode), Win32 (VS2008 and VS2010) and Android (SDK/NDK environment). Note that this sample is GLSL only, so it won't run using GL ES 1.1 or DirectX.
Simply unpack the archive and make sure to move the "samples" folder in parallel to the "murl" and "tutorials" folders, so that your folder structure looks something like this:
SomeDirectory/
murl/
3rd_party/
base/
common/
tutorials/
chapter01/
chapter02/
samples/
dynamic_content/
Find the individual project files in samples/dynamic_content/project/...
All the "flesh" of the sample can be found in the "dynamic_content_logic.cpp" file, which contains some documentation about the necessary steps, together with the GLSL bump mapping shader inlined at the bottom of the file.
The "dynamic_content_app.cpp" file contains some setup & configuration code to manage the different targets, together with the actual creation of the logic class.
Hope this helps you get started, don't hesitate to ask if you have further questions.
Best regards,
Christopher