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.

DLL Talk / Possible to access/set objects attributes from a custom DLL?

Author
Message
Ralen
21
Years of Service
User Offline
Joined: 22nd Jul 2003
Location:
Posted: 12th Nov 2006 14:24
Have a few ideas I want to turn in to a custom DLL set.

Just curious is it possible to set things like the texture, bump map, diffuse, emissive, shader, from a custom DLL? Or Is that something where I can onlu use the DBPro commands to set them?

I KNOW DBPRO HAS THESE FUNCTIONS ALREADY, but I want to create a system where I can save all of this information to a file. And basically do bulk object setup for a level/scene in just command something like

load scene materials(matfile as string) and it will go through and setup all of my objects various settings.

Whats the point?

One of DBPro drawbacks is its poor asset management. Meaning I have to call anywhere from 2 to 10 various DBPro functions to do what I want to do now. VS making a plugin that does it all for me.

Not meaning you guys do it, meaning I'm researching if its even possible first.


John Y
Synergy Editor Developer
22
Years of Service
User Offline
Joined: 4th Sep 2002
Location: UK
Posted: 12th Nov 2006 21:41
See if you can find an XML plugin. XML is perfect for asset management.

Get the new DarkBasic Professional IDE free until October!
Http://synergyide.thegamecreators.com
Http://omegabasic.thegamecreators.com
Ralen
21
Years of Service
User Offline
Joined: 22nd Jul 2003
Location:
Posted: 13th Nov 2006 11:24
Actually thats not what I'm really look for, appriciate the help.

But found I can do what I want with the shader system so no biggy.

Just basically wanted a why to set a bunch of info about a object and not have to apply that every time the object is loaded. The shader system does it perfectly.

Was actually a very good jumping off point to get me launched in to shaders.

I think I will use the XML plugin idea for a GUI though.

Will probably make my own though.


DaDrivel
18
Years of Service
User Offline
Joined: 15th Aug 2006
Location:
Posted: 13th Nov 2006 15:21
I hope I understood your Question right
You can call DBP-Functions by receiving the Pointer to the Function with GetProcAdress. You don't even have to Load the DLL, because they are already loaded. Handles to them are in the globstruct.

DaDrivel
jasonhtml
20
Years of Service
User Offline
Joined: 20th Mar 2004
Location: OC, California, USA
Posted: 15th Nov 2006 01:52
use the search button. i made a post on this a while ago and got some pretty indepth help


Thread: http://forum.thegamecreators.com/?m=forum_view&t=78971&b=8&p=0
*New Website Coming Soon*
Ralen
21
Years of Service
User Offline
Joined: 22nd Jul 2003
Location:
Posted: 16th Nov 2006 01:38
Thanks Jasonhtml, thats exactly what I was looking for. Thanks for point me in the right direction .

heres your star


Login to post a reply

Server time is: 2024-11-22 11:09:56
Your offset time is: 2024-11-22 11:09:56