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 / Advanced_terrain error depends on the computer?

Author
Message
Edson
15
Years of Service
User Offline
Joined: 21st Dec 2010
Location: Brasil
Posted: 6th May 2011 14:15
I'm doing a land through advanced_terrain. And also use shaders to create multitexture.

On my computer everything is fine.

But in another compudador an error occurred!

what could it be??

My project is Phenadlax!!!
Edson
15
Years of Service
User Offline
Joined: 21st Dec 2010
Location: Brasil
Posted: 6th May 2011 14:20
download the image without error.
This image is from my computer. alright

My project is Phenadlax!!!
Edson
15
Years of Service
User Offline
Joined: 21st Dec 2010
Location: Brasil
Posted: 6th May 2011 14:24 Edited at: 6th May 2011 14:29
download the image with error.
This image is from another computer. all wrong.
1280x720

My project is Phenadlax!!!
chafari
Valued Member
20
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 6th May 2011 16:05
You meant error because of the size ? probably you will have to adjuste your screen resolution.

Cheers.

I'm not a grumpy grandpa
Edson
15
Years of Service
User Offline
Joined: 21st Dec 2010
Location: Brasil
Posted: 6th May 2011 16:43
the error is because the mesh multitexture shifts.

This may be the resolution?

My project is Phenadlax!!!
Edson
15
Years of Service
User Offline
Joined: 21st Dec 2010
Location: Brasil
Posted: 6th May 2011 16:48
attached the application

Please test it

My project is Phenadlax!!!
Edson
15
Years of Service
User Offline
Joined: 21st Dec 2010
Location: Brasil
Posted: 6th May 2011 17:13
the error I'm talking about is:

The multitexture through this different from advanced_terrain direfentes on screen

My project is Phenadlax!!!
chafari
Valued Member
20
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 6th May 2011 22:26 Edited at: 6th May 2011 22:36
I don`t want to be rude... but it could be problem of the graphic card. Time ago, I had a small piece of code that move a little car on a landscape, and I move the front wheels left and right let say limb four and limb five with arrowkeys, and I was astonished when in friend PC, when I try to move the front wheels, just the right-front wheel rotate, and one of the rear of the car...I couldn`t believe it !!, it was clear that something was wrong with the graphic card...then I just find out what was the correct limb to correct this X mystery. I know that sometimes it is too fustrating to understand what is wrong in our code.


Re-edited
I test your exe and works weird but I couldn`t guess your problem as I don`t have your code.

Cheers.

I'm not a grumpy grandpa
Edson
15
Years of Service
User Offline
Joined: 21st Dec 2010
Location: Brasil
Posted: 7th May 2011 15:05
thanks a lot for example. that's right graphics card!

because there is no card that supports resolutions of images.

Only supports but does not support 512x512 500x500


click with the mouse to move up the camera.

My project is Phenadlax!!!
KISTech
18
Years of Service
User Offline
Joined: 8th Feb 2008
Location: Aloha, Oregon
Posted: 7th May 2011 21:35 Edited at: 7th May 2011 21:36
DBPro and/or some video cards prefer image sizes that are powers of 2. 256 x 256, 512 x 512, 1024 x 1024, etc..

Using a 500 x 500 image may be your problem, especially if it's being tiled across terrain. It's square, but it's not a power of 2 in size.

Try stretching it to 512 x 512 and see what happens.

Also, if the resolution is different on the 2 computers, and the monitors are different aspect ratios (one widescreen and one not), you may need to set the camera aspect to make things look right.

Edson
15
Years of Service
User Offline
Joined: 21st Dec 2010
Location: Brasil
Posted: 9th May 2011 14:28
alright. That was the problem. You're right.

Thank you. now I only use 512x512 1024x1024 etc. ..

My project is Phenadlax!!!
KISTech
18
Years of Service
User Offline
Joined: 8th Feb 2008
Location: Aloha, Oregon
Posted: 9th May 2011 18:04
Glad it was something easy.

Edson
15
Years of Service
User Offline
Joined: 21st Dec 2010
Location: Brasil
Posted: 11th May 2011 18:10
ok

My project is Phenadlax!!!

Login to post a reply

Server time is: 2026-07-10 21:42:11
Your offset time is: 2026-07-10 21:42:11