vipnj / away3d

Automatically exported from code.google.com/p/away3d
0 stars 0 forks source link

GeodesicSphere rendering error #22

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Works: http://www.flashgamer.com/a/Basic08_geodesicsphere.html
Fails: http://www.flashgamer.com/a/Basic08_geodesicsphere2.html

What is the expected output? What do you see instead?
The bitmap material is null'ed for some reason. Flash Debug Player throws:

TypeError: Error #1009: Cannot access a property or method of a null object
reference.
at
away3d.materials::BitmapMaterial/getMapping()[/Users/jensa/Documents/Flex
Builder 3/Away3D_HEAD/src/away3d/materials/BitmapMaterial.as:456]

Code:
Works: http://www.flashgamer.com/a/Basic08_geodesicsphere.as
Fails: http://www.flashgamer.com/a/Basic08_geodesicsphere2.as

Original issue reported on code.google.com by jens...@gmail.com on 28 Nov 2008 at 1:51

GoogleCodeExporter commented 9 years ago
error now gone, but uv mapping still a bit off. Can anyone assist?

Original comment by rob.bate...@gmail.com on 11 Dec 2008 at 9:07

GoogleCodeExporter commented 9 years ago
This is fixed in the trunk so that the geodesic sphere no longer causes errors 
with
uv materials. There is still a problem with uv mapping on the sphere, however. 
a work
in progress

Original comment by rob.bate...@gmail.com on 12 Dec 2008 at 2:08