Example problem

BlitzMax Forums/MiniB3D Module/Example problem

Tricky(Posted 2009) [#1]
I was just analysing MiniB3D in order to see if it's the right engine for my next project.

For that the examples seemed the perfect thing to try out.... NOT!!!

All of them result into a streaming error when the LoadMesh command is used.


Addition:
When I look into the the debug data that the IDE shows me, I can see that the method "ReadBytes" is the one who throws this error.
(If I need to open the data of the other functions, tell me)

The data I can get is:
Function Max2d
Function LoadMesh
Function LoadMesh
Function LoadAnimMesh
Function LoadAnimB3D
Function ReadTag
Function ReadByte
Function ReadByte
Function ReadBytes
- Local Self:TStream = $003c5360
- Local Buf:Byte Ptr=$bffe814
- Local count:Int=1
- Local t:Int=1
- Local n:Int=0

As far as I can analyse this it must be because the local variable "n" is 0 (that's what the source tells me). But how or why it's 0 and thus causing this error, I don't know... But it doesn't help me to test all this :(


jkrankie(Posted 2009) [#2]
pretty sure there's a fix here:

http://www.blitzbasic.com/Community/posts.php?topic=83935

Cheers
Charlie


Tricky(Posted 2009) [#3]
Thanks a lot my friend....
I got them to work now, so I can examine B3D well...