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.

Newcomers DBPro Corner / Objects, meshes + limbs ...

Author
Message
davehart
21
Years of Service
User Offline
Joined: 6th Feb 2003
Location: United Kingdom
Posted: 13th Feb 2003 20:01
I have been experimenting with the trial version of dbpro for about a week now. now im a bit bored of bouncing boxes around the screen and want to get something more advanced happening. so i have a couple of questions :

1) Want is the relationship between objects, meshes and limbs. does an object contain a number of limbs and each limb a mesh?

2) Is it posible to write vertex data? e.g. to create custom file loaders, my guess is that it has something to do with memblocks and meshes. Plus would it be fast enough to implement a dynamic vertex buffer, for stuff like terrain LOD?

any help would be great. cheers.
Richard Davey
Retired Moderator
22
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 14th Feb 2003 02:09
Hi,

All objects have a mesh at the heart of them. Even your basic box. It's the very structure of the object.

A limb is essentially just another object that is tied to a parent object so you can move/rotate/scale them in unison. Limbs and parent objects both have meshes (which can be the same or independant, it doesn't matter which).

An object will not contain any "limbs" unless you add them.

Yes it's possible to alter the mesh of an object (i.e. alter it's vertex data) and yes you would would the "make memblock from mesh" command, make your alterations and then update the object accordingly. It is fast enough for real-time deformation for sure. The scale of which depends mostly on (a) your object and (b) your modification - is it intensive or heavy on the math for example? Only you can tell.

Cheers,

Rich

"Gentlemen, we are about to short-circuit the Universe!"
DB Team / Atari ST / DarkForge / Retro Gaming

Login to post a reply

Server time is: 2024-11-24 03:12:57
Your offset time is: 2024-11-24 03:12:57