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.

PureGDK / DBO loading

Author
Message
Ramirez M
13
Years of Service
User Offline
Joined: 7th Dec 2010
Location:
Posted: 7th Dec 2010 16:24
Hi,
i was trying to load a DBO image but isnt working,
when i load a .X file works but no lights
iam using this command

SetCurrentDirectory ( "media" );
dbLoadObject ( "rro.dbo", 1 );
dbSetObjectLight ( 1, 0);

why isnt working?
do i have to use others programs to export lights, textures, etc?

thx and sorry for bad eng
Mistrel
Retired Moderator
18
Years of Service
User Offline
Joined: 9th Nov 2005
Location:
Posted: 7th Dec 2010 22:36
You have to add your own lighting. There is a light "0" by default. If you need better lighting try adjusting the ambient lighting, adding more lights, or setting the object to emit its own light.

Try searching the DBP board for more information on how to use the engine. Or try the code snippets board.

PureGDK also comes with several example projects that you can modify.

Login to post a reply

Server time is: 2024-03-28 23:19:03
Your offset time is: 2024-03-28 23:19:03