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 / Fallout 3 Engine - Interiors

Author
Message
Green Gandalf
VIP Member
20
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 5th Feb 2009 21:15 Edited at: 5th Feb 2009 21:26
Have you noticed how, sometimes, simple things suddenly become b****y complicated?

Here's a simple example. I merely wanted to compare the times taken to load lots of shaders, create lots of objects and apply lots of shaders.

Here's the code:



And here's a screenshot which took less than a minute to appear:



Just look at the time taken to create the objects. Where did that figure come from?

I've probably made a stupid coding error which I can't see - and, yes, I'm using my ancient PC.

Full project plus media in my next post (on this thread before you ask ).
Green Gandalf
VIP Member
20
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 5th Feb 2009 21:25
Here's the full project for the previous demo.
Sasuke
19
Years of Service
User Offline
Joined: 2nd Dec 2005
Location: Milton Keynes UK
Posted: 5th Feb 2009 21:59 Edited at: 5th Feb 2009 22:01
Damn U7.1, crashed again (for every editor) after I fixed it, this is becoming a pain. I wonder what could be causing this, hmm... I think a reinstall is in order. Lucky I backup all my work to an external HD and SD card after reading that thread.

As for that high object load time which is very high for some reason which I also can't see, er... well... there nothing really I can say until I test it really. Maybe the positioning and the applying of 2 textures takes more time. But cheers for this, will test when I fixed DBP

A dream is a fantasy, if you achieve that fantasy it was never a dream to begin with.
Green Gandalf
VIP Member
20
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 5th Feb 2009 22:47
Looks like we're all having fun. Must be the weather.
Green Gandalf
VIP Member
20
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 5th Feb 2009 23:40 Edited at: 5th Feb 2009 23:40
Quote: "I've probably made a stupid coding error which I can't see "


Well I can see it now.

Here's the fixed code for the connoiseurs of such things:



And here's the corrected screenshot (the important bit anyway):



@Sasuke

Is that loading time shown in the above screenshot the time you were concerned about?
Sid Sinister
20
Years of Service
User Offline
Joined: 10th Jul 2005
Location:
Posted: 6th Feb 2009 17:21
Wow, it's amazing how code alone fixed that shader problem! I love programming <3

"If I have seen a little further it is by standing on the shoulders of Giants" - Isaac Newton
-Computer Animation Major @Baker.edu-
Sasuke
19
Years of Service
User Offline
Joined: 2nd Dec 2005
Location: Milton Keynes UK
Posted: 7th Feb 2009 17:03 Edited at: 7th Feb 2009 17:04
GG, when I fixed DBP and looked at the code I noticed it too, but yeah the load time is what i'm concerned about.

Heres it on mine:


A dream is a fantasy, if you achieve that fantasy it was never a dream to begin with.
Sasuke
19
Years of Service
User Offline
Joined: 2nd Dec 2005
Location: Milton Keynes UK
Posted: 7th Feb 2009 17:06 Edited at: 7th Feb 2009 17:08
Sorry for the double post btw, but heres another one. In this one i'm loading Evolveds 6 light normal mapping shader and you can see the difference in load time.



A dream is a fantasy, if you achieve that fantasy it was never a dream to begin with.
Green Gandalf
VIP Member
20
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 7th Feb 2009 19:43 Edited at: 7th Feb 2009 19:46
Quote: "you can see the difference in load time"


Yes.

I can see why you want it fixed. How many copies of Evolved's shader were you loading? The same as in my demo? That load time looks unreasonable to me. I expected the slow up to be when the shaders were applied to objects - but it doesn't seem to be. One for the TGC shader experts I think.

I also noticed the differences in fps.

Edit: And I've just noticed an error in those screenshot fragments. Since when has fps been measured in ms?

Perhaps it is time for me to retire after all?
Sasuke
19
Years of Service
User Offline
Joined: 2nd Dec 2005
Location: Milton Keynes UK
Posted: 7th Feb 2009 19:59
Quote: "How many copies of Evolved's shader were you loading? The same as in my demo? That load time looks unreasonable to me"


Yeap the same (500), I also had the task manager up and wow, the memory usage kept going up and up (can't quite remember but I think it was 140,000+ K for shaders alone).

Quote: "One for the TGC shader experts I think."

Who are they again?

Quote: "Since when has fps been measured in ms"

Y'know, I never even noticed

Quote: "Perhaps it is time for me to retire after all?"

So soon... are well, we had a good run though and it looks like the weather is clearing up now in Milton Keynes, hows it on your end?

A dream is a fantasy, if you achieve that fantasy it was never a dream to begin with.
Green Gandalf
VIP Member
20
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 7th Feb 2009 21:26
Quote: "can't quite remember but I think it was 140,000+ K for shaders alone)"


Seems excessive. You could fit about 25 DBP executables into that.

One for Lee I think.

Quote: "it looks like the weather is clearing up now in Milton Keynes, hows it on your end?"


Bit mixed. We've had rain, sleet, hail and snow today. A fair bit has thawed but I suspect it'll turn to ice overnight. Just this minute poked my nose outside out of curiousity - most of the snow and ice has thawed for the second time this week. Perhaps it won't freeze up after all.

It's good weather for coding though. No nasty distractions like winter digging or tidying up the garden.
Neuro Fuzzy
18
Years of Service
User Offline
Joined: 11th Jun 2007
Location:
Posted: 7th Feb 2009 23:19
oh, yeah, it almost dropped below 70 degrees here in california the other day.
Green Gandalf
VIP Member
20
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 8th Feb 2009 00:40
Quote: "oh, yeah, it almost dropped below 70 degrees here in california the other day"


Not degrees Absolute I hope?
Sasuke
19
Years of Service
User Offline
Joined: 2nd Dec 2005
Location: Milton Keynes UK
Posted: 23rd Feb 2009 23:42
Ok, had a break for abit, but now i'm back on this. First things first, how do you get in contact with Lee to make him aware of this shader issue?

A dream is a fantasy, if you achieve that fantasy it was never a dream to begin with.
Sasuke
19
Years of Service
User Offline
Joined: 2nd Dec 2005
Location: Milton Keynes UK
Posted: 17th Mar 2009 19:59
Can someone contact Lee for me please, cause I haven't been able to contact him and ask him to read this thread on this page from Green Gandalf first post (I explain the problem from there on), Cheers.

A dream is a fantasy, if you achieve that fantasy it was never a dream to begin with.

Login to post a reply

Server time is: 2025-08-08 05:43:15
Your offset time is: 2025-08-08 05:43:15