Need some help gernot

Previous topic - Next topic

rocko

Ok, I've got a level I've modelled with 3d Studio and exported to .3ds(I tried it with a .X file and the converter didn't like it too much) and converted it to .ddd format, now the problem is I made a small program to Xload the file (Trashman_Level1.ddd) and made an Ambient light with a value of 255, A camera set to 0,50,0.....etc

This is all in a while loop, and all I get is a black screen, Basically I modified the 3d Animation demo to suit a static 3d model.

 I'm 90% sure it's no problem with the code so I'm wondering, does GLbasic have a problem with .3ds files? All of the textures and everything are in the same directory as the project.

I sent ya a PM at RetroRemakes with a link to an example of the level, I'll go ahead and post it here too, this is what it's supposed to look like:

http://gorevolt.com/Rocko/Games/Trashman.rar

Kitty Hello

Oh dear. The .x file can't be converted. The converter seems to have a bug. But 3ds should work. After converting it to .ddd, you can try to view it with the dddview-project in the GLBasic project's folder.

If you don't give any light, the scene will lokk the same as in the sample you posted.

Problem is: I'm off with my work until saturday night, CET.

rocko

Thanks, I'll try viewing it with dddview. I'm sure I'll get it figured out.

rocko

Ouch....it really messed up the level during conversion. Is ddd the only supported format?

I really prefer the .X format, I've got an export plugin that gives me a lot of options for X files.

Kitty Hello

messed it up? Try pressing the keys 1,2,3 for cullmode. If '2' works, then it's your normal vectors that are wrong. You can ignore that by giving X_CULLMODE 0 then.
.ddd and .dda are the only supported formats. I wanted to keep the 3D core as slim as possible. Also, in order to read .x on Linux the same converter code would have to be used, since there is no DirectX doing it for you. And the .x format is a bitch to read. (Won't find any programs exporting that).
3ds should work quite decent, though.
What program are you using?

rocko

Yeah I tried those, the problem is the entire level is messed up. Most of it is missing, and what is left of it has messed up colors....etc

It's not the normals.

Kitty Hello

go for the chatroom

rocko

Here's the files you requested:

http://gorevolt.com/Rocko/Games/GLbasic/PandaDXExport3.rar

EDIT: I didn't see the part about the X. Format being a bitch to read :D, if you can get .3ds working easier that would work just fine....except for one little thing, Max always crashes on me when I export a 3DS with textures :S I can't win dude, I think it might be a problem with my file though, if I rebuild the scene I can probably keep it from crashing.