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 / DAP Feature Demo / What kind of commands would you like to see?

Author
Message
Aaron Miller
19
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 23rd Mar 2007 10:39
Well.... I decided to release a simple demo which showed 1 simple feature. This feature is the ability to render the dbpro window to another window, and is shown here.


Technically, this demonstrates 3 features, 1 is the dynamic objects system, and the 2nd, is the dynamic matrix system.... 3rd being the render to window system.

The render to window system uses a low level of access to direct3d 9, from BASIC.


File attatched.



This uses some functions from another one of my plugins, that plugin was used in order to create the 2nd window. Other than those 2 plugins, I dont think any other plugins are used.




Cheers,

-db

PS: This thread was created to inform people of a plugin being developed. My request is that people offer advice to make it better, or command sets too.

Enter my forums here.
Roxas
19
Years of Service
User Offline
Joined: 11th Nov 2005
Location: http://forum.thegamecreators.com
Posted: 23rd Mar 2007 12:14 Edited at: 23rd Mar 2007 12:21
Oh my god! Theres already demo. Tests now!!

*edit* ok test results!

My crappy computer has old CPU,765 ram (or sumthing),Radeon 9250 GPU

My spinning cube + matrix on one window 90 fps *sigh*

Your Spinning cube + matrix + two windows 250 fps!!! SIMPLY AMAZING!!!



Reality Forgotten
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 28th Dec 2005
Location: Wichita Falls TX
Posted: 23rd Mar 2007 18:19
Very cool, I get around 1800 fps in the main window. and it did not tell me what it was in teh second window but i am assuming it's around the same.


Aaron Miller
19
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 23rd Mar 2007 22:05
Thanks.


Thats the result of my DAP plugin without culling.


If you want to see what it is in the second window, I recommend using FRAPS.




Cheeers,

-db

Enter my forums here.
Roxas
19
Years of Service
User Offline
Joined: 11th Nov 2005
Location: http://forum.thegamecreators.com
Posted: 24th Mar 2007 00:47
oh btw.. Can u show us some Terrain culling ? (.x or .dbo terrain perhaps?)



Agent Dink
21
Years of Service
User Offline
Joined: 30th Mar 2004
Location:
Posted: 24th Mar 2007 01:05
Hmmm, it displays about 600 fps in window 1 with DBP's counter. But I load fraps and it tells me both windows are over 999... Something is going wrong with fraps or DBP's counter lol. Anyhow. I can see this as being really useful DBu2k6. Good job Any hints on what else will be in your plugin?

I have no signature...
JerBil
21
Years of Service
User Offline
Joined: 8th May 2004
Location: Somewhere along the Z axis...
Posted: 24th Mar 2007 01:34
Around 2500 fps
Gateway 5032 WInXP (MCE) 1gig
eGeForce 7950 GT Superclocked

Ad Astra Per Asper
Aaron Miller
19
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 24th Mar 2007 02:56
@The Full Metal Coder Roxas
I certainly can. The first thing I need though is a good terrain to show culling on... I can generate a T. Ed terrain, but, I dont know if that would look good or not.


I'll find a terrain to use.


@Agent Dink
Fraps tells me the same thing strangely. But just assume fraps to be a little higher than it should be.

As for what will be in the plugin:
- Dynamic System (Objects, images, memblocks, matrices, etc)
- Game Type Templates (Like, a FPS camera control, Camera control for third person, Gun to screen, platform (2d/3d) controls, etc)
- Physics, AI
- Culling System
- Plugin System (For example, Blender/Wings have plugins, you can have a plugin system for your games/apps)
- Terrain System
- GUI System
- Extended Controls System (Retrieve image widths, heights, paste an image into an image without using the screen, etc)
- Game Console System (Opens up a "window" within the DBP window, lets you type in it, and returns the string)
- Blendable Textures for Matrices (Already done through DBP code, but not through C++)
- Antialiasing
- Low level Direct3D Access (Down to the vertex buffers, and beyond)
- And MUCH more




Alot of this has already been done actually. The physics is going to be rather simple, same with the AI. It will be customizeable though.



UNOFFICIAL DAP NOTE
DAP was originally planned to allow access to OpenGL for seperate windows than the dbp window as well... Rather this is added or not still depends. While such a thing is most certainly possible, and doable, the added support for the extra commands still depends.




@JerBil
Thank you.





Cheers,

-db

Enter my forums here.
Darth Vader
20
Years of Service
User Offline
Joined: 10th May 2005
Location: Adelaide SA, I am the only DB user here!
Posted: 24th Mar 2007 03:14
Sorry for my ignorance but this is a plugin? And it's adding new features to DBP? And what exactly is,

1. Dynamic System?
2. Culling?

Will it be free?

Is it going to make DBP have OpenGL access?
Thanks and sorry that I'm a noob!
lol


Aaron Miller
19
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 24th Mar 2007 03:21
The dynamic system will make it so that you will never have to have a predefined object number for each object, ever again. (In simple explanation)


Culling is the process of hiding surfaces which wont be rendered, so that the game saves some fps in the graphics processing.



As for OpenGL access, im not sure. It might. But, no promises.



Cheers,

-db

PS: No, it will be around $20 (USD). A fair price I think.

Enter my forums here.
Darth Vader
20
Years of Service
User Offline
Joined: 10th May 2005
Location: Adelaide SA, I am the only DB user here!
Posted: 24th Mar 2007 03:25
Thanks for that!
Hey I'd pay $100 to get antialiasing by itself!
Can't wait for it to be done!


Agent Dink
21
Years of Service
User Offline
Joined: 30th Mar 2004
Location:
Posted: 24th Mar 2007 04:11
Wow, sounds excellent!

I have no signature...
Aaron Miller
19
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 24th Mar 2007 04:44
@Darth Vader
Heh, looks like now you wont have too.

Thanks.

@Agent Dink
Thank you.




Cheers,

-db

Enter my forums here.
Lost in Thought
21
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 24th Mar 2007 10:52
If you get the culling in and it works great, i'll buy it for that if nothing else. My open source culling code is quite fast, but I'm sure it can be faster with c++ code.

Aaron Miller
19
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 24th Mar 2007 10:58
Another feature is planned as well, which I forgot to mention.


DAP will feature the ability to control the detail/polygon count of your objects.



There will be a system, where, the further away an object is from the camera, the less detail it will have... Sort of like mipmapping, but for objects.



This is very good, and very possible.





Cheers,

-db

Enter my forums here.
Agent Dink
21
Years of Service
User Offline
Joined: 30th Mar 2004
Location:
Posted: 24th Mar 2007 16:30
Consider me a customer DB user 2006+

If you can answer this next question the way I hope you will, I might die.

Is your culling system going to cull polygons not visible when they are behind others?

I have no signature...
Aaron Miller
19
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 24th Mar 2007 20:42
Though I am working on that, the maths involved might basically cause the objects to be rendered twice (In time terms).


Where as, if the objects lose detail, the further away they are, that would be quicker, and probably more efficient.



Cheers,

-db

Enter my forums here.
Lost in Thought
21
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 25th Mar 2007 10:04
Quote: "Though I am working on that, the maths involved might basically cause the objects to be rendered twice (In time terms).


Where as, if the objects lose detail, the further away they are, that would be quicker, and probably more efficient."


Agreed, occlusion culling on non-CSG objects is madness. The LOD and basic frustum culling will help out alot. Especially since the 2 can be easily ran off the same test code. You can have both with very little CPU difference in load from just 1 or the other.

TATO 4 EVER
18
Years of Service
User Offline
Joined: 7th Dec 2006
Location: Montreal
Posted: 27th Jun 2007 20:19
simply amazing!,
i got ~4200 max fps on each window!
i drop one of the 2 window in my second desktop ( not visible ) and my fps raise a lot! about 800 fps!, objets of camera range are not draw at all, then i got more than 4000 fps, beatifull...
ill buy this plugin only for 3 reasons:
dynamic objets,
AA,
culling system,

PS: what about a math.h matematic functions styles.
What about Quartenions?
Keep working hard! ^^
@+



Forgotten Memories W.I.P
Aaron Miller
19
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 28th Jun 2007 02:02
lol, I'll go ahead and try to add in quartenions. Glad you got such a high fps.


Cheers,

-naota

Mr Kohlenstoff
19
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Germany
Posted: 28th Jun 2007 12:49
Wow, this sounds fantastic, jey, I will buy it!
I get around 1500 fps btw..

Visit the DBPro - Speed up your game-Thread. http://forum.thegamecreators.com/?m=forum_view&t=88661&b=1
Aaron Miller
19
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 29th Jun 2007 01:02
@Mr Kohlenstoff
What are your computer's specs? Thanks


Cheers,

-naota

GatorHex
20
Years of Service
User Offline
Joined: 5th Apr 2005
Location: Gunchester, UK
Posted: 29th Jun 2007 01:22
235 fps Pentium M 1.5 + Intel GMA915

While your about how can you tell Dev C to compile smaller code? ie. does it have a compile debug and release option like visual c?

Aaron Miller
19
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 29th Jun 2007 02:16
There is an optimisation level in the compiler's settings. While in the compiler's settings, I recommend you look for various other options which can be set.


Cheers,

-naota

Login to post a reply

Server time is: 2025-08-08 10:50:03
Your offset time is: 2025-08-08 10:50:03