draw call err with indexStart indexCount

Software: Away3D 4.x

huang, Newbie
Posted: 12 January 2013 05:45 AM   Total Posts: 3

away3d.materials.passes.MaterialPassBase

context.drawTriangles(renderable.getIndexBuffer(stage3DProxy), 0renderable.numTriangles); 

ok

context.drawTriangles(renderable.getIndexBuffer(stage3DProxy), 0300);
       
context.drawTriangles(renderable.getIndexBuffer(stage3DProxy),300renderable.numTriangles-300); 

err

why   ?????

 

 

   

huang, Newbie
Posted: 14 January 2013 02:44 AM   Total Posts: 3   [ # 1 ]

Current Attachments
Intermediate_PolarBearAWDAnimation.as

 

File Attachments
Intermediate_PolarBearAWDAnimation.as  (File Size: 11KB - Downloads: 408)
   

Mona, Newbie
Posted: 07 February 2013 02:14 AM   Total Posts: 6   [ # 2 ]

The basic drawing functions are all you really need in order to send vertices for rendering. However, there are a number of ways to draw that optimize certain rendering cases.


Vietnam travel-Halong bay cruise-Paradise cruise Halong bay

 

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X