[Gambas-devel] problems with new gb.sge (Simple Game Liobrary) component.

Tomek tommyline at ...674...
Thu Mar 28 08:56:45 CET 2013


Hi Jussi,
What GPU is on your card?
Could you try to set screen.framerate in main sub to some lower number 
and see what happens?

Tomek.

On 28.03.2013 00:13, Jussi Lahtinen wrote:
> Umm...  15757 frames in 5,0 seconds =   3151,400 FPS
> And it made my computer to emit quiet high pitched noise, which I have 
> never heard before.
> My video card is passively cooled, so it's not fan.
>
> Jussi
>
>
>
>
> On Thu, Mar 28, 2013 at 12:09 AM, Fabien Bodard <gambas.fr at ...176... 
> <mailto:gambas.fr at ...176...>> wrote:
>
>     I've try the example :-)... it work well ... 60 fps on my machine.
>
>     I think you must to embed the init process in the screen class, to
>     simplify the user work.
>
>
>     ogre as new md2mesh
>
>     ogre.loadtexture("path")
>
>     ogre.addsequence("walk",0,100, 5000)  (seqname, firstframe,
>     lastframe, duration of the sequence in ms)
>
>
>     public sub key_press
>     if key.code = key.up then
>         ogre.move(x,y,z)
>        ogre.sequence = ogre["walk"]
>        ogre.start
>       endif
>
>     end
>
>
>     public sub screendraw
>
>       ogre.draw
>
>     endif
>
>
>     an internal timer increase the frame and the interpolation .
>
>     but we can imagine also some way to force on a choosen sequence frame
>
>     ogre.stop
>     ogre.frame=3
>
>
>     well this is just some ideas to simplify the api but not the
>     better way lol it's just matter to think
>
>     the opengl class must have to be used at less at possible :-).
>     Good work !
>
>
>
>
>     2013/3/27 Fabien Bodard <gambas.fr at ...176...
>     <mailto:gambas.fr at ...176...>>
>
>         I didn't say you must use engine such as ogre an independent
>         one is better but long to do.
>
>         Just keep in mind that the most of the game rendering and
>         scene calculating must be done by your class...  in C or c++
>
>         Le 27 mars 2013 09:22, "Tomek" <tommyline at ...674...
>         <mailto:tommyline at ...674...>> a écrit :
>
>             On 27.03.2013 07 <tel:27.03.2013%2007>:37, Fabien Bodard
>             wrote:
>>
>>             Yes thank you.  We have some work done in the svn
>>             Gb.g3d... take a look in the exp branche. It is based on
>>             ogre. And have stuff done to load mesh in gambas archive.
>>
>>             Take a look to blitzbasic and blitz3d for implementation
>>             ideas. But do not forget to stay in the object kiss
>>             Concept of gambas.  We are here to remember you that.
>>
>>             Le 27 mars 2013 07:52, "Kevin Fishburne"
>>             <kevinfishburne at ...590...
>>             <mailto:kevinfishburne at ...590...>> a écrit :
>>
>>                 @Tomek Sorry to interject into the thread so rudely,
>>                 but I'd like to say
>>                 thanks for giving this some attention. With the
>>                 coming of Valve's
>>                 "Steambox" and the native Linux Steam client I think
>>                 it's only a matter
>>                 of time before GAMBAS proves itself a worthy language
>>                 (with respect to
>>                 compatible/available market share) for game
>>                 development. Awesome effort
>>                 and I'm proud of everyone here helping you jump the
>>                 technical hurdles of
>>                 implementing your component.
>>
>>                 --
>>                 Kevin Fishburne
>>                 Eight Virtues
>>                 www: http://sales.eightvirtues.com
>>                 e-mail: sales at ...590...
>>                 <mailto:sales at ...590...>
>>                 phone: (770) 853-6271 <tel:%28770%29%20853-6271>
>>
>>
>>                 ------------------------------------------------------------------------------
>>                 Own the Future-Intel® Level Up Game Demo Contest 2013
>>                 Rise to greatness in Intel's independent game demo
>>                 contest.
>>                 Compete for recognition, cash, and the chance to get
>>                 your game
>>                 on Steam. $5K grand prize plus 10 genre and skill prizes.
>>                 Submit your demo by 6/6/13.
>>                 http://p.sf.net/sfu/intel_levelupd2d
>>                 _______________________________________________
>>                 Gambas-devel mailing list
>>                 Gambas-devel at lists.sourceforge.net
>>                 <mailto:Gambas-devel at lists.sourceforge.net>
>>                 https://lists.sourceforge.net/lists/listinfo/gambas-devel
>>
>>
>>
>>             ------------------------------------------------------------------------------
>>             Own the Future-Intel® Level Up Game Demo Contest 2013
>>             Rise to greatness in Intel's independent game demo contest.
>>             Compete for recognition, cash, and the chance to get your game
>>             on Steam. $5K grand prize plus 10 genre and skill prizes.
>>             Submit your demo by 6/6/13.http://p.sf.net/sfu/intel_levelupd2d
>>
>>
>>             _______________________________________________
>>             Gambas-devel mailing list
>>             Gambas-devel at lists.sourceforge.net  <mailto:Gambas-devel at lists.sourceforge.net>
>>             https://lists.sourceforge.net/lists/listinfo/gambas-devel
>             Hi Fabien,
>             What I had in mind when started writing this, was pure
>             simplicity, which means every class is independent of the
>             world and can be used on its own. I tried Ogre, Ode,
>             Irrlicht, and all of them seemed quite complicated to use.
>             And I didn't know about your effort just until some few
>             days ago. Is there any example of how to use gb.g3d engine?
>             I have particle system implemented too, I will commit it
>             as soon I'll update the names to match Benoit's syntax.
>
>             Thank you
>             Tomek Kolodziejczyk.
>
>             ------------------------------------------------------------------------------
>             Own the Future-Intel® Level Up Game Demo Contest 2013
>             Rise to greatness in Intel's independent game demo contest.
>             Compete for recognition, cash, and the chance to get your game
>             on Steam. $5K grand prize plus 10 genre and skill prizes.
>             Submit your demo by 6/6/13.
>             http://p.sf.net/sfu/intel_levelupd2d
>             _______________________________________________
>             Gambas-devel mailing list
>             Gambas-devel at lists.sourceforge.net
>             <mailto:Gambas-devel at lists.sourceforge.net>
>             https://lists.sourceforge.net/lists/listinfo/gambas-devel
>
>
>
>
>     -- 
>     Fabien Bodard
>
>     ------------------------------------------------------------------------------
>     Own the Future-Intel® Level Up Game Demo Contest 2013
>     Rise to greatness in Intel's independent game demo contest.
>     Compete for recognition, cash, and the chance to get your game
>     on Steam. $5K grand prize plus 10 genre and skill prizes.
>     Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
>     _______________________________________________
>     Gambas-devel mailing list
>     Gambas-devel at lists.sourceforge.net
>     <mailto:Gambas-devel at lists.sourceforge.net>
>     https://lists.sourceforge.net/lists/listinfo/gambas-devel
>
>
>
>
> ------------------------------------------------------------------------------
> Own the Future-Intel® Level Up Game Demo Contest 2013
> Rise to greatness in Intel's independent game demo contest.
> Compete for recognition, cash, and the chance to get your game
> on Steam. $5K grand prize plus 10 genre and skill prizes.
> Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
>
>
> _______________________________________________
> Gambas-devel mailing list
> Gambas-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20130328/4d25a63a/attachment.html>


More information about the Devel mailing list