Away3D-Typescript vs ThreeJS

Software: Away3D 4.x

eco_bach, Jr. Member
Posted: 30 November 2013 03:47 PM   Total Posts: 35

Now that Away3D can target WebGL via Typescript can anyone summarize why you wouldn’t choose to code entirely in ThreeJS from the start?

What are the differences, pros, cons between Away3D-Typescript and ThreeJS?

Do they complement each other?

   

Avatar
GoroMatsumoto, Sr. Member
Posted: 17 December 2013 06:25 AM   Total Posts: 166   [ # 1 ]

Hi,

I tried to use both(Away3dTs and ThreeJs).
For commercial use, I use AwayAs(not Ts yet).
For sandbox, experimental one, I use ThreeJs.
I describe my thought about them.


Target/Platforms:
AwayAs/Ts is specialized for games.
AwayTs is very very similar to AwayAs.
So you can port easily As to Ts. That’s the biggest advantage.

ThreeJs is more flexible and minimum.
But it can run in supported browsers only.

 

Development Status:
AwayTs seems alpha or beta.
There are some missing from AS ver.
(You can not use real-time reflection textures, any Filter3ds,
and BackGroundRenderer.)
And TypeScript language is not stable also.
Maybe after a few more months, TypeScript 1.0 will be release.
I recommend to use AwayTs with 1.0 for commercial use.

ThreeJs is stable.
And it is still under active development by its community.
You can see some cool examples of them.
http://threejs.org/examples/#webgldeferred_pointlights
http://threejs.org/examples/#webgldeferred_arealights
http://threejs.org/examples/#webgl_hdr

 

AGAL vs GLSL:
I’ve written many shaders in AGAL,
but…it is suck.
GLSL is nice.

   

Ludovic, Jr. Member
Posted: 03 August 2015 04:58 PM   Total Posts: 31   [ # 2 ]

Hi Matsumoto, it seems you have experience with AwayTS, I am trying to setup a TS environment for AwayTS but I keep getting an error about MSStyleCSSProperties when transpiling?

Here is the error:
C:/awayjs-display/lib/materials/CSSMaterialBase.ts(19,22): error TS2304: Cannot find name ‘MSStyleCSSProperties’.

I tried Microsoft TSC and also the one packaged with Node.js and I get the same error.

Here are the parameters of my TSC:

C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.5\tsc.exe
—target es5—module amd

What have you found to be the best place to post questions related to AwayTS?

Thanks and have a great day.

   

Ludovic, Jr. Member
Posted: 03 August 2015 11:15 PM   Total Posts: 31   [ # 3 ]

TSC 1.5 introduces breaking changes, had to use MS TSC 1.5 alpha for compilation to work…

   
   
‹‹ Shadows only

X

Away3D Forum

Member Login

Username

Password

Remember_me



X