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 / DarkBasic Pro FSAA DLL

Author
Message
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 26th Jan 2003 07:50
I know this is more of a flashy feature than anything worth while, and i've probably gotta set this up differently to superseed DarkBasic Professionals Render engine ... but please try this out and help me out

RavenD3D

first of all the function is ->
Set Anti Aliasing() - yup i've made it as simple as a DarkBasic Pro command ... this will set the screen to FSAA at 2x
i'll edit this later so you can choose from 2x-8x
so you'll have one to check and the other to produce the effect

well anyways, once you do that then SET DISPLAY MODE, because you need a refreshed 3D Render Window

and hopefully et voila, you now have semi-lett jaggy games.
i'm not sure when you'd use it because you can get less jaggies at 800x600 and its quicker ... but its a fun effect

also i've programmed this with DirectX8.1 libraries, but i have DirectX 9.03 installed so i'm not sure if this will cause incompatibilities.

lemme know how you get on ... and feel free to post a screenshot of it working.
Anata aru kowagaru no watashi! http://members.lycos.co.uk/timesaga/darkbasic/gir.gif[/img]
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 26th Jan 2003 14:07
Sorry to be stupid but have I done something wrong.

I presume this is a DLL plugin?

I placed it in the plugins-user folder and created the necessary keywords ini for the editor, but it still doesn't recognise the SET ANTI ALIASING command.

NOBODY has a forum name as stupid as Darth Shader. I do.
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 26th Jan 2003 14:32
Raven, you've implemented these as functions but without a return type - quick fix - remove the '[' from the function name and it will become a command.
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 26th Jan 2003 18:16
i'm confused ... it says in the SDK for the () you put a [ after the function name.

am i to assume this is only on things that return or accept values?

well anyways i took out the [
lemme know if it works RavenD3D 1.0.2.alpha

if this work i think i'll have something a little more useful to make

Anata aru kowagaru no watashi!
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 26th Jan 2003 18:30
You only do it for functions that return values.

If a function doesn't return a value, then it isn't a function - it's a command.

... and the link on your page is not a link!
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 26th Jan 2003 18:54
Downloaded and tried it - compiles OK, but the program just exits immediately with no error messages.
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 26th Jan 2003 20:40
Indeed it crashes here too.

This error info might help:

Error occured in: ravenDx9.dll
Exception Code: 0xc0000005
Address: 0x0000000000fb108c (Offset 0000108c)

Raven - did you test this on your DBP setup?

NOBODY has a forum name as stupid as Darth Shader. I do.
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 26th Jan 2003 20:42
i don't have Pro ... i can't test it, otherwise i wouldn't ever release such buggy software.

i think i know whats wrong thou - might take a while to compensate for

Anata aru kowagaru no watashi!
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 26th Jan 2003 20:44
"i don't have Pro ... i can't test it, otherwise i wouldn't ever release such buggy software."

Lee & Mike certainly had copies of DB Pro, and they did

NOBODY has a forum name as stupid as Darth Shader. I do.
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 26th Jan 2003 20:45
and another thing... how the hell can you post so often, it is almost as if your job is to be a forum troller on Apollo

NOBODY has a forum name as stupid as Darth Shader. I do.
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 26th Jan 2003 21:02
lmao... about DBS - but i'm not under pressure develop this, and normally i'd actually keep something like this to myself and select friends until it is working without problems.

Without Pro i unfortunatly don't have that luxary - still waiting from Amazon.co.uk

and until i get back to the states i'm basically have no "work" as such ... just what i'm doing for KG, Rose and Myself.

sides i type quite fast so whenever i have time i make posts in like 3-4forums at once

Anata aru kowagaru no watashi!
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 26th Jan 2003 21:45
Normally I would suggest use the demo, but I think you said yours had run out...

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 26th Jan 2003 22:07
yup has... and from what i've been told the demo is more unstable than the full product - as i've not used the full thing since patch2 i can't really comment.

i'm trying to find the time when i can actually have my system down long enough to re-install the OS so the trial starts again. Problem is finding the time ... well right now the new path is going along the lines of rather than editing and wanting the user to recreate the render environment - it'll do it within the function, this should prevent the problems no?

perhaps i should send Lee the code and ask for his help
i don't normally like to do this but ... thats the actual function, just without the external.

Now the main pointers are defined at the top of the DLL as they'll be global for the needs - so its obvious where its comming from.


i'm pretty sure whats happening is the pointers are overwriting DBpro's render instance ... i'm not entirely sure.

well have fun becuase over the next day i'm working on my MFC stuff

Anata aru kowagaru no watashi!

Login to post a reply

Server time is: 2025-05-18 18:22:25
Your offset time is: 2025-05-18 18:22:25