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

------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to