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 / help with texturing the 3d object

Author
Message
younis12
16
Years of Service
User Offline
Joined: 23rd Feb 2010
Location:
Posted: 22nd May 2010 19:50
hi

how i can texture my 3d object exatcly as the texture in the 3d studio max program

for example:
the attached picture shows the object textured in the 3d studio max program

but when i convert it to .x everything become white

why?
bergice
19
Years of Service
User Offline
Joined: 5th Jun 2007
Location: Oslo,Norway
Posted: 23rd May 2010 02:53
Make sure you use formats supported both by 3dws and dbp and the textures have to be the same dimensions on both the x and y axis i think. And also put the textures where you put your exported model.

A good game designer can make all the diff-erence in the world mister freeman
younis12
16
Years of Service
User Offline
Joined: 23rd Feb 2010
Location:
Posted: 23rd May 2010 10:54
i have moved the pictures to the exported x folder

but only some pictures got textured
nad others still white
younis12
16
Years of Service
User Offline
Joined: 23rd Feb 2010
Location:
Posted: 23rd May 2010 10:56
in darkbsic pro

my code for the object is

load object "office.x",1
position object 1,100,100,100
scale object 1,500,1000,500
sc_setupcomplexobject 1,1,1

do i need anything else?
haliop
User Banned
Posted: 23rd May 2010 12:48
sc_allowobjectscaling 1
or
sc_useobjectscaling 1
something like that.
younis12
16
Years of Service
User Offline
Joined: 23rd Feb 2010
Location:
Posted: 23rd May 2010 21:21
i did like you said

but the same problem

here is a picture to explain what iam saying

and every texture image is in the game folder but i dont know why only some picures got textured while the others are not

Login to post a reply

Server time is: 2026-07-25 16:19:20
Your offset time is: 2026-07-25 16:19:20