EasyTok - Make Level specifications

Blitz3D Forums/Blitz3D Userlibs/EasyTok - Make Level specifications

Fuller(Posted 2007) [#1]
Hi,
I bought easytok a couple of days ago and am having trouble with the CreatePhysicFromMesh() function.

1. Does the file have to be a .b3d? When I use a .b3d or even 3ds nothing appears.

2. Does the extra paremeters have to be written in the modelling program or can i set them manually in the code?

Sorry i'm not very good at figuring out help docmentations.


Filax(Posted 2007) [#2]
Hi :)

Do you follow the tutorial from the doc ? The step by step
functions are explain. And you can find the sources in
'3DS max' format. All parameter's are defined directly
under the 3D software. Look the tutorial : 3DIntegration
in the easytok doc

1. Does the file have to be a .b3d?
Yes i recommend B3D files


2. Does the extra parameters have to be written in the
modelling program or can i set them manually in the code?
The two possibility's are possible ! You can set directly
under 3Ds or other, but you can set up manually.

As the doc said :


Fuller(Posted 2007) [#3]
I dont have 3ds Max and have been using ac3d, which doesn't export b3d files.
When I load a .b3d i converted from lwo or 3ds it doesn't display it.
I'm just using:
CreatePhysicFromMesh(LoadAnimMesh("level1.b3d"))


I displays if i just load it normally so I'm guessing its not the file.
it works if I use your room1.b3d file though.

Here's the model in x and b3d, if it helps:
.X level

.B3D Level


Filax(Posted 2007) [#4]
Argh ! It's a problem because the easytok setup use the
informations stored under the objects names ! if you can
define a name under your 3D software for each object
just check that the program export correctly the different
objects+name (containt easytok specs)


Fuller(Posted 2007) [#5]
aah... So you do have to define it in the modelling program. I got the hint that you had to define it under object properties, not the object name itself.

Sorry, thanks for the help. I'll try to define it in the object name.


Fuller(Posted 2007) [#6]
Okay, i set the name of the floor of the level I made to:
[STATIC=floor]
and then exported a .3ds and a .x to see if they work.
On the .x i'm getting nothing, the cubes keep falling and level doesn't appear. On the .3ds though, the cubes bounce once and then they fall, but the level still isn't visible.


Filax(Posted 2007) [#7]
Ok i'll try to see the problem with 3DS and X but if you can
export to B3D, don't hesitate you get better results ! :) 3DS
and X are craps :/ Normal problems, no multi texturing etc...

B3D+Pipeline is the better choice to work with blitz3D,
believe me :)


Fuller(Posted 2007) [#8]
nope, no method of exporting to b3d without going through ten programs (exaggeration).
I figured out a temporary if not permanent solution. since the 3ds loads the physics and not the mesh, i will load the mesh seperately, though this makes me have to scale it correctly in the modelling program....


Filax(Posted 2007) [#9]
Just let me time to make a test with a 3DS file exported
from my software, and i'll take a look. If i get no problems
i'll post a link to download the file for help you :)

This time i'm tired (hard day) i'll take a look tomorow :)


Fuller(Posted 2007) [#10]
Is there any way to make two static meshes. For some reason i can't just merge them and rename them.


Fuller(Posted 2007) [#11]
i'm still screwing around with this, now i've made a little test thing:
http://www.fileden.com/files/2007/5/29/1124852/Test3ds.zip.zip

It seems to be repositioning the joints i create in ac3d to 0,0,0.


Filax(Posted 2007) [#12]
Hi

"Is there any way to make two static meshes. For some reason
i can't just merge them and rename them."

No you can't ! Only one Static mesh can be defined.

Else, i have made some test with 3DS files, it work
correctly here is a simple conversion (without texture !)
of the file : Simple_Scene01.b3d to 3DS file :

http://www.blitz3dfr.com/tempo/Simple_Scene01.3DS

It work with the example :
Beginning - From 3D scene 01.bb

If your hown test didn't work, it's just that you make
a mistake with the objects filenames. Just try to see
in this file the good method :) This scene include
a static mesh and some body.

I hope you like it :)

Edit :
For your test : Level.3DS it's normal if the program bug
because all the names stored under 3DS fils are broken ...

One of the advantages of the 3DS format :) Because 3DS seem
to block objects name length to 10 chars. Use B3D to not
get this problems ! Else you'll have problems like this
all the time... Maybe you can use blender to convert and
name your 3D files ? There is an exporter to B3D format.
An exporter exist too for C4D.




Fuller(Posted 2007) [#13]
i'm guessing c4d is ac3d. Where can you find this exporter? I've looked everywhere for one.
In blender, where do you rename a mesh?


Thanks for the help, i really needed it.


Filax(Posted 2007) [#14]
Try this :

http://www.blitzforum.de/forum/viewtopic.php?t=15495

For Blender i don't know where rename an object, because
i'm not using this software. (i have a problem with the GUI..)


Fuller(Posted 2007) [#15]
For Blender i don't know where rename an object, because
i'm not using this software. (i have a problem with the GUI..)


lol, me too.

oh, thats what you meant by c4d. That won't do me any good i don't have it.

I'll google renaming a blender object or something, see if i can find a tutorial.


Fuller(Posted 2007) [#16]
Found the little thing:




Filax(Posted 2007) [#17]
Hum ok try this way and tell me if it's ok :)


Fuller(Posted 2007) [#18]
drat, i'm getting nothing, no physics, no mesh. I'll see if i can find the problem...


Filax(Posted 2007) [#19]
Arrghhh ! :) Can you post an object exported by blender ?
B3D if possible or 3DS. I'll try to check the objects names.

If you don't have a model viewer try this to check objects
names.

http://www.blitz3dfr.Com/tempo/B3DViewer.zip

(There is a little bug with .X files...)


Fuller(Posted 2007) [#20]
ok, blender doesn't export object names, just a single one named root.