|
DeleD Community Edition Forums
|
View previous topic :: View next topic |
Author |
Message |
sonic91 Member
Joined: 19 Jan 2007 Posts: 15
|
Posted: Sat Mar 31, 2007 2:08 pm Post subject: exporting to dark basic professional |
|
|
i export simple levels i make in deled lite to a project folder that i am using in a project for dark basic professional. all my previous objects made in deled lite seem to load correctly, but now i have one that refuses to load 99% of the time. for those who are familiar with dbpro, i get a runtime error, stating that the 3d object could not be loaded at that line number. i seem to notice it mainly happens when i use rectangles (but not all the time, as one of the previous levels has a rectangle floor and that has loaded without problem since the beginning) , but now that i have replaced them with flat cubes, i get the same problem, although this problem has only arisen in the last few hours. i have been able to load the level object made with flat cubes into dbpro for the last few days without any problem. what may be causing the problem? _________________ "Fight the good fight of faith,
Lay hold on Eternal Life."
-1 Timothy 6:12-
God Bless. |
|
Back to top |
|
|
sonic91 Member
Joined: 19 Jan 2007 Posts: 15
|
Posted: Sat Mar 31, 2007 4:55 pm Post subject: |
|
|
i reinstalled deled lite (now it's the newest version) and the object exports fine as an .x file, however, the textures don't show on it. it shows up black when loaded into dbpro. when i exported, i selected to export the textures. how can i fix this? _________________ "Fight the good fight of faith,
Lay hold on Eternal Life."
-1 Timothy 6:12-
God Bless. |
|
Back to top |
|
|
Paul-Jan Site Admin
Joined: 08 Aug 2004 Posts: 3066 Location: Lage Zwaluwe
|
Posted: Tue Apr 03, 2007 7:55 am Post subject: |
|
|
Hmmm, textures seem to show up just fine (running DeleD 1.61, DarkBASIC Professional Trial 1.062), here are some suggestions:
1. Can you check if the textures are actually exported to the folder where you expected them to be?
2. Are your textures in a darkbasic compatible format?
3. Are you modifying the textures in your code? Here is the very basic code sample I use to load and test .x files from DBPro:
Quote: |
set display mode 1024,768,32
sync on : sync rate 60
load object "ring.X",1
xrotate object 1,270
fix object pivot 1
rotate object 1,0,0,0
set normalization on
set camera range 1,10000
color backdrop rgb(32,32,64)
position camera 0,110,-275
point camera 0,110,0
do
yrotate object 1,a# : a#=a#+1.0
sync
loop |
Hope that helps. If not, let us know! You can also try posting your questions at the Darkbasic forums, they might have some more expertise than us... |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|