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.

3 Dimensional Chat / can any one tell me how to get my X files to show up in db?

Author
Message
KRiMSON iCE
21
Years of Service
User Offline
Joined: 29th Jan 2004
Location:
Posted: 31st Jan 2004 19:07
ok I been reading the manual and I try to load my objects I have creating in 3ds max, and it just give me a blank screen and stops. what am I doing wrong? I still don't know what the heck the object number is I just need help getting any 3d object to load Help!!
TANZRA
21
Years of Service
User Offline
Joined: 24th Jan 2004
Location:
Posted: 31st Jan 2004 19:16
object number is an arbitrary number you asign to that object as an identifier. So, if your trying to load the first object:

LOAD OBJECT "myobject.x", 1

TANZRA - http://www.geocities.com/crossonsd - Check out my character Design and DarkBasicPro projects.
KRiMSON iCE
21
Years of Service
User Offline
Joined: 29th Jan 2004
Location:
Posted: 31st Jan 2004 19:19
thanx
KRiMSON iCE
21
Years of Service
User Offline
Joined: 29th Jan 2004
Location:
Posted: 31st Jan 2004 19:27
ok is this correct i'm entering this code:

Load Object "myobject.x",1

but once I hit run it goes to an all black screen and nothing happens. I'm exporting using panda X is there something i'm forgetting to export or is there some other part to the code i'm supposed to enter I keep looking at sample codes but i'm just not getting any form of output from this code.
TANZRA
21
Years of Service
User Offline
Joined: 24th Jan 2004
Location:
Posted: 31st Jan 2004 19:36 Edited at: 31st Jan 2004 19:41
Try this:

*********************************************************

sync on : sync rate 60
set display mode 1024,768,32
backdrop on : color backdrop rgb(0,0,0)

load object "myobject.x", 1

do

sync

loop

************************************************************

This should get your object on screen. Default export option for Panda.

TANZRA - http://www.geocities.com/crossonsd - Check out my character Design and DarkBasicPro projects.
Tosco
21
Years of Service
User Offline
Joined: 4th Feb 2004
Location:
Posted: 4th Feb 2004 13:31
I am italian then excuse me for eventual language errors, my problem is I have just bought DarkBasic Professional and all seems to work well, except that when I try to load a directx object: LOAD OBJECT "myobject.x", 1 the object is loaded but appears allways gray or black and I am not able to texture it and neither to colour it, the same thing appens with 3ds objects. Instead with DarkBasic primitive objects (box, sphere,cone ecc...) all works well.
What may be the problem an what must I do to resolve it?
May someone help me?
John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 4th Feb 2004 13:55
Is the object UV Mapped? Does it have a texture? Have you tried SET OBJECT AMBIENT?

RPGamer


We need help! Email us! [email protected]
zircher
22
Years of Service
User Offline
Joined: 27th Dec 2002
Location: Oklahoma
Posted: 4th Feb 2004 17:17
If you want, you can e-mail the .X model to me and I'll take a look at. I've got several programs that can look at .X models as well as a small DBP viewer that I wrote. At the least, I can determine if there is a problem with the model. Does the model have an associated texture file? The model and the texture image need to be in the same directory for most models.

If you have the .X model saved in ascii format, open the file with Notepad and search for quotation marks (") this is where you will find the path data for your materials, if any.
--
TAZ

Login to post a reply

Server time is: 2025-06-28 05:31:03
Your offset time is: 2025-06-28 05:31:03