438 posts
- Attended a Community Meetup
- Author had a Free File of the Month
- Author was Featured
- Beta Tester
- Bought between 50 and 99 items
- Exclusive Author
- Gold Mo Grower
- Has been a member for 5-6 years
dxc381
says
I am working on my first pv3d file. I am using a BitmapFileMaterial as one of the faces of a cube. All I need for it to do is tell me when it’s loaded. Here is the code I am using:
var imageLoaderMat:BitmapFileMaterial = new BitmapFileMaterial(thumbToLoad);
imageLoaderMat.smooth = true;
imageLoaderMat.oneSide = false;
cube = new Cube(new MaterialsList({all: cubeColorMat, front: imageLoaderMat}), 32, 3, 24, 1, 1, 1);
Thanks.
438 posts
- Attended a Community Meetup
- Author had a Free File of the Month
- Author was Featured
- Beta Tester
- Bought between 50 and 99 items
- Exclusive Author
- Gold Mo Grower
- Has been a member for 5-6 years
dxc381
says
Nevermind, I upgraded to pv3d 2.0 and found a better way to do what I was doing. Thanks.
7339 posts
- Attended a Community Meetup
- Community Moderator
- Has been a member for 5-6 years
- United Kingdom
- Contributed a Tutorial to a Tuts+ Site
- Won a Competition
- Contributed a Blog Post
- Beta Tester
- Bought between 50 and 99 items
MSFX
moderator
says
welcome

I generally load all the images, throw them in an array, then create materials and cube / planes etc..
