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 / Could this be converted

Author
Message
richardneail
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 29th Oct 2003 12:33
Hi,

Do you think this could be converted to a dll.

http://www.tokamakphysics.com/

Rich

You might never win but if you give in will you ever know ??????
OSX Using Happy Dude
22
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 29th Oct 2003 14:40
Didn't someone else ask that somewhere else ? Its doubtful whether it would be possible.


Avatar & Logo by Indi. Insert witty comment here...
richardneail
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 29th Oct 2003 17:00
No that was a different thing that was programmed in Blitz.

This a number of Lib files so I dint know if it could be made into a DLL?

Rich

You might never win but if you give in will you ever know ??????
swdave
23
Years of Service
User Offline
Joined: 6th Oct 2002
Location: United States
Posted: 31st Oct 2003 05:46
Their license suks, maybe this is sponsored by Milton-Bradly or something.
adr
23
Years of Service
User Offline
Joined: 21st May 2003
Location: Job Centre
Posted: 31st Oct 2003 15:28 Edited at: 31st Oct 2003 15:33
I asked it a very long time ago. The topic kinda died off when we realised that the library would probably need direct access to the object's data; I sincerely doubt it works by object numbers

However, if I were clever enough to write a physics engine I'd make it non-dbp reliant in such a way that you could create pseudo objects. Basically, instances of object classes whereby member variables are calculated and member functions either progress or report on the object in question's simulation. As the DBP coder creates new objects, they're simply pushed onto a STL Vector array (god I'm lazy) and each pseudo object is essentially an addressable set of numbers & functions.

I don't know much about rigid body physics, but I reckon you could just assume everything is a box with a mass and shock-absorption rating (or whatever). There's no real need for direct access to the object's definition data if we're gonna make a quick n dirty physics engine.

But then again, someone else is already doing it, so we can just wait

Can I ask you a Question?
What is it?
It's an interrogative form of sentence, used to test knowledge. But that's not important right now.

Login to post a reply

Server time is: 2026-07-26 13:02:12
Your offset time is: 2026-07-26 13:02:12