i have problems with the demos.

BlitzMax Forums/MiniB3D Module/i have problems with the demos.

art <><(Posted 2007) [#1]
i have problems with the demos.

appears the following message:

unhandled exception: unable calculate text size


the lines are like this:
b=loadbrush("b3dlogo.jpg")
or
local mesh:tmesh=loadmesh("media/g63.d3d")

thanks.


bradford6(Posted 2007) [#2]
.d3d is not a supported file format
make sure the images are in the path.


Barbapapa(Posted 2007) [#3]
I think he means .b3d ;)

- did you use the module version or the minib3d.bmx?
- did you set the path for either ones correctly?
- what BMax version do you have?


art <><(Posted 2007) [#4]
version v040 runs well.

my problem is with v041.

at the moment i will continue with v40

thanks to answer to me.


Chris C(Posted 2007) [#5]
have you checked the capabilities of you 3d hardware, meet people 1/2 way give them at least a chance to help you 1 line of an error message and 1 line of code could be anything....


simonh(Posted 2007) [#6]
Well if it worked in V0.40 but not V0.41 that's a good clue. A small change was made to LoadTexture so I should be able to pin it down.


Picklesworth(Posted 2007) [#7]
If you open the source files for the included modules containing the crashing functions (TMesh.bmx and TBrush.bmx), the IDE may highlight more precisely where those errors are...


bradford6(Posted 2007) [#8]
art,
just as with any other bug report. please post a bit of runnable code that highlights the problem. It is best to isolate it and just post the piece that does not work how you expect it to. there are some very helpful people in these forums.

Thanks