Jump to content
  • Advertisement
Sign in to follow this  
SuperSaiyan3

How can I get started with the Hieroglyph3 framework?

This topic is 1316 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello, everyone!

I'm reading a famous book <Practical Rendering and Computation with Direct3D 11>. It is said to be a wonderful book, so I decided to learn it. I have read Frank D. Luna's <Introduction to 3D Game Programming with DirectX 9.0c)>, and some portions of its DX 11 edition, too, so I think there won't be too many problems learning this book. But ... 

But I just don't know how to get started! I found the source code of the Hieroglyph 3 framework from the "SOURCE CODE" tab of the Hieroglyph3 website (after some examination, you know, since there's nothing in the "DOWNLOADS" tab), but I can't just get it running! Well, according to the ReadMe.txt file that can be found in the Hieroglyph3 file folder, I have to get Windows 8 SDK, Lua and DirectXTK to get it up and running, but what are the exact steps? Am I supposed to download these stuff and put them into the Dependencies subfolder? Or do I need to configure the project in VS 2012? But I found myself at sea after opening the Hieroglyph3_Desktop file with VS 2012 ---- there are so many things inside and I just don't know what to do! And the contents in the solution properties menu are quite different from what I saw in the past days! 

The book itself doesn't say much about how to get the framework running in the Appendix. So I consult the "DOCUMENTATION" tab of the Hieroglyph3 website, only to find that it only said little about the specific steps except the conversion from a vs 2008 project file into a vs 2010 one. So can I say this is a bit out-dated? 

So, can anybody tell me what can I do to run even the simplest sample of the book? Thank you so much! I'm really feeling helpless. Or maybe I'd better download the older edition that accompanied this book? Unfortunately, I am not able to find that...

Share this post


Link to post
Share on other sites
Advertisement

About the source code: download the source code, extract it where you prefer, open the solution file (.sln) and press F7 to compile. You need a VS2012 edition or greater (express desktop would compile all except the mfc sample) and the Window SDK 8.0 or greater installed.... 

 

About the book: I found the first part a really great reference book, while the second part covers some "new" DX11 FL11_0 scenarios and it could be not appropriate for a beginner.

If you want a tutorial-books you should look at the last Luna's book or (if you want a shader approach and a bit modern code) "Real-Time 3D Rendering with DirectX and HLSL" (Paul Varcholik).

Edited by Alessio1989

Share this post


Link to post
Share on other sites

About the source code: download the source code, extract it where you prefer, open the solution file (.sln) and press F7 to compile. You need a VS2012 edition or greater (express desktop would compile all except the mfc sample) and the Window SDK 8.0 or greater installed.... 

 

About the book: I found the first part a really great reference book, while the second part covers some "new" DX11 FL11_0 scenarios and it could be not appropriate for a beginner.

If you want a tutorial-books you should look at the last Luna's book or (if you want a shader approach and a bit modern code) "Real-Time 3D Rendering with DirectX and HLSL" (Paul Varcholik).

 

 

Thanks a lot! Seems you have tried this new version and played with it for some time. That's great!

 

But I still get a few questions to ask. Where can I obtain Windows SDK 8.0 (Lua, DirectXTK)? What location should I install them into? This book, I know, would be a little difficult for me; but never the "get it up and running" part. How I wish there is a detailed intruction (even better with pictures!) on how to use this framework!

Share this post


Link to post
Share on other sites

Windows SDK 8.0 is installed with visual studio, just install Visual Studio 2013 for Windows Desktop Community Edition(or Express)

DXTK - http://directxtk.codeplex.com/
Lua - http://www.lua.org/download.html search the install dir for include and lib directories

 

hope that will help

But what do I need to do after the installation? That's the major problem. Can you help me? Thanks a lot. ^_^

Share this post


Link to post
Share on other sites

LUA runtime come with the Hieroglyph3 sources.

DirectXTK will be downloaded automatically from visual studio through NuGet.

 

All you need is VS2012 express desktop/professional or newer version, extract the last H3 sources, open Hieroglyph3_Desktop.sln (located in the "trunk" directory) and build it.

 

edit: it appears that some linkages from DXTK are broken with VS2013, you need to link DirectXTK.lib manually in the project files..

Edited by Alessio1989

Share this post


Link to post
Share on other sites

LUA runtime come with the Hieroglyph3 sources.

DirectXTK will be downloaded automatically from visual studio through NuGet.

 

All you need is VS2012 express desktop/professional or newer version, extract the last H3 sources, open Hieroglyph3_Desktop.sln (located in the "trunk" directory) and build it.

 

edit: it appears that some linkages from DXTK are broken with VS2013, you need to link DirectXTK.lib manually in the project files..

 

 

Well, I opened Hieroglyph3_Desktop.sln with VS 2012 Ultimate Edition, and after building it, it said:

 

error : This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them.  For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is ..\packages\directxtk.2.22.13.23\build\native\directxtk.targets.

 

So what exactlly is NuGet? And what can I do to get around this problem? Thank you very much!

Share this post


Link to post
Share on other sites

nuget is a packet manager developed for VS, it will comes with Windows 10 too..

 

you should manaually link the compiled dxtk library to the project and disable the DXTK nuget package.

Share this post


Link to post
Share on other sites

nuget is a packet manager developed for VS, it will comes with Windows 10 too..

 

you should manaually link the compiled dxtk library to the project and disable the DXTK nuget package.

 

That's the problem. I don't know how to link anything to this very, very big project...

And if I'm not supposed to use NuGet, where can I find the DXTK?ohmy.png

Share this post


Link to post
Share on other sites

 

error : This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them.  For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is ..\packages\directxtk.2.22.13.23\build\native\directxtk.targets.

 

Right click on the Solution (in the Solution Explorer inside Visual Studio) and select Enable NuGet Package Restore. Then try building the solution again. NuGet should then automatically download any missing package, if able.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!