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 / Texture and static objects

Author
Message
Hell_666
16
Years of Service
User Offline
Joined: 11th Jul 2009
Location: France
Posted: 4th Jul 2012 03:32
Hi, I've a real problem and I don't understand why it happens

I would like import a map in dbpro but I want to load it as a static object. If I load the original map ther's no problem, but if I load the "static map" all textures are missing on the model.

Can you help me please ?


Save object to static object


Load static object


Eternal suffering ...

I'm french
Mage
Valued Member
19
Years of Service
User Offline
Joined: 3rd Feb 2007
Location:
Posted: 6th Jul 2012 09:58
Load Image
Texture Object


It's generally not a good idea to rely on textures and texture paths that are hard coded into object files.

Hell_666
16
Years of Service
User Offline
Joined: 11th Jul 2009
Location: France
Posted: 7th Jul 2012 01:35
Static objects haven't object ID, so we can't use basic3d commands on it

Eternal suffering ...

I'm french
Daniel wright 2311
User Banned
Posted: 7th Jul 2012 02:00 Edited at: 7th Jul 2012 02:02
With this you can use sparkys collition if needed,just wrote this for another.This is not loading as a static object,but,what you are looking for is dark basic load mode at the end of load object,this takes care of your textures for load object.



my signature keeps being erased by a mod So this is my new signature.
Hell_666
16
Years of Service
User Offline
Joined: 11th Jul 2009
Location: France
Posted: 7th Jul 2012 03:02
Ok, I think I'll use Sparkys collision, it's mainly raycasting that interesting me (dark physics raycasting is strange).

Thanks

Eternal suffering ...

I'm french

Login to post a reply

Server time is: 2026-07-07 17:07:16
Your offset time is: 2026-07-07 17:07:16