Sunday, April 15, 2012

Shinya techdemo for Linux

I took some time and managed to get Shinya techdemo to compile under Linux (more precisely 64 bit Ubuntu 11.10). It was surprisingly painless - seems that years of cross developing Sodipodi and Khayyam for Linux and Windows have payed off.

The demo can be downloaded from Shinya homepage.

City house at night


It requires SpiderMonkey, SDL and SDL_mixer libraries.
There is only 64 bit version currently. I have no 32 bit Linux computer and I do not trust cross-compiling...

The two biggest problems were NVidia drivers and fonts. There is some weird bug either in Shinya or NVidia drivers that causes Z value of directional light volume to go crazy. It happens only on some cards, and on certain NVidia cards only in release mode - whatever it means. The same bug appeared under Linux build too - as a temporary solution the light volume is clipped a bit closer than far plane. Thus some faraway mountains appear darker than they should.
Fonts are rendered using libnrtype frontend to Fontconfig and FreeType2. Unfortunately I am not sure, which fonts with eastern-asian glyphs I can expect to be installed, so sometimes texts may not be very good. One possibility is to include some free font with Shinya.

Also, for your viewing pleasure here is wolf walking animation rendered in Blender. It is still a bit stiff, but looks pretty good at Shinya resolution:


Have fun!

4 comments:

  1. It's a fact that your blog posts are so unique and interesting and I enjoys a lot while reading your posts because you explained your post very deeply in a very easy and clear language. Thanks
    شركة نقل اثاث بالمدينة المنورة
    احسن شركة نقل عفش بالمدينة المنورة
    نقل عفش

    ReplyDelete
  2. Accident Need Save Yourself, Save the World For any car automobile accident personal injury Lawyer and Attorney Advice Also, all automobile and car insurance quotes guidance for free

    ReplyDelete


  3. افضل شركة تنظيف منازل بالدمام
    شركة تنظيف شقق بالدمام شركة تنظيف شقق بالدمام
    شركة مكافحة حشرات بالخبر شركة مكافحة حشرات بالخبر
    شركة رش مبيدات بالدمام شركة رش مبيدات بالدمام
    شركة تنظيف بالخبر شركة تنظيف بالخبر
    افضل شركة نقل عفش بالاحساء افضل شركة نقل عفش بالاحساء
    شركة كشف تسربات المياه بالاحساء شركة كشف تسربات المياه بالحساء

    ReplyDelete