Sep 13, 2017

The place PlayerPrefs data is stored on Windows in Unity

You can find here:

HKEY_CURRENT_USER\SOFTWARE\Unity\UnityEditor\CompanyName\Project

Callback Registration Failed, Increase kMaxCallback Error on Unity v.2017.1.1f1

Unity crashes with a Fatal Error: "Callback registration failed kMaxCallback" after working with the project for 30 minutes or more.

It appears randomly. I have searched the bug online but it is a "LONG LIVE" bug and no solution. Shame Unity. Shame!



Sep 12, 2017

How to Use Sprite Packer on Unity

A Good tutorial to learn. How to use sprite packer on Unity. But don't forget not to put your image files that is usef for sprite packer, under Assets folder, NOT Resources


Hello World, Again :)

After 4 years, Hello World Again :)

I am back :)

Computer Graphics Research Software

http://www.dgp.toronto.edu/~rms/links.html

Papers
Mesh Libraries and Tools
  • GTS (2D dynamic/constrained Delaunay triangulation, robust geometric predicates, mesh boolean set operations, refinement/coarsening, view-independent continuous LOD, view-dependent LOD, AABB-trees, Kd-trees, graph partitioning, isosurfacing, area, volume, mean/gaussian/principal curvature, stripification) (S. Rusinkiewicz)
  • trimesh2 mesh library (read PLY/OFF/3DS/OBJ, write PLY/OFF/OBJ, subdivision, smoothing, curvature estimation, triangle stripping, ICP, cleanup, decimation, basic shapes)
  • OpenMesh (PLY/OBJ, halfedge mesh, decimation, Loop/Sqrt3 subdivision, view-dependent progressive meshes, stripification) (J. Möbius, M. Habbecke)
  • CGAL (2D/3D halfedge mesh, tet meshes) [full packages list] (Authors)
  • MeshLab (import PLY/STL/OFF/OBJ/3DS/COLLADA/PTX/V3D/PTS/APTS/XYZ/GTS/TRI/ASC/X3D/X3DV/VRML/ALN, export PLY/STL/OFF/OBJ/3DS/COLLADA/VRML/DXF/GTS/U3D/IDTF/X3D, selection/smoothing painting, linear measurements, export planar slices, mesh decimation/repair/optimization, mesh alignment) [All Filters] (Authors)
  • OpenFlipper (import/export OFF/OBJ/PLY/STL/STLA/STLB/OM, selection tools w/ surface/volume lasso and sphere brush, decimation, smoothing, edge/face editing) (J. Möbius)
  • mview (read/view PMesh/GTS/OFF/COFF/PLY/VRML/Shallo/VTK ASCII POLYDATA/OBJ) (H. Cantzler, T. Breckon)
  • PLY Tools (read/write PLY)
  • ply2vri (convert PLY mesh to signed-distance volumetric grid, VRI/PPM formats) (B.Allen)
  • JMeshLib (read/write OFF/PLY/STL/VRML1/VRML2/OBJ/IV 2.1) (M. Attene)
  • ReMESH (automatic manifold repair, isolated component removal, hole filling, handle removal, degenerate triangle removal, sharp feature recovery, defect detection and hilighting, manual repair tools) (M. Attenne)
Shape Modeling
Segmentation
Parameterization
Mesh Processing
Point Set Processing
Computational Geometry
P/NP Rendering
Texturing
Simulation / Animation
Numerics
  • CNC: CUDA sparse symmetric matrix solver (L. Buatois, G. Caumon, B. Levy)
  • OpenNL: Open Numerical Library (direct/iterative sparse solvers, preconditioners, Least-Squares Conformal Maps (LSCM) implementation) (Authors)
  • CGAL (LP linear programming, QP quadratic programming) (Authors)
  • TAUCS (sparse preconditioned conjugate-gradient/minres, sparse Cholesky (sym-pos-semi-def), sparse LU, sparse LDLT) (S. Toledo, D. Chen, V. Rotkin)
  • UMFPACK (unsymmetric sparse LU) (T. Davis)
  • newmat (C++ dense matrix library [documentation]) (R. Davies)
  • GPUFFTW (GPU power-of-two FFT library) (N. Govindaraju, D. Manocha)
  • LUGPU (GPU dense-matrix LU decomposition) (N. Galoppo, N. Govindaraju, M. Henson, D. Manocha)
Data Sets
Vision
Machine Learning
  • Infer.Net - Bayesian Inference in Graphical Models (T. Minka, J. Winn, J. Guiver, A. Kannan)
  • ANN - C++ approximate neareset-neighbours in dimensions ~(8,20) (D. Mount, S. Arya)
Other Stuff
"..."
Matlab
Latex

MeshLab for Ubuntu

Firstly, i recoomend you to download source files from svn because in the svn there you can access and download external directory where all dependent libraries, otherwise compilation gives error such as "there is no external directory"...
svn co https://meshlab.svn.sourceforge.net/svnroot/meshlab/trunk/meshlab meshlab
svn co https://vcg.svn.sourceforge.net/svnroot/vcg/trunk/vcglib vcglib


MeshLab and MeshLab's plugins invokes functions exported by external libraries. 
You have to compile this libraries before the MeshLab's code. 
To do this:

cd MESHLAB_DIRECTORY/src/external
qmake -recursive external.pro
make

To compile MeshLab and all MeshLab's plugins:

cd MESHLAB_DIRECTORY/src/
qmake -recursive meshlabv12.pro
make

For more and complete info, please, refer to the meshlab's site 
http://meshlab.sourceforge.net/wiki/index.php/Compiling#Compiling



ALCHEMY on Windows with cygwin

To get started with Alchemy on a Windows box, you first need to get cygwin installed. Cygwin is a pseudo linux environment that runs under Windows. This gives us access the the LLVM and the gcc compilers. This is how we are going to take C/C++ code and create a swc that we can access directly from flash.

1 - To get started we are going to first need the Adobe Flex SDK, please download this and unzip it to c:\flexsdk
http://opensource.adobe.com/wiki/display/flexsdk/Flex+SDK

2- Now we can grab Adobe Alchemy:
http://labs.adobe.com/downloads/alchemy.html

3- Just check the box at the bottom and download the “Alchemy Toolkit for Cygwin on Windows”
When that finishes downloading, unzip it into c:\alchemy (make sure that you don’t unzip it into folders within that, you want the folder structionto be c:\alchemy and then a bunch of folders such as c:\alchemy\achacks, c:\alchemy\bin, etc…
Next you will need to make sure you have Java installed. If you do, please continue.

If you do not, please download and install it from here:
http://www.java.com/en/download/index.jsp

Last up is Cygwin’s setup.exe file:
http://www.cygwin.com/

Look for setup.exe about half way down the page, and download that to c:\cygwin (you can put this wherever you like, but I will be using c:\cygwin and c:\alchemy through out the post for simplicity)

4-

Visual Studio Keyboard Shortcuts

Playing with keyboard shortcuts is very interesting and reduce the headache of using the mouse again and again while programming with visu...