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 / the new dbpro load object standard?

Author
Message
Cliff Mellangard 3DEGS
Developer
18
Years of Service
User Offline
Joined: 20th Feb 2006
Location: Sweden
Posted: 10th Feb 2008 20:36
i have missed this before as i dont use the help file for simple commands like this.
and got a bit amazed as they now lately have updated the help files.
but to the question wath is the new dbpro out of the box standard?
i have tryed it out and commands that didt work before now does.
getting limb texture name and so on.
-------------------------------------------------------------------
This command loads a model into the specified 3D object number. You must specify a model in the X, 3DS, MDL, MD2 or MD3 format. Once you have
loaded the 3D object file successfully, you can use the specified 3D object number to position, rotate, scale, animate and manipulate your 3D object.
The object number should be specified using an integer value. The optional Load Mode parameter controls how the data loaded from the model is
handled, and which behaviour is required. An additional Reduce Texture mode also controls a run-time scale down of the loaded texture plate. Be aware
that when you load an object that has associated textures, you are handing over texture management to the engine which will attempt to save texture
memory by re-using textures previously loaded from the same filename. To take over texture management, use LOAD IMAGE and TEXTURE OBJECT
commands.

Load Mode:
0-DBV1 legacy behaviour
1-DBPro : out of the box new pro standard
2-Leave states alone to keep material/diffuse effects
3-Leave states alone to keep material/texture effects
4-Ensure object blends texture and diffuse at stage zero
5-Leave states alone to keep multi-material effects

Reduce Texture Mode:
0-No Reduction
N-Divide By N

Syntax

LOAD OBJECT Filename, Object Number
LOAD OBJECT Filename, Object Number, Texture Mode
LOAD OBJECT Filename, Object Number, Texture Mode, Texture Reduce
------------------------------------
does anyone know where i can get an full list of new commands and stuff .
as i seam to have missed alot of the new stuff
Vesper103
16
Years of Service
User Offline
Joined: 21st Feb 2008
Location: Beloit WI
Posted: 25th Feb 2008 17:28
...all the commands are in the help file of DBP

Login to post a reply

Server time is: 2024-11-26 03:52:19
Your offset time is: 2024-11-26 03:52:19