Thanks to the Assimp library, we are programming a C import of Blender Mesh.
Download the source code, make it and start it with the path to .blend file as the argument.
$ make Compiling : Done. Linking : Done. Ready : ./bin/blenderGL $ ./bin/blenderGL samples/monkey.blend
Use keys from  to  to translate; arrows [Begin] and [End] to rotate following the 3 axes. The [Esc] key to exit.
Don’t forget to save your Blender Mesh file using the legacy format.
The success of this script integration with the multilingual plugin qTranslate resides in a PHP call of the function qtrans_getLanguage() whose result, the current site language, is assigned to the variable window.___gcfg
The assembler calculator is enhanced with vector computing.
According to the ARM processor specifications, three operation modes are available:
- scalars and vectors mixed (our choice)
How do we program this :
- using a vector lenght of 4, the control register FPSCR is loaded with ( 4 – 1 ) × ²↑16
- the registers s8, s9, s10 and s11 are loaded with the first vector operand [a1 a2 a3 a4]
- if the second operand is a vector then the registers s20, s21, s22 and s23 are loaded with [b1 b2 b3 b4] ;
else, if the operand is a scalar then the register s0 must be used and loaded with b
- the result of the operation in the registers s8, s9, s10 and s11 is stored into [c1 c2 c3 c4]
« package architecture is not valid »
Read the forum, the graceful help provided by pepedog leads us to the right solution.
CFLAGS="-march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
CXXFLAGS="-march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
The key answer is CARCH=”armv6h”, change it as soon as possible then update the abs repository.
$ yaourt -A package
The argument -A forces the compilation to the armv6h architecture even if the PKGBUILD does only contains arch=(‘i686′ ‘x86_64′)