Errors using Sparticles

Software: Away3D 4.x

Naomi, Newbie
Posted: 08 October 2014 11:46 AM   Total Posts: 4

I’m trying to test out Sparticles but getting various errors in the supplied parser files, specifically these ones:

away3d.loaders.parsers.particleSubParsers.nodes.ParticleUVNodeSubParser
away3d.loaders.parsers.ParticleAnimationParser

Is sparticles no longer compatible with Away3D?  Or are there new away3D parser files somewhere?

Any further information would be much appreciated!

Here are the errors:

ERROR D:\Projects\Aquarium\workspace\Sparticle Implementation\src\away3d\loaders\parsers\particleSubParsers\nodes\ParticleUVNodeSubParser.as[33:47]:
Access of possibly undefined property UV_CYCLE through a reference with static type Class.

    
_cycleValue = new valueCls(ParticleUVNode.UV_CYCLE);
                                              ^

ERROR D:\Projects\Aquarium\workspace\Sparticle Implementation\src\away3d\loaders\parsers\particleSubParsers\nodes\ParticleUVNodeSubParser.as[47:48]:
Access of possibly undefined property UV_SCALE through a reference with static type Class.

     
_scaleValue = new valueCls(ParticleUVNode.UV_SCALE);
                                               ^

ERROR D:\Projects\Aquarium\workspace\Sparticle Implementation\src\away3d\loaders\parsers\particleSubParsers\nodes\ParticleUVNodeSubParser.as[69:130]:
Incorrect number of arguments.  Expected no more than 4.

     _particleAnimationNode 
= new ParticleUVNode(ParticlePropertiesMode.GLOBAL, _cycleValue.setter.generateOneValue(), 1_axis_formula);
                                                                                                                                 ^

ERROR D:\Projects\Aquarium\workspace\Sparticle Implementation\src\away3d\loaders\parsers\particleSubParsers\nodes\ParticleUVNodeSubParser.as[71:166]:
Incorrect number of arguments.  Expected no more than 4.

     _particleAnimationNode 
= new ParticleUVNode(ParticlePropertiesMode.GLOBAL, _cycleValue.setter.generateOneValue(), _scaleValue.setter.generateOneValue(), _axis_formula);
                                                                                                                                                                     ^

ERROR D:\Projects\Aquarium\workspace\Sparticle Implementation\src\away3d\loaders\parsers\particleSubParsers\nodes\ParticleUVNodeSubParser.as[74:136]:
Incorrect number of arguments.  Expected no more than 4.

     _particleAnimationNode 
= new ParticleUVNode(ParticlePropertiesMode.LOCAL_STATIC_cycleValue.setter.generateOneValue(), 2_axis_formula);
                                                                                                                                       ^

ERROR D:\Projects\Aquarium\workspace\Sparticle Implementation\src\away3d\loaders\parsers\particleSubParsers\nodes\ParticleUVNodeSubParser.as[83:136]:
Incorrect number of arguments.  Expected no more than 4.

     _particleAnimationNode 
= new ParticleUVNode(ParticlePropertiesMode.LOCAL_STATIC_cycleValue.setter.generateOneValue(), 1_axis_formula);
                                                                                                                                       ^

ERROR D:\Projects\Aquarium\workspace\Sparticle Implementation\src\away3d\loaders\parsers\particleSubParsers\nodes\ParticleUVNodeSubParser.as[85:172]:
Incorrect number of arguments.  Expected no more than 4.

     _particleAnimationNode 
= new ParticleUVNode(ParticlePropertiesMode.LOCAL_STATIC_cycleValue.setter.generateOneValue(), _scaleValue.setter.generateOneValue(), _axis_formula);
                                                                                                                                                                           ^

ERROR D:\Projects\Aquarium\workspace\Sparticle Implementation\src\away3d\loaders\parsers\particleSubParsers\nodes\ParticleUVNodeSubParser.as[88:136]:
Incorrect number of arguments.  Expected no more than 4.

     _particleAnimationNode 
= new ParticleUVNode(ParticlePropertiesMode.LOCAL_STATIC_cycleValue.setter.generateOneValue(), 2_axis_formula); 
   

Avatar
ibsenleo, Newbie
Posted: 29 October 2014 02:06 PM   Total Posts: 8   [ # 1 ]

Same issue, did you find solution?

   

Naomi, Newbie
Posted: 30 October 2014 10:03 AM   Total Posts: 4   [ # 2 ]

Sorry, no solution.  The advice was to download the latest AWAY3D dev branch but that also did not work for me.  Good luck!

   

alpoman, Jr. Member
Posted: 02 November 2014 05:00 PM   Total Posts: 40   [ # 3 ]

ok, got sparticles working…
you have to NOT use the 4.1.6 swc or files.

you can only use the dev version of away3d in your SOURCE path
and the parser src folder for sparticles.

so you should have 2 folders in your source path of your ide.

src folder of dev version of away3d
src folder of parser(sparticles)

AND you will need to include any textures, models, and the sparticle file in your included files(where you put the .xml, etc)  if you want this to work on an ipad, ios device.


here is the problem i noticed though, the dev version is reallly herky jerky and slow on ipad - even with no sparticles in project ....


andy

   
   
‹‹ MouseEvent3D.index accurate?

X

Away3D Forum

Member Login

Username

Password

Remember_me



X