Generating Specular Map in GIMP

GIMP is powerful image editor, and it is free. I think only GIMP is the right and free replacement for Photoshop, i am a Linux user, so there is no guarantee i can perfectly run Ps in Linux, even with wine. So i choose GIMP for texturing and other general purposes

Okay, straight to the point, tonight i want to share my own method to generate specular map in GIMP. You can also generate specular map (and other map to, like normal map) by using Insane Bump plugin

First, open your texture or image that you want to generate specular map from.

Second, desaturate the image by using Color > Desaturate , and select average button. But you also can try other type like lightness or luminosity

Cuplikan layar dari 2014-09-19 21:31:48

Third, on the right side of your GIMP, click on “Duplicate Layer” icon(1), and with duplicated layer still selected, click mode menu(2) and select Dodge mode

Cuplikan layar dari 2014-09-19 21:32:07        Cuplikan layar dari 2014-09-19 21:32:35

Fourth, with still same layer selected, duplicate layer as many you want and find optimum duplication, so the specular map looks good ( in this screenshot, i duplicated the layer 13 times)

Cuplikan layar dari 2014-09-19 21:33:25

The last, flatten the image by using Image > Flatten Image menu, so you will only have one layer now. The specular map now is ready to save or export

Cuplikan layar dari 2014-09-19 21:36:33

Now, your specular map is ready to use.

Thanks for reading my simple tutorial, i hope this useful

Fixing Sound problem in Counter Strike 2D on Ubuntu/Linux

Yeah, Counter Strike 2D is small game, just about ~7 MB in size, and its fun too

you can download Counter Strike 2D here : www.cs2d.com/download.php

i downloaded it, and found its no sound problem, after googling and researching(lol) i found that ubuntu’s default sound driver(pulseaudio) not supported in CS2D

after installing some drivers (say : jack, openal) and found OpenAL work in ubuntu

#how to : 

first, install openal sound driver via terminal :

type : sudo apt-get install libopenal-dev and enterCuplikan layar dari 2014-09-02 17:47:08

second,

Fire up Counter Strike 2D, open option menu, to sound tab and select “OpenAL Default”Cuplikan layar dari 2014-09-02 17:49:13

last,

RESTART Counter Strike 2D

Enjoy playing Counter Strike 2D with sound

Generating Normal Map in GIMP

 

Evening everyone!

Do you ever think, gimp can generate normal map? yes, GIMP can by using gimp-normalmap you can generate normal map and previewing the map itself in 3d in this post, i will explain how to install it on Windows and Linux (specially Ubuntu) and using it

 

 

 

#Installation

before installing the plugin, you must had installed GIMP in your computer

Windows

  1. Download the zipped plugin : http://registry.gimp.org/files/gimp-normalmap-win32-1.2.1.zip
  2. Extract the zip to : YourGIMPInstalationFolder/Plug-ins

 

 

Linux

Manual Compile:

  1. Download the tarballed,gzipped plugin source code : http://registry.gimp.org/files/gimp-normalmap-1.2.1.tar.bz2
  2. Extract the archive to your disk
  3. Before compiling, you must had installed the plugin’s dependencies : 1) gimp version 2.0.0 or later 2) pkg-config version 0.14 or later 3) gtkglext version 0.7.1 or later 4) GLEW version 1.3.3 or later
  4. cd to/extracted/archive
  5. Type “make” and enter to compile the plugin
  6. Type “make install” and enter to install the plugin , the default instalation folder is $HOME/.gimp-x.x/plug-ins

via aptitude in Ubuntu

  1.  Open your terminal
  2. Type “sudo apt-get install gimp-normalmap” and enter
  3. Wait the proccess, the plugin will installed

Ubuntu installation screenshot: Cuplikan layar dari 2014-05-24 18:11:31

 

#Generating the Normal Map

First, open your image/picture/texture that you want to generate normal map from it

Click Filter => Map => Normal Map Cuplikan layar dari 2014-05-24 18:12:05

Configure 

  1. Set to yout best
  2. Check the 3D preview before generating map
  3. Click “OK” to generate

Cuplikan layar dari 2014-05-24 18:13:51

 

 

Now, the normal map generated and ready to use Cuplikan layar dari 2014-05-24 18:14:25

 

 

Done. 

Thanks for reading, any comments, critics and suggest will useful, sorry for my bad english, because english is not my grandma language, but im still learning english 🙂

Anime-style Notifikasi Greetings di Ubuntu/Linux

Chocolat, dari anime Noucome sumber=http://animetree.files.wordpress.com

Selamat siang,konnichiwa semuanya

Beberapa hari yang lalu , saya tertarik memplejari shell script nya bash. terlihat lebih simple dan mudah seperti Python

jadi saya mencoba membuat script notifikasi salam dari cewe-cewe kawaii dari dunia 2d

 

nah, beruntungnya sistem notifikasi ubuntu (Notify-OSD) lumayan simple dan mudah dimengerti

untuk mengirim/menampilkan notifikasi hanya cukup dengan perintah notify-send

*note=

anime-go-aisatsu

adalah project saya beberapa hari ini, fungsinya untuk menampilkan salam/greetings dengan bahasa jepang setiap startup/bootup atau menyalakan PC/Laptop

script ini dibuat menggunakan gedit, tesxt editor default ubuntu. dan ikon/gambar diedit menggunakan GIMP

 

#Screenshot

char Chocolat dari Noucome :

Cuplikan layar dari 2014-05-13 09:19:26

 

Cuplikan layar dari 2014-05-13 12:24:04

#Fitur

  • Menampilkan notifikasi setiap startup
  • Salam yang berbeda beda
  • Dilengkapi Chocolat dari Noucome (kawaii banget :* )

#Next Dev

Karakter anime lain, dengan beberapa request:

-Hatsune Miku (bukan anime)

-Naruto

 

#Download dan Instalasi

Download dan instalasi script:

klik link ini

https://github.com/advanceduser/anime-go-aisatsu/blob/master/greet.sh

klik kanan pada RAW, dan save as greet.sh, save ke folder home

Cuplikan layar dari 2014-05-13 11:04:03

 

 

klik kanan pada file tadi, properties, hak akes, dan centang pada bagian excecute sebagai program

Cuplikan layar dari 2014-05-13 11:23:27

 

lalu buka settings Startup Applicatiion , atau gnome-session-properties di terminal, dan tambahkan script tadi

Cuplikan layar dari 2014-05-13 11:10:24

 

nah scriptnya telah sukses terinstall

tapi tidak ada icon nya, download :

greet.7z via google drive

dan extrack ke folder home agan (ke /home/namauser/

 

#how-to

script ini akan mencari file d /home/useragan/.greet yang bernama:

morning.png untuk pagi hari

noon.png untuk siang

evening.png untuk siang

night.png untuk malam

Mengganti nama : 

buka file greet.sh dengan text editor kesayangan agan

pada baris ke 4

ganti Mirza di  name=”Mirza” dan save

 

Logout dan login lagi untuk melihat greeting nya

 

Selamat, sekarang pc/laptop anda tidak terasa hampa sedikit (bagi orang-orang jones seperti saya :v :v :v :v) .

Kritik, saran, dan request char lain silahkan comment dibawah

Bantuan, pertanyaan bisa langsung ke facebook saya

 

Terima kasih sudah membaca, download, dan menggunakan script nya 😉 

Tutorial Holo/Reflex Reticle Texture in GIMP

Evening everyone, today i want to share my experiment last day with GIMP and resulted beautiful reflex sight reticle , then i share too the tutorial for you all

Im using GIMP 2.8 in Linux , but you also can use the 2.6 version. But i recomend the 2.8 version

About this tutorial:

Time : 5-15 minutes

Difficulty : Moderate , u must know basic GIMP operation, like making new layer

In this tutorial i’ll make Chevron with dot reticle , but you can make your own pattern

 

1.

Make a square image , File>New, set to 256×256 or any size u want, and fill with black color

Screenshot from 2014-04-21 16:35:52

 

2. Make a new transparent layer, and i named it Reticle

Screenshot from 2014-04-21 16:37:24

 

3. In new transparent layer, draw reticle u want, using brush tool, white color , full hardness and draw

Screenshot from 2014-04-21 16:40:12

Current result

Screenshot from 2014-04-21 16:40:19

Current layer

4. duplicate the Reticle layer and place between Reticle and Background layer

Screenshot from 2014-04-21 16:40:36

 

5. Fill the reticle in  Reticle Copy with red-orange color

Screenshot from 2014-04-21 16:43:47

Curent result, with only Reticle Copy layer visible

Screenshot from 2014-04-21 16:42:14

the orange-red color

Screenshot from 2014-04-21 16:43:54

Current layer

6. Using Filter>Blur>Gaussian Blur , blur the Reticle Copy layer with both horizontal and vertical radius to 25

Screenshot from 2014-04-21 16:44:09

The blur

Screenshot from 2014-04-21 16:46:22

Current result, with all layer visible

7. Add new transparent layer between Reticle Copy and Background layer, i named it Glowbackground

Screenshot from 2014-04-21 16:47:21

 

8. Set the foreground Color to pure red, use the blend tool with option:  gradient=FG to Transparent, shape=Radial. and Blend the Glowbackground layer from center to last sider reticle

Also set the Glowbackground layer opacity to 50%

Screenshot from 2014-04-21 16:49:14

Pure red color (ff0000)

Screenshot from 2014-04-21 16:49:32

Blend tool option

Screenshot from 2014-04-21 16:53:04

Current layer

Screenshot from 2014-04-21 16:52:57

Current result

9. Select the Reticle layer, using Filter>Blur>Gaussian blur, and seth both vertical and horizontal radius to 5 px

Screenshot from 2014-04-21 16:58:44

 

FINAL RESULT:

Screenshot from 2014-04-21 16:58:58

 

FINAL LAYER :

Screenshot from 2014-04-21 16:59:04

 

In Game result :

Screenshot from 2014-04-21 19:08:02

 

My own Far Cry 3’s ACOG-like reticle

Screenshot from 2014-04-21 17:18:29

 

Thanks for reading this tutorial guys, i hope this tutorial is usable, if u like this, please share 🙂

Final .xcf file : sight.xcf via Google Drive if u want

 

 

[for GoldSrc modder] Patched io_smd_tools for Blender 2.70

Morning . last night im very frustated about io_smd_tools, why? beacase it doesn’t work in newest current blender, 2.70. So im trying learning some python scripting and made this patch, yet very simple

#Why old  io_smd_tools ? because newest io_smd_tools, and changing name to Blender Source is not suitable(yay, vertex assignment error) for goldsrc modding

the old and stable io_smd_tools 1.6.5’s models smd is convertible and has no animations(include vertex assigment) error(u can see this compiled model in jhlmv

*you can convert source smd to goldsrc smd using S2GSMDC @ Git , in linux im compiled it with mono

 

#The error in 2.70

lel this fucking

lel this fucking when file=>import=>smd

 

#What new in the patch?

just let bypass io_smd_tools’s blender version checking and validating

more in the .patch file below

 

#The download

Original io_smd_tools-1.6.5 from blender-smd Google Project page

Patched io_smd_tools.py and .patch file  

#Install

Installs first the io_smd_smd tools from google porject page, in blender file=>user preference. in addons tab, click installs from file the downloaded zip

rename the io_smd_tools_patched.py to io_smd_tools.py copy  to your blender addon installation folder (or $HOME/.config/blender in linux),then replace the original one

 

Enjoy this patch, continue modding your cs! sorry for my bad english