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 Discussion / "Black and White" Instant Replay

Author
Message
OpticRealm
22
Years of Service
User Offline
Joined: 25th Apr 2003
Location:
Posted: 31st May 2003 07:45
I have instant-replay code already written, and it works. I'd like to have the instant replays play in Grayscale, or even Sepia. Is there a way to do this and keep the frame rate > 20fps ? I'm working with a 3d Scene.

My first attempt was futile . I used the dot command to fill the screen with the grayscale value of the underlying pixel. That runs about 1 frame every 45 minutes .

Thank yas
BatVink
Moderator
22
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 31st May 2003 13:54
Could you change the gamma and ambience to produce a similar effect? You'd never get grayscale, but you might end up with something far more stylish. You could ramp the ambience to the top to remove shading, and reduce the gamma to compensate.

Suck it and see

Thanks in advance.
All the Best,
StevieVee
The Darthster
22
Years of Service
User Offline
Joined: 25th Sep 2002
Location: United Kingdom
Posted: 31st May 2003 16:04
You could use memblocks, but then that wouldn't improve the framerate all that much.. How about texturing your objects with grey versions of the textures, just while the replay is being shown?

Once I was but the learner,
now, I am the Master.
David T
Retired Moderator
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 31st May 2003 18:12
Here are a few suggestions:

- You could use memblocks. However, I'm not expert at using memblocks - see the DBP quickstart tutorial on memblock starfields - that might be portable to DB1.

- You could try to position a ghosted, dark plain in fornt of the camera

- If you had DBP, this would be easy: create a dark grey sprite over the whole screen and use SET SPRITE APLHA to make it semi-transparent.

You are the th person to view this signature.
Programmers don't die, they just Gosub without return....

Login to post a reply

Server time is: 2025-05-19 00:51:08
Your offset time is: 2025-05-19 00:51:08