Not sure if it is possible to load an OBJ at runtime or not. Anyone know? If so, could you please provide an example on how to load an OBJ at runtime?
Loading OBJ model at runtime as opposed to embedding itSoftware: Away3D 4.x |
||
|
||
EFFalcon, Jr. Member
Posted: 14 September 2011 11:31 PM Total Posts: 44 [ # 1 ] Certainly is, i’m fairly sure there is an example that does it? one of the awayphysics examples does it. but the basics are:
import away3d.loaders.parsers.OBJParser;
var _loader : Loader3D = new Loader3D();
private function onSceneResourceComplete(event : LoaderEvent) : void { |
||
ddddesigns, Jr. Member
Posted: 14 September 2011 11:37 PM Total Posts: 37 [ # 2 ] Awesome! Thanks. I am only able to get a small fraction of the examples to compile for me. I was looking at the OBJLoader example which embeds. Thanks so much. This helps out a lot! |
||
|
||
Mr Margaret Scratcher, Sr. Member
Posted: 15 September 2011 04:03 AM Total Posts: 344 [ # 4 ]
private function LoadEmporiumOBJ() : void From a project I’m working on…
|