| 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: |
- Pages:
- 1
- 2
| Reload textures | |
|---|---|
| Tweet Topic Started: Nov 10 2007, 05:34 PM (520 Views) | |
| Gompen | Nov 10 2007, 05:34 PM Post #1 |
|
Advanced Member
![]() ![]() ![]() ![]() ![]()
|
how do i reload the texture of a 3ds model? since i change it during the game Thanks for all the help.. |
| Isis Developer | |
![]() |
|
| Zip | Nov 10 2007, 06:26 PM Post #2 |
|
Forum Leader
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Maybe adding this in your event?
|
|
Sorry if i've made some errors, I'm not english! | |
![]() |
|
| Gompen | Nov 10 2007, 06:39 PM Post #3 |
|
Advanced Member
![]() ![]() ![]() ![]() ![]()
|
No that didn't work, it removed the model... without creating it agian |
| Isis Developer | |
![]() |
|
| Ruud v A | Nov 10 2007, 07:16 PM Post #4 |
|
Programmer · Artist
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
I heard dr. Best saying once that u3d never loads a texture twice... I don't know if this is even possible... |
|
Veniogames Vēnit, ut mē occidĕret. I will not use Ultimate3d 2.x.x anymore - I am an Ogre C++ programmer. | |
![]() |
|
| Gompen | Nov 10 2007, 07:31 PM Post #5 |
|
Advanced Member
![]() ![]() ![]() ![]() ![]()
|
Lol
but i have to get it
|
| Isis Developer | |
![]() |
|
| Dr. Best | Nov 10 2007, 08:58 PM Post #6 |
|
Administrator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Use ReleaseModel() to release the model completely, after destroying it. Then use LoadMesh(...) to load it again. This should be working. In code this is:
|
![]() |
|
| Gompen | Nov 10 2007, 10:13 PM Post #7 |
|
Advanced Member
![]() ![]() ![]() ![]() ![]()
|
No it still doesnt work.. The format i load is bmp i do it just useing LoadMesh and here are some pics to show what happends Working ![]() Not Working ![]() Is all hope lost ?
|
| Isis Developer | |
![]() |
|
| zelda4evr | Nov 10 2007, 10:18 PM Post #8 |
|
Forum God
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
how are you chaging it in game? and could you show us some of your code? |
![]() | |
![]() |
|
| Gompen | Nov 10 2007, 11:02 PM Post #9 |
|
Advanced Member
![]() ![]() ![]() ![]() ![]()
|
Create of the model file (obj_bp_face)
Step event of camera (the one that changes it
if you want the gmk or some more code please ask |
| Isis Developer | |
![]() |
|
| $pecter | Nov 10 2007, 11:40 PM Post #10 |
|
Elite Member
![]() ![]() ![]() ![]() ![]() ![]()
|
Somehow, I doubt surfaces will work on Ultimate3D. |
![]() |
|
| Gompen | Nov 10 2007, 11:54 PM Post #11 |
|
Advanced Member
![]() ![]() ![]() ![]() ![]()
|
It works perfectly.. But maybe it disables some of the functions u3d use Still none that knows? |
| Isis Developer | |
![]() |
|
| Gompen | Nov 12 2007, 09:38 AM Post #12 |
|
Advanced Member
![]() ![]() ![]() ![]() ![]()
|
Help
I've tried all i can think of but none works |
| Isis Developer | |
![]() |
|
| MysteriXYZ | Nov 12 2007, 12:47 PM Post #13 |
|
Master Matrix Masher
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Maybe you have multiple characters in your game that use the same model? In that case ReleaseModel(file) won't work if there are still objects using that model, so you would have to destroy those as well first. |
| U3D is like candy; after extensive consumption, it's Best to brush. | |
![]() |
|
| Gompen | Nov 12 2007, 04:43 PM Post #14 |
|
Advanced Member
![]() ![]() ![]() ![]() ![]()
|
Hm, no i dont think so..
But i uploaded my problem here http://www.savefile.com/files/1190199 It would mean so much to me if some of you wpuld take a look at it |
| Isis Developer | |
![]() |
|
| MysteriXYZ | Nov 14 2007, 12:04 AM Post #15 |
|
Master Matrix Masher
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
I solved the mystery of the disappearing head :D! Actually it was never really gone, it's just that after reloading the model, Step() needed to do its job before it became visible. Because no variables changed, the script doesn't do anything, so you have to force it into action by changing one of the "previous..." variables, like previousx2. So use the following to fix the problem :):
|
| U3D is like candy; after extensive consumption, it's Best to brush. | |
![]() |
|
| Go to Next Page | |
| « Previous Topic · Questions about Ultimate 3D · Next Topic » |
- Pages:
- 1
- 2





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



but i have to get it



9:11 PM Jul 11