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 / Baking has made everything load slowly.

Author
Message
Levanthus
23
Years of Service
User Offline
Joined: 17th Apr 2003
Location: Cumbria, UK
Posted: 11th Sep 2014 14:36
Wasn't sure whether to put this in here or 3D chat, but here goes, up until today i have been using models with maybe like 20-25 textures in each and my program would take between 30-40 seconds to load up and play, however i JUST learned how to bake textures into one map, now i thought that this would make things easier for me since it'd allow me to remove superfluous polygons and only having one map tp load would speed things up, but since doing this my program now takes more than a minute to a minute and a half to load and run, any ideas why this might be?

I can see from your smile, you're not here for the sunset

Windows 7 64 bit, AMD Phenom II x4 Black edition, 7 GB Ram, Radeon HD 4650, 3.6 TB HDD
chafari
Valued Member
20
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 11th Sep 2014 16:13
Hi Levanthus. Could you show us your media to test ? . Have you converted your object to Dbo ? what format of texture do you use? . I think that dds or png would be faster .

I'm not a grumpy grandpa
Van B
Moderator
23
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 11th Sep 2014 16:14
I'd check and make sure that your model is only using 1 texture - it might be trying to load all those old texture files, or it might be trying to use that same texture file on several UV map layers. To bypass texturing completely, maybe it'd be better to load your model, convert to a mesh, then save it as a DBO file. Then, when loading your level, you'd load the DBO file and texture it manually with a pre-loaded texture.

Other than that, we'd really have to see an example so we can investigate the model format.

I am the one who knocks...
Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 11th Sep 2014 16:53
Quote: " what format of texture do you use? . I think that dds or png would be faster . "


DDS is definitely the way to go for loading speed.

But how large is this single texture? Have you changed anything else such as including an extra shader to handle the texturing?

Quote: "Other than that, we'd really have to see an example so we can investigate the model format."


Seconded.



Powered by Free Banners

Login to post a reply

Server time is: 2026-07-18 07:32:36
Your offset time is: 2026-07-18 07:32:36