Profile

Cover photo
Gene Chen
20 followers|5,443 views
AboutPostsPhotosVideos

Stream

Gene Chen

Shared publicly  - 
1
Add a comment...

Gene Chen

Shared publicly  - 
 
the new ipad
1
Zhitong He's profile photo
 
晒!
Add a comment...

Gene Chen

Shared publicly  - 
 
My Simple Shader Editor for Learning
2
Add a comment...

Gene Chen

Shared publicly  - 
 
Cool!!!
 
Пробую Sublime Text 2 в паре с #Unity3D.
По ссылке решение для подсветки ключевых слов и синтаксиса в целом для C#.
Пока автокомплит не нашёл как включить. Похоже придётся дописывать.
Ещё надо указать редактор в настройках: Edit->Preferences...->External Tools->External Script Editor, и выбираем sublime.
http://www.jacobpennock.com/Blog/?p=490
 ·  Translate
1
Add a comment...

Gene Chen

Shared publicly  - 
 
wonderful!!!!!!
Jean-Marc Le Roux originally shared:
 
A new sneak peak at Minko's ShaderLab: the "share" feature will make it possible to embed shaders on any web page "à la Youtube". Enjoy!
1
Add a comment...

Gene Chen

Shared publicly  - 
 
i’m troubled with the matter about quad batching. i batched 30 quads(120 vc) within one batch, and the quad textures is paint a humanbody that some parts of the pic are 0 alpha.
Before calling draw() this batch, the quads vertex index has been sorted by z axis from far to near. OK, with context3d.setBlendFactors(SOURCE_ALPHA, ONE_MINUS_SOURCE_ALPHA) and context3d,setDepthTest(true, LESS_EQUAL), there shows the rigth depth and alpha blend effect.
Then,after the batch drawed , here i wanna go on to draw a quad( or more) which is with a z-axis value among the z-axis values which R of just mentioned quads batch. i aim to draw a new quad locates among the quads last batched.
The problem is showing, the alpha blend is wrong! :( it didnot approach to my aim. the batched quads blend the background color but not the zero alpha wanted, with z-axis smaller than the z of the one quad .(if i didn’t describe it clearly, i think a mail with pics can do it)
Thus, i wonder that if the quads batch is really easy-using in a RPG game which contains a batch of same-looking monsters and several hero roles running across the batched monsters….
1
Add a comment...
Have him in circles
20 people
andy dufresne's profile photo
sophia yang's profile photo
Liasha Frost's profile photo
Илья Черноусов's profile photo
nina wang's profile photo
Veronica Marshall's profile photo
胡莹's profile photo
jun shi's profile photo
Christer Kaitila's profile photo

Gene Chen

Shared publicly  - 
 
Access everywhere. Google Drive is everywhere you are—on the web, in your home, at the office and on the go. So wherever you are, your stuff is just...there. Ready to go, ready to share. Get started w...
1
Add a comment...

Gene Chen

Shared publicly  - 
 
how about joyegame's Flash3D MMORPG.what a cool done,can you image it is a web game~ look at video here -> http://www.265g.com/newgame/xydt/182860.html
265G消息,由广州九艺开发的3D网页游戏《封神无双》首次公布游戏视频,该视频长度为1分03秒。视频展现了3D网页游戏《封神无双》的游戏画面。据了解,《封神无双》是基于FLASH11技术开发,用户只需要将电脑中的LFASH更新至FLASH11版,便不需下载任何插件程序。
2
1
Gene Chen's profile photoSebastian Schmidt's profile photo
5 comments
 
play here     http://fs.kunlun.com/
Add a comment...

Gene Chen

Shared publicly  - 
 
Si Robertson originally shared:
 
Regular expressions are slow? No, not always :)

I need to check if a #Stage3D rendering context has been lost/disposed during each frame so I've been testing the fastest way to do that. There are a few options available but they all involve a driverInfo string search.

// option A
info.toLowerCase().indexOf( "disposed" ) >= 0

// optionB
info.toLowerCase().search( "disposed" ) >= 0

// optionC
const DISPOSED:RegExp = /disposed/i
info.search( DISPOSED ) >= 0

I executed those a few times within a loop to get their times and these are the normalised results ...

A = 0.2790697674418605
B = 1.0
C = 0.186046511627907

The regular expression search is clearly the fastest.
1
Gene Chen's profile photo
 
i tested them by 10,000 times each. the result is 9, 39, 32 ms
Add a comment...

Gene Chen

Shared publicly  - 
 
My 2D render engine based on flash Stage3D. Simply but useful.
1
Add a comment...

Gene Chen

Shared publicly  - 
1
Add a comment...
People
Have him in circles
20 people
andy dufresne's profile photo
sophia yang's profile photo
Liasha Frost's profile photo
Илья Черноусов's profile photo
nina wang's profile photo
Veronica Marshall's profile photo
胡莹's profile photo
jun shi's profile photo
Christer Kaitila's profile photo
Links
Other profiles
Contributor to
Basic Information
Gender
Male