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.

Author
Message
Jonas
19
Years of Service
User Offline
Joined: 10th Aug 2005
Location: What day is it?
Posted: 14th Aug 2005 08:48
I hope someone can help me with this.

Why is it that DBPro has been limited to such a small matrix size? I understand that something like 1000000,1000000,1000000,1000000 would make too many vertices but what about something like 1000000,1000000,10,10? It shouldn't limit according to size. It should limit by ratio of size to segments... wouldn't you think?

Please feel free to correct any misunderstandings about this I may have.

There's no place like 127.0.0.1
FROGGIE!
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location: in front of my computer
Posted: 14th Aug 2005 17:29
it seems to biuld the matrix fine for me (there are no error messages). The problem is that the cameras range is set to 5,000 units and the space between each of the tiles on the matrix you suggested above is 100,000 units so there is no way that you can see any of the matrix lines. You should really try to downscale your worlds size.

Me!
19
Years of Service
User Offline
Joined: 26th Jul 2005
Location:
Posted: 14th Aug 2005 18:03
try this with and without the rem

make matrix 1,100000,100000,10,10
rem set camera range 0.5,1000000
wait key

you can see the matrix as long as you increase the camera range.

Jonas
19
Years of Service
User Offline
Joined: 10th Aug 2005
Location: What day is it?
Posted: 15th Aug 2005 00:58
lol no i was only using that as an example it's not those values exactly... Let me restate myself. I'm using the load matrix function to load a gdb file made in geoscape3d, I can stretch the x, y and z values of a 64x64 landscape *256 keeping their segments at 64x64 but when it comes to doing anything larger I can't stech it at all. This stretching of the landscape brings it to 16384,16384,64,64... i think.



As you can see in the code I mearly stretch the width, height, and length.

I've been racking my brain on this one now for two weeks, and no success. I run about half way through the mathematical process and my brain runs out of cache.

Also, keep in mind, the only reason why I want to load bigger landscapes is so I don't have to stretch it so far giving me more detail in my world (hoping for at LEAST 1024x1024).

Is this possible or am I more likely to spontaneously combust?

There's no place like 127.0.0.1
Jonas
19
Years of Service
User Offline
Joined: 10th Aug 2005
Location: What day is it?
Posted: 15th Aug 2005 04:51
I ran through the math again with a graphing calculator so I didn't have to remember such a long trail of math in my head and found out what this would be.

To keep the same ratio, still multiplying by 256, the 1024 landscape would equal 262144,262144,1024,1024. It said matrix size is illegal... then I realized EVEN IF I multiplied my landscape by 16 to come up with the same size of the 64x64, it would still have more segments... same amount of vertices.

Therefor I have discovered that this is NOT a DBPro problem but instead, it is a problem with the way Geoscape3D exports the landscapes... the segments should be adjustable.

However, I found that I can simply have the Load Matrix function skip every other pixel or two, thereby cutting the segments down in half, fourth etc.

P.S. My camera range is set to 8,000,000.

There's no place like 127.0.0.1
Jonas
19
Years of Service
User Offline
Joined: 10th Aug 2005
Location: What day is it?
Posted: 15th Aug 2005 11:05
AHHHHHHHHHH!!! I took the more direct approach ofslicing the segments down from 1024 to 64 (divided the matrices into 16 smaller matrices) which in turn gave me 226 matrices multipled into 16... that's 3616 matrices sized out to 1024,1024,64,64... IT'S STILL SAYING ILLEGAL MATRIX SIZE AT LINE ####. Here's some code, maybe someone can help me with this one (Load a 1024x1024 Geoscape3d file):



My many thanks to anyone who can help me with this one.

There's no place like 127.0.0.1

Login to post a reply

Server time is: 2025-06-06 17:30:27
Your offset time is: 2025-06-06 17:30:27