@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5



Comments:

<0> Metabol
<1> yo, black
<0> hey
<1> I have a feeling you want to keep your images the same pixel depth ... I think you think maybe this is not necessary but your program was mixing depths and you were getting a lot of flickering
<0> yeah
<0> so my source images are png images
<1> SDL_DisplayFormat or something should fix that on loading, I think
<0> and are at 16 bits per pixel i want to put them at 32 bits per pixel and form a long vertical strip
<0> well me either
<0> did you see "Contact"
<1> yeah. Read the book, even.
<0> i ought to read the book
<0> but when he said "small steps sparks"
<0> so small steps sparks
<0> i have been unifying my graphics stuff with my state machine



<1> and it's coming along nicely?
<0> slowly
<0> if i can get nice bouncing on the reel strips by when i got back to work
<0> it would be a coupe
<0> my next big thing would be a "cut" screen
<1> you were talking about bouncing before, springs or gravity-based
<0> springs but i use a frame based method
<0> using a spline
<0> everyting is pre computed
<1> right
<0> basically its a look up table
<0> and the table is small
<1> and you interpolate with the spline
<1> ?
<0> yes
<0> i want to integrate that in sometime next week
<0> i want to display the pay tables the belly screens have animations based on states
<0> some time later i want to use lua/sdl to make simple bonus screens
<0> for those of you that dont know a bonus screen/round comes up when you get certain combination ... the user gets to interact via atouch screen to pick out characters ...
<0> it gives the illusion of choice
<1> haha
<0> its like going to craps game and you have 5 sets of dice ... in five colors ... but the dice all work the same way
<1> what kind of random generator are you using? with what seeds?
<0> knuth rabin carp
<2> rand()? :P
<1> I didn't expect to get an answer for that
<2> lol
<0> i use rand for the demo
<0> i dont even look at the freaking things
<0> i have a license i want to keep it
<1> Yeah, of course
<0> i am being melodramtic
<0> and i need lunch
<0> bbl
<0> Metabol is image able to convert 8 bit png image to 32 bit bmp image
<2> there is an sdl function to convert bit depths of SDL_Surfaces
<0> what is it btw?
<2> http://www.libsdl.org/cgi/docwiki.cgi/SDL_5fConvertSurface
<0> Metabol what was the scriptlet you showed ealier
<3> Hello :)
<0> [Relic] still here
<3> nope, you are hallucinating,adjust medication accordingly
<2> ...what the hell
<0> kids
<3> I think stabbing you with a little goat would hurt :)
<2> http://greensboring.com/pod/usb_teddy.jpg
<0> rupert!
<2> http://greensboring.com/pod/usb_bear.jpg
<2> I want one!
<4> hiya
<0> im back!
<0> Metabol are you here
<5> tesmako: change of topic ?
<6> limmy: awake ?
<0> whose up
<7> keep the silence!
<0> why would i be getting a black blackground for image that has a clean image



<0> i guess black is the color so the black is what i see
<7> a clean image>
<7> a clean image?
<8> actually i figure out some of what i was diong
<8> doing
<8> the background is black where the image is black it comes through as black
<9> hi
<9> I'm building a simple game for a study project using sdl
<9> the game works fine but there's one thing that I still like to do without redesigning all images (there are about 50 of those)
<9> in some cases I want to change a color to another one (lets say black to red or whatever)
<9> what's a good way of doing that? just manipulating each pixel is a bit stupid
<9> I could try to use a palette but I guess that similar stuff happens behind my back then
<4> you don't want do modify palette?
<9> that's perhaps an option too
<9> but I would need some tool to convert all my bitmaps to 8bit with a palette
<9> I don't like to do that by hand as it are too many images
<10> photoshop ? )
<9> the images don't have much colors at all so it would be acceptable
<9> I have more than 50 images, I like it to be done automaticly; I don't have photoshop
<9> does anyone know of tools for this?
<11> Hey all. Have a problem with SDL+Stepmania. The sound is playing too fast. They guys at #stepmania haven't heard about the problem so I thought you huys might have. Other sound is working nice. Just Stepmania doesn't. Haven't tryed other SDL games.
<12> What Kind of machine have you got?
<11> Intel Pentium 4 Williamette 1.5GHz, 512MB 133MHz SDR 3-2-2-5 2T, GigaByte GA-8IDX Motherboard, GeForce 2MX 64MB.
<11> That should be it.
<11> 00:1f.5 Multimedia audio controller: Intel Corporation 82801BA/BAM AC'97 Audio (rev 12)
<11> That soundcard.
<13> what kernel
<11> /bin/sh: 2.6.18.1: command not found
<11> 2.6.18.1
<11> Can it be something with ALSA?
<11> StepMania console says ALSA-software-mixing at 44100Hz.
<11> MPD plays music fine. And so does Konqueror+Flash.
<13> i guess it probably could be
<13> try adding removing rtc timer for alsa perhaps
<11> ?
<13> i recall i had a problem with mp3s playing too fast once
<13> can't remember what caused it though heh
<13> that was years ago
<13> my clock went really fast too ;p
<11> My clock is normal and fine. All sounds except SDL works perfect.
<13> i guess that some software wont like smp systems with powersaving modes which adjust clock rates
<11> ?
<13> some new x86 64 systems cause issues heh with things like powernow afaik
<11> I don't have SMP and no powersaving. On the laptop it worked fine and that was a Core Duo, SMP and powersaving.
<13> you could be playing a sample at too high of a resolution
<13> that would make it sound fast
<11> You mean rate?
<13> yes
<11> Like 44100Hz ?
<13> like playing a 22050Hz samplea t 44100Hz i guess
<11> Hmm
<11> The problem is... I don't know where I set that.
<11> I don't play around to often with ALSA. Or more like nothing at all.
<13> how do you have alsa compiled into the kernel?
<13> i dont know the software package at all
<11> Hmmm...
<13> i wonder why you're using software mixing
<11> I didn't do the kernel compiling and the guy that did isn't contactable right now.
<11> Software is standard in SM I think.
<13> hmm, it probably cant hurt to fiddle with the software soundcard driver selection
<13> it probably also cant hurt to look into the kernel's alsa config
<13> mplayer is basically unable to use the alsa driver for my sblive 24bit
<13> it works only if i set it to oss, which is now a compatibility layer for alsa
<13> something probably changed in 2.6.18/19 perhaps
<13> the kernel has options for alsa to support the old interface (old alsa interface)
<13> has options for better timers on sequencers aswell
<13> but im not sure if any of that would affect your issue
<11> Where do I check?
<13> just mentioning
<13> if you have the kernel source installed
<11> Yes.
<13> as root, go into the directory, type 'make menuconfig'
<11> make menuconfig right?
<13> yep


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #sdl
or
Go to some related logs:

gl_view_hide_grid
lucificifus
#web
rcbintegrated.com
#osdev
#osdev
gentoo mysql bindip
Piece of shit vsftpd
reconstruct kubuntu menus
javascript changing an elements class



Home  |  disclaimer  |  contact  |  submit quotes