Quill 3D textures

Community Forums/Developer Stations/Quill 3D textures

PowerPC603(Posted 2003) [#1]
I just bought Quill3D.

I created a sphere with a texture on it.
I exported the sphere to "c:\test\Sphere.b3d"
My texture is located here: "c:\test\Textures\Texture1.bmp"

When the B3D file is saved, I loaded the sphere.b3d file into Notepad, just to see if Quill3D keeps the directory structure (full or relative paths).

My texture is listed in the file, but there's no directory structure, so if I want to use my object in Blitz3D,
I would have to move my texture-file into the same directory as the object.

Is this always true, or is there a solution to this?

Ross C(Posted 2003) [#2]
I like it best when i export the model, with the texture, then load in the texture in blitz and apply it to the model. I think it gives more control over it.

JaviCervera(Posted 2003) [#3]
ChangeDir "c:\test\Textures\"
ChangeDir dir$

Zo Zo Zee Zar(Posted 2003) [#4]
Hardcoding locations is very bad though. Say someone installed your game onto their "D:\games\something" folder and your app goes looking in the c: drive for textures.

Ideal way is have your app/game folder have the .exe plus additional folders like "textures" "meshes" etc. then change dir$ to "\textures" etc.

Local pathnames is the way.

Rob(Posted 2003) [#5]
Beware the dark side of the turnip my son.

Zo Zo Zee Zar(Posted 2003) [#6]
once you start down the path of the turnip forever will it dominate your destiny (also you will spell funny and have spots).