| We hope you enjoy your visit. You're currently viewing the Ultimate 3D Community as a guest. This means that you can only read posts, but can not create posts or topics by yourself. To be able to post you need to register. Then you can participate in the community active and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you are already a member please log in to your account to access all of our features: |
| how to add texture; not working , bad scripts ? | |
|---|---|
| Tweet Topic Started: Mar 18 2009, 08:48 PM (209 Views) | |
| nirvanaTGM | Mar 18 2009, 08:48 PM Post #1 |
|
Member
![]() ![]() ![]() ![]()
|
I have this in cotntroll model : LoadTexture("gfx/htex1.jpg",55); And in character object : file="test.u3d"; LoadMesh(); SetModelMaterial(55,255,255,255,255); And texture is doesnt't work , the model is only grey . |
Signature :p
| |
![]() |
|
| black_eagle_ | Mar 18 2009, 09:41 PM Post #2 |
|
Newbie
![]() ![]() ![]()
|
1. U3d can n0t set the texture for .u3d model 2. In the function SetModelMaterial(55,255,255,255,255); the first argument is n0t for the texture's index it is for the certain material 0f the m0del |
![]() |
|
| skarik | Mar 19 2009, 12:40 AM Post #3 |
|
kitten eating scum
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Please read the manual or just read the comments in the scripts to find out what arguments they actually take. Edited by skarik, Mar 19 2009, 12:40 AM.
|
| Blog|EHS | |
![]() |
|
| « Previous Topic · Questions about Ultimate 3D · Next Topic » |





![]](http://z1.ifrm.com/static/1/pip_r.png)
Signature :p



4:40 PM Jul 11