[Gambas-user] sge component and md2 file modeling software

Benoît Minisini gambas at ...1...
Sat Nov 23 00:14:42 CET 2013


Le 19/11/2013 04:39, Kevin Fishburne a écrit :
>
> Attached is an md2 model and texture exported from Blender. It loads
> properly into mm3d (Misfit Model 3D) and Quake Model Editor 0.91 (using
> Wine). It loads in GAMBAS and shows the same properties as a working md2
> (bauul.md2), yet raises signal 11 when the Draw method is executed.
>
> I've looked through the code for the Draw method in the cmd2model.c file
> of the gb.opengl.sge component (I don't know C sadly) and it looks
> relatively straightforward, though I can't imagine which line it's
> crashing on. Obviously the code is expecting something in my md2 file
> which isn't there, or there's something in the md2 file that the code
> was not expecting.
>
> Ideas anyone? And Tommy, are you still alive? :)
>

gb.opengl.sge was crashing because your model has only one frame. I 
fixed the component in revision #5967 so that it does not crash, but 
just draws the unique frame.

Now I don't have the crash anymore, but I don't see anything on the 
screen... Can you try to make a model with two frames?

-- 
Benoît Minisini




More information about the User mailing list