Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Waaah! I have no textures!

Author
Message
flibX0r
23
Years of Service
User Offline
Joined: 14th Feb 2003
Location: Western Australia
Posted: 17th Mar 2003 13:44
I am confused. I am using this code to load objects and apply textures to them:



It works perfectly in Dark Basic but not in Dark Basic Pro. Why??????

Please help, cos my ass is on the line here (well not really, but i really need to get this to work)

Thnx in advance
"But we couldn't do that Mr Flibble," questioned Rimmer. "Who'd clean up the mess?"
--Twin P4 Xeon 2.0 Ghz, GeForce Quadro4 XGL 128MB, 1Gb DDR RAM, 19" Flat Screen--
Rob K
Retired Moderator
23
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 17th Mar 2003 13:49
3DS models don't work in DBP. Use DBConv.exe to convert it to .X format (working 3DS loader coming in Patch 5)

Current Project: Retro Compo. Entry.
flibX0r
23
Years of Service
User Offline
Joined: 14th Feb 2003
Location: Western Australia
Posted: 17th Mar 2003 13:51
No no, its not that. the models show up, but they have no textures

Thnx for the advice though

"But we couldn't do that Mr Flibble," questioned Rimmer. "Who'd clean up the mess?"
--Twin P4 Xeon 2.0 Ghz, GeForce Quadro4 XGL 128MB, 1Gb DDR RAM, 19" Flat Screen--
Rob K
Retired Moderator
23
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 17th Mar 2003 17:17
3DS models don't work in DBP in the sense that you cannot texture them and half the commands crash DBP when used with a 3DS model.

Current Project: Retro Compo. Entry.
Lorien
23
Years of Service
User Offline
Joined: 8th Mar 2003
Location: United Kingdom
Posted: 17th Mar 2003 20:24
.3ds models will show up in DBP if you have the textures in the same folder as the .3ds file and they're named the same as what the .3ds model is looking for.

Saying that, just follow Rob K's advice and convert them all to .x files as patch 4 won't allow loading of a .3ds files until patch 5.
Rob K
Retired Moderator
23
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 17th Mar 2003 21:38
X files work much better anyway - trust me, you really are much better off using them at least until P5.

Current Project: Retro Compo. Entry.
andrew11
23
Years of Service
User Offline
Joined: 23rd Feb 2003
Location: United States
Posted: 17th Mar 2003 22:09 Edited at: 20th Mar 2003 00:00
I dont have a DBConv.exe!

I have patch 3.1.

"All programmers are playwrights and all computers are lousy actors."
-Anon.
[href]www.geocities.com/andrew11m[/href]
Scorpyo
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: italy
Posted: 17th Mar 2003 22:56
Get one here..
http://gp500store.m4driving.sm/content/tools.htm
run shell.exe
the viewer can crash so don use it..
enable the bmp extension if you re using BMPs
enable the save as text x file
enable verbose mode
enable the save animation data
put your textures in the same folder where the 3DS is
don t go too far away from the C: or D: root or it wont work..
Only drawback is that it saves the x models in it s own root directory (where the shell.exe is)
The big advantage is that it converts 3ds to x(at least so far) without messing up the limb positions, while old DBConv.exe does at times..
have fun
cheers

Login to post a reply

Server time is: 2026-07-11 12:01:46
Your offset time is: 2026-07-11 12:01:46