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 / Fade object working with p4?

Author
Message
Madehra
23
Years of Service
User Offline
Joined: 19th Sep 2002
Location: Portugal
Posted: 23rd Mar 2003 20:46
It did in my project with p3.1, but with p4 it just doesnt seem to work, if i tell an object to fade 0 it just stays lit at 100.

Also, my HUD 3d plains are no longer being positioned correctly using functions that were working with p3.1 perfectly.

My planet texture is showing a white line or something, probably in the place where the edges join.

My code to read from an array with altitude values and color a bitmap with the help of a secondary gradient bitmap no longer works when i try it using a 4092x2048 size array, the bitmap shows up all blue (which probably means it read 0 in every array coordinate). It still works if I use a smaller 1024x512 array.

Sync some times doesnt work, have to do sync : sync

Are these p4 bugs or should I do some changes in my code with p4?
Rob K
Retired Moderator
23
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 23rd Mar 2003 23:09
FADE OBJECT doesn't work under P3.1 for me and now works on P4 - strange eh?

Current Project: Retro Compo. Entry.
Easily Confused
23
Years of Service
User Offline
Joined: 22nd Oct 2002
Location: U.K. Earth. (turn right at Venus)
Posted: 23rd Mar 2003 23:33
Patch 4 Fade Object works for me too.



Programming anything is an art, and you can't rush art.
Unless your name is Bob Ross, then you can do it in thirty minutes.
Madehra
23
Years of Service
User Offline
Joined: 19th Sep 2002
Location: Portugal
Posted: 23rd Mar 2003 23:53
Strange, that works!
The problem must be somewhere else, there is one! or more! Because everything worked before the patch and now I have to change something.

Can anyone write a function that positions 3d plains on the screen and locks them, so I can tell the function to position object n at screen coordinates x,y?
Madehra
23
Years of Service
User Offline
Joined: 19th Sep 2002
Location: Portugal
Posted: 24th Mar 2003 00:28
Got it!!
Had to make the object sensitive to light (not ambient). Guess the bug was in p3.1 eh? Ok, problem solved, that one.
Kensupen
23
Years of Service
User Offline
Joined: 19th Sep 2002
Location: United States
Posted: 24th Mar 2003 01:46
One thing I noticed, try coloring the cube blue and run that same code. On my system, it stays white. If I rem out the fade command, it's blue. Strange.


-Kensupen
Madehra
23
Years of Service
User Offline
Joined: 19th Sep 2002
Location: Portugal
Posted: 24th Mar 2003 17:12
Yep, same problem.

Login to post a reply

Server time is: 2026-07-11 08:47:02
Your offset time is: 2026-07-11 08:47:02