In away>src>away3d folder there are lots of packages and classes. As I thought to learn it by myself, I thought I should start by reading each classes.
But, I see that each and every classes interlinked to each other, this confused me a lot to find a starting point to learn it.
Like away3d.containers has 3 class ObjectContainer3d, Scene3d and View3d, all these are linked to each other to create a 3d scene, when I read class description on ObjectContainer some of its functions takes me to Scen3d and again some of Scene’s function linked to View3d which is again linked to ObjectContainer.
Is not there any starting point from which I can start following by creating objects by self and move on?
We can say that in AS3 the staring point is trace(“hello world”) then next step is like var a = 1; var b = 2; trace(a+b) // output 3
This is basic view example code
import away3d.containers.*;
import away3d.entities.*;
import away3d.materials.*;
import away3d.primitives.*;
import away3d.utils.*;
import flash.display.*;
import flash.events.*;
import flash.geom.Vector3D;
And this simplified code does the same job
package
{
import away3d.containers.View3D;
import away3d.entities.Mesh;
import away3d.materials.TextureMaterial;
import away3d.primitives.PlaneGeometry;
import away3d.utils.Cast;
import flash.display.Sprite;
import flash.events.Event;
import flash.geom.Vector3D;
you can see in previous example we are importing all classes even those which we dont require now and in my simplified code I am calling necessary codes only. In simplified code you exactly know which class is doing what but in previous code you can not exactly say which is doing what..
For last 10 days I am struggling to learn using away with AS3, I even tried to add a light source in Basic_view example, but could not succeed, on every rendering I see errors, and obvious it was my fault
All I just want to know from where should I start learning away, the books available are for older version, and example are helpful for existing away users only.