[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gambas-devel
Subject:    Re: [Gambas-devel] problems with new gb.sge (Simple Game Liobrary) component.
From:       Jussi Lahtinen <jussi.lahtinen () gmail ! com>
Date:       2013-03-28 13:28:03
Message-ID: CAFJMe7TVeThmBtaQADf=xxXR9aqPjZ3ssXtR8sZwnStb59hMjQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


GeForce 8600 GT
I found out that the noise is just coil whine.
It seems to be just coincidence that this example hit the resonance
frequency.

Jussi



On Thu, Mar 28, 2013 at 9:56 AM, Tomek <tommyline@eircom.net> wrote:

> 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@gmail.com>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@gmail.com>
> > 
> > > 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@eircom.net> a écrit :
> > > 
> > > On 27.03.2013 07 <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@eightvirtues.com> 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@eightvirtues.com
> > > > > phone: (770) 853-6271
> > > > > 
> > > > > 
> > > > > 
> > > > > ------------------------------------------------------------------------------
> > > > >  Own the Future-Intel&reg; 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@lists.sourceforge.net
> > > > > https://lists.sourceforge.net/lists/listinfo/gambas-devel
> > > > > 
> > > > 
> > > > 
> > > > ------------------------------------------------------------------------------
> > > >  Own the Future-Intel&reg; 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 \
> > > > listGambas-devel@lists.sourceforge.nethttps://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&reg; 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@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/gambas-devel
> > > > 
> > > > 
> > 
> > 
> > --
> > Fabien Bodard
> > 
> > 
> > ------------------------------------------------------------------------------
> > Own the Future-Intel&reg; 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@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-devel
> > 
> > 
> 
> 
> ------------------------------------------------------------------------------
> Own the Future-Intel&reg; 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 \
> listGambas-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/gambas-devel
>  
> 
> 
> 
> ------------------------------------------------------------------------------
> Own the Future-Intel&reg; 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@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-devel
> 
> 


[Attachment #5 (text/html)]

GeForce 8600 GT<br>I found out that the noise is just coil whine. <br>It seems to be \
just coincidence that this example hit the resonance frequency.<br><br>Jussi<br><br> \
<br><br><div class="gmail_quote">On Thu, Mar 28, 2013 at 9:56 AM, Tomek <span \
dir="ltr">&lt;<a href="mailto:tommyline@eircom.net" \
target="_blank">tommyline@eircom.net</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <div>Hi Jussi,<br>
      What GPU is on your card?<br>
      Could you try to set screen.framerate in main sub to some lower
      number and see what happens? <br>
      <br>
      Tomek.<div><div class="h5"><br>
      <br>
      On 28.03.2013 00:13, Jussi Lahtinen wrote:<br>
    </div></div></div><div><div class="h5">
    <blockquote type="cite">Umm...  15757 frames in 5,0 seconds =   3151,400 FPS<br>
      And it made my computer to emit quiet high pitched noise, which I
      have never heard before.<br>
      My video card is passively cooled, so it&#39;s not fan.<br>
      <br>
      Jussi<br>
      <br>
      <br>
      <br>
      <br>
      <div class="gmail_quote">On Thu, Mar 28, 2013 at 12:09 AM, Fabien
        Bodard <span dir="ltr">&lt;<a href="mailto:gambas.fr@gmail.com" \
target="_blank">gambas.fr@gmail.com</a>&gt;</span>  wrote:<br>
        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
                solid;padding-left:1ex">
          <div dir="ltr">I&#39;ve try the example :-)... it work well ... 60
            fps on my machine.
            <div><br>
            </div>
            <div>I think you must to embed the init process in the
              screen class, to simplify the user work.</div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div>ogre as new md2mesh</div>
            <div><br>
            </div>
            <div>ogre.loadtexture(&quot;path&quot;)</div>
            <div><br>
            </div>
            <div>ogre.addsequence(&quot;walk&quot;,0,100, 5000)  (seqname,
              firstframe, lastframe, duration of the sequence in ms)</div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div>public sub key_press</div>
            <div>if key.code = key.up then </div>
            <div>    ogre.move(x,y,z)</div>
            <div>   ogre.sequence = ogre[&quot;walk&quot;]</div>
            <div>
                 ogre.start</div>
            <div>  endif</div>
            <div><br>
            </div>
            <div>end</div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div>public sub screendraw</div>
            <div><br>
            </div>
            <div>  ogre.draw</div>
            <div>
              <br>
            </div>
            <div>endif</div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div>an internal timer increase the frame and the
              interpolation .</div>
            <div><br>
            </div>
            <div>but we can imagine also some way to force on a choosen
              sequence frame</div>
            <div><br>
            </div>
            <div>ogre.stop</div>
            <div>ogre.frame=3</div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div>well this is just some ideas to simplify the api but
              not the better way lol it&#39;s just matter to think</div>
            <div><br>
            </div>
            <div>the opengl class must have to be used at less at
              possible :-). </div>
            <div>Good work !</div>
            <div><br>
            </div>
            <div><br>
            </div>
          </div>
          <div class="gmail_extra">
            <div>
              <div><br>
                <br>
                <div class="gmail_quote">
                  2013/3/27 Fabien Bodard <span dir="ltr">&lt;<a \
href="mailto:gambas.fr@gmail.com" \
                target="_blank">gambas.fr@gmail.com</a>&gt;</span><br>
                  <blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex">  <p dir="ltr">I didn&#39;t say you \
must use engine such  as ogre an independent one is better but long to
                      do. </p>
                    <p dir="ltr">Just keep in mind that the most of the
                      game rendering and scene calculating must be done
                      by your class...  in C or c++</p>
                    <div class="gmail_quote">Le 27 mars 2013 09:22,
                      &quot;Tomek&quot; &lt;<a href="mailto:tommyline@eircom.net" \
target="_blank">tommyline@eircom.net</a>&gt; a  écrit :
                      <div>
                        <div><br type="attribution">
                          <blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex">  <div text="#000000" \
                bgcolor="#FFFFFF">
                              <div>On <a href="tel:27.03.2013%2007" \
value="+12703201307" target="_blank">27.03.2013  07</a>:37, Fabien Bodard wrote:<br>
                              </div>
                              <blockquote type="cite">
                                <p dir="ltr">Yes thank you.  We have
                                  some work done in the svn <br>
                                  Gb.g3d... take a look in the exp
                                  branche. It is based on ogre. And have
                                  stuff done to load mesh in gambas
                                  archive. </p>
                                <p dir="ltr">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. </p>
                                <div class="gmail_quote">Le 27 mars 2013
                                  07:52, &quot;Kevin Fishburne&quot; &lt;<a \
href="mailto:kevinfishburne@eightvirtues.com" \
target="_blank">kevinfishburne@eightvirtues.com</a>&gt;

                                  a écrit :<br type="attribution">
                                  <blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex"> @Tomek  Sorry to interject into \
the thread  so rudely, but I&#39;d like to say<br>
                                    thanks for giving this some
                                    attention. With the coming of
                                    Valve&#39;s<br>
                                    &quot;Steambox&quot; and the native Linux
                                    Steam client I think it&#39;s only a
                                    matter<br>
                                    of time before GAMBAS proves itself
                                    a worthy language (with respect to<br>
                                    compatible/available market share)
                                    for game development. Awesome effort<br>
                                    and I&#39;m proud of everyone here
                                    helping you jump the technical
                                    hurdles of<br>
                                    implementing your component.<br>
                                    <br>
                                    --<br>
                                    Kevin Fishburne<br>
                                    Eight Virtues<br>
                                    www: <a href="http://sales.eightvirtues.com" \
                target="_blank">http://sales.eightvirtues.com</a><br>
                                    e-mail: <a href="mailto:sales@eightvirtues.com" \
                target="_blank">sales@eightvirtues.com</a><br>
                                    phone: <a href="tel:%28770%29%20853-6271" \
value="+17708536271" target="_blank">(770) 853-6271</a><br>  <br>
                                    <br>
------------------------------------------------------------------------------<br>
                                    Own the Future-Intel&amp;reg; Level
                                    Up Game Demo Contest 2013<br>
                                    Rise to greatness in Intel&#39;s
                                    independent game demo contest.<br>
                                    Compete for recognition, cash, and
                                    the chance to get your game<br>
                                    on Steam. $5K grand prize plus 10
                                    genre and skill prizes.<br>
                                    Submit your demo by 6/6/13. <a \
href="http://p.sf.net/sfu/intel_levelupd2d" \
target="_blank">http://p.sf.net/sfu/intel_levelupd2d</a><br> \
_______________________________________________<br>  Gambas-devel mailing list<br>
                                    <a \
href="mailto:Gambas-devel@lists.sourceforge.net" \
target="_blank">Gambas-devel@lists.sourceforge.net</a><br>  <a \
href="https://lists.sourceforge.net/lists/listinfo/gambas-devel" \
target="_blank">https://lists.sourceforge.net/lists/listinfo/gambas-devel</a><br>  \
</blockquote>  </div>
                                <br>
                                <fieldset></fieldset>
                                <br>
                                \
<pre>------------------------------------------------------------------------------ \
Own the Future-Intel&amp;reg; Level Up Game Demo Contest 2013 Rise to greatness in \
Intel&#39;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. <a href="http://p.sf.net/sfu/intel_levelupd2d" \
target="_blank">http://p.sf.net/sfu/intel_levelupd2d</a></pre>  <br>
                                <fieldset></fieldset>
                                <br>
                                <pre>_______________________________________________
Gambas-devel mailing list
<a href="mailto:Gambas-devel@lists.sourceforge.net" \
target="_blank">Gambas-devel@lists.sourceforge.net</a> <a \
href="https://lists.sourceforge.net/lists/listinfo/gambas-devel" \
target="_blank">https://lists.sourceforge.net/lists/listinfo/gambas-devel</a> </pre>
                              </blockquote>
                              Hi Fabien,<br>
                              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&#39;t
                              know about your effort just until some few
                              days ago. Is there any example of how to
                              use gb.g3d engine?<br>
                              I have particle system implemented too, I
                              will commit it as soon I&#39;ll update the
                              names to match Benoit&#39;s syntax. <br>
                              <br>
                              Thank you <br>
                              Tomek Kolodziejczyk.<br>
                            </div>
                            <br>
------------------------------------------------------------------------------<br>
                            Own the Future-Intel&amp;reg; Level Up Game
                            Demo Contest 2013<br>
                            Rise to greatness in Intel&#39;s independent
                            game demo contest.<br>
                            Compete for recognition, cash, and the
                            chance to get your game<br>
                            on Steam. $5K grand prize plus 10 genre and
                            skill prizes.<br>
                            Submit your demo by 6/6/13. <a \
href="http://p.sf.net/sfu/intel_levelupd2d" \
target="_blank">http://p.sf.net/sfu/intel_levelupd2d</a><br> \
_______________________________________________<br>  Gambas-devel mailing list<br>
                            <a href="mailto:Gambas-devel@lists.sourceforge.net" \
target="_blank">Gambas-devel@lists.sourceforge.net</a><br>  <a \
href="https://lists.sourceforge.net/lists/listinfo/gambas-devel" \
target="_blank">https://lists.sourceforge.net/lists/listinfo/gambas-devel</a><br>  \
<br>  </blockquote>
                        </div>
                      </div>
                    </div>
                  </blockquote>
                </div>
                <br>
                <br clear="all">
                <div><br>
                </div>
              </div>
            </div>
            <span><font color="#888888">-- <br>
                Fabien Bodard </font></span></div>
          <br>
------------------------------------------------------------------------------<br>
          Own the Future-Intel&amp;reg; Level Up Game Demo Contest 2013<br>
          Rise to greatness in Intel&#39;s independent game demo contest.<br>
          Compete for recognition, cash, and the chance to get your game<br>
          on Steam. $5K grand prize plus 10 genre and skill prizes.<br>
          Submit your demo by 6/6/13. <a href="http://p.sf.net/sfu/intel_levelupd2d" \
target="_blank">http://p.sf.net/sfu/intel_levelupd2d</a><br>  \
_______________________________________________<br>  Gambas-devel mailing list<br>
          <a href="mailto:Gambas-devel@lists.sourceforge.net" \
                target="_blank">Gambas-devel@lists.sourceforge.net</a><br>
          <a href="https://lists.sourceforge.net/lists/listinfo/gambas-devel" \
target="_blank">https://lists.sourceforge.net/lists/listinfo/gambas-devel</a><br>  \
<br>  </blockquote>
      </div>
      <br>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>------------------------------------------------------------------------------
 Own the Future-Intel&amp;reg; Level Up Game Demo Contest 2013
Rise to greatness in Intel&#39;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. <a href="http://p.sf.net/sfu/intel_levelupd2d" \
target="_blank">http://p.sf.net/sfu/intel_levelupd2d</a></pre>  <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
Gambas-devel mailing list
<a href="mailto:Gambas-devel@lists.sourceforge.net" \
target="_blank">Gambas-devel@lists.sourceforge.net</a> <a \
href="https://lists.sourceforge.net/lists/listinfo/gambas-devel" \
target="_blank">https://lists.sourceforge.net/lists/listinfo/gambas-devel</a> </pre>
    </blockquote>
    <br>
  </div></div></div>

<br>------------------------------------------------------------------------------<br>
 Own the Future-Intel&amp;reg; Level Up Game Demo Contest 2013<br>
Rise to greatness in Intel&#39;s independent game demo contest.<br>
Compete for recognition, cash, and the chance to get your game<br>
on Steam. $5K grand prize plus 10 genre and skill prizes.<br>
Submit your demo by 6/6/13. <a href="http://p.sf.net/sfu/intel_levelupd2d" \
target="_blank">http://p.sf.net/sfu/intel_levelupd2d</a><br>_______________________________________________<br>
 Gambas-devel mailing list<br>
<a href="mailto:Gambas-devel@lists.sourceforge.net">Gambas-devel@lists.sourceforge.net</a><br>
 <a href="https://lists.sourceforge.net/lists/listinfo/gambas-devel" \
target="_blank">https://lists.sourceforge.net/lists/listinfo/gambas-devel</a><br> \
<br></blockquote></div><br>



------------------------------------------------------------------------------
Own the Future-Intel&reg; 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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic