Saturday, April 5, 2014

FX Composer 2 exe stop working popup message

I did fresh reformat of window 8 os and then updated to windows 8.1
Downloaded FX Composer and is not working.
I got message FX Composer 2 .exe stopped working popup message.
Did some google search and found out in Nvidia forum others faced the same problem although OS is not mentioned.
From the forum, it seem nvidia would NOT fix this issue for windows 8.1 although they already mentioned in download page that this is legacy tool.
Take note I installed FX composer in windows 8.0 and windows 7 and is working fine (.exe is running fine).


Saturday, December 7, 2013

windows 8 dev

windows 8 UX design

Direct X

1) Getting started on direct X:
Start from this page
http://msdn.microsoft.com/en-us/library/windows/apps/hh452744.aspx
related blog post
Getting Started

2) I installed
http://code.msdn.microsoft.com/windowsapps/WDC-DirectX-game-learning-7cf9bdce
which create direct X template in visual studio 2013 for Windows (not desktop)
The template contain sample on best practices to create direct X game

3)series tutorial from microsoft on direct x 11. here
Tutorial 1: Direct3D 11 Basics
Tutorial 2: Rendering a Triangle
Tutorial 3: Shaders and Effect System
Tutorial 4: 3D Spaces
Tutorial 5: 3D Transformation
Tutorial 6: Lighting
Tutorial 7: Texture Mapping and Constant Buffers


   List of sample related to direct x 11 from microsoft site here
4) official entry point tutorial for direct x here

5) video series from channel 9 (unfortunately they are using C++ CX not native C++)
Intro to cpp cx and direct x gamedev

Friday, November 1, 2013

Building fbx conv for libgdx

I was following example to load .g3db model when I hit exception, somehing about parse exception when loading ship.g3db.
Take note that both my gdx project and fbx-conv are latest build.
I figure there's something wrong on fbx-conv since .obj are loaded with no error.
1) According to https://github.com/libgdx/fbx-conv
   Seem i need to have installed both FBX SDK 2014 and premake tool
   remember after installed, set the environment variables for both:
   Righ click in Thic PC or my computer, then click on Advanced system settings, click on environment  
   variables and add FBX_SDK_ROOT in user variables and add existing path to premake in System
   variables
   
   
2)After that just C:\libgdx\fbx-conv-master\generate_vs2010
   and vs2013 project will appear in C:\libgdx\fbx-conv-master\
3)I'm running visual studio 2012, however I upgraded visual studio 2010 project with no hiccups.
   However trying to build this give me error as std::greater is recognized
   This is because visual studio 2012 is using c+11 standard
   all i did as included
   #include <functional> in FBXMeshInfo.h
   build there's still error
4)However this time, visual studio complain it can't find libfbxsdk-md.lib
  Seem to me the earlier environment variable that i set
  C:\Program Files\Autodesk\FBX\FBX SDK\2014.1
  is not enough
  I need to edit
  fbx-conv project properties > Configuration Properties > Linker > Input > Additional Library Directories
  to full path below
 C:\Program Files\Autodesk\FBX\FBX SDK\2014.1\lib\vs2012\x86\debug
5) Finally project build successfully and fbx-conv.exe is generated.
6) Using this fbx-conv.exe, I manage to convert previous obj file to g3db file sucessfully
   and this time ,it run in eclipse with no error
 
 

Thursday, October 3, 2013

Using glogg

1) download an unzip glog
   C:\deletethis\glog-0.3.3\glog-0.3.3
2) In Project Properties > C/C++ > General > Additional Include Directories
   C:\deletethis\glog-0.3.3\glog-0.3.3\src\windows
3) In Project Properties > Linker > Input > Additional Dependencies
   libglog.lib
   In Project Properties > General > Additional Library Directories
   C:\deletethis\glog-0.3.3\glog-0.3.3\Debug
4) #include "glog\logging.h"
    int main(int argc, char* argv[])
   {
      FLAGS_log_dir = "C:/deletethis/testlog";
      google::InitGoogleLogging(argv[0]);

      LOG(INFO) << "Found " << 2 << " cookies";

      return 0;
   }