Search Results

Search found 753 results on 31 pages for 'perlin noise'.

Page 14/31 | < Previous Page | 10 11 12 13 14 15 16 17 18 19 20 21  | Next Page >

  • Drawing different per-pixel data on the screen

    - by Amir Eldor
    I want to draw different per-pixel data on the screen, where each pixel has a specific value according to my needs. An example may be a random noise pattern where each pixel is randomly generated. I'm not sure what is the correct and fastest way to do this. Locking a texture/surface and manipulating the raw pixel data? How is this done in modern graphics programming? I'm currently trying to do this in Pygame but realized I will face the same problem if I go for C/SDL or OpenGL/DirectX.

    Read the article

  • Alsa doesn't work in vlc

    - by freebird
    Alsa Audio Output works fine from terminal, e.g. aplay /usr/share/sounds/alsa/Noise.wav. But I got to change from default to Alsa Audio Output in vlc. I found it in Tools Perfernces Audio Outputs. The issue is that when I change it to Alsa, I Loose all sound. When I leave the default I get an annoying Audio delay of about 200ms or 500ms. From what I have found you have to use Alsa Audio Outpu to fix that issue. Updated 6-26-2011 10:28pm To fix the Alsa Audio Output: sudo add-apt-repository ppa:ferramroberto/vlc sudo apt-get update sudo apt-get install vlc mozilla-plugin-vlc then, opened Update Manager, there were 2 updates for vlc there, I installed them and rebooted. Now alsa works fine and audio is in sync with video.

    Read the article

  • How do i use latest Pulseaudio in 11.10?

    - by YumYumYum
    Ubuntu 11.04 i had pulseaudio from source compiled and i used it to learn, it always worked (git versions). But since i have Ubuntu 11.10, i can install it but i can not use it anymore like i do in 11.04 before. Everytime i play something its throwing this: $ speaker-test speaker-test 1.0.24.2 Playback device is default Stream parameters are 48000Hz, S16_LE, 1 channels Using 16 octaves of pink noise Rate set to 48000Hz (requested 48000Hz) Buffer size range from 192 to 2097152 Period size range from 64 to 699051 Using max buffer size 2097152 Periods = 4 ALSA lib pcm_pulse.c:746:(pulse_prepare) PulseAudio: Unable to create stream: Invalid argument Unable to set hw params for playback: Input/output error Setting of hwparams failed: Input/output error How to make pulseaudio work in 11.10 from source?

    Read the article

  • Logitech Microphone (AK5370) inaudible volume

    - by Iain Lane
    I bought this microphone from Amazon last week. It's detected just fine in 12.10. I can see it in the sound preferences. The problem is that the volume is so low as to be inaudible, even when turned up to maximum in this dialog. It is working, as I can see that the meter responds to noise, but it's just too low. alsamixer's control is the same, so that doesn't help. I tried messing around in pulseaudio too, but to no avail. In lsusb it's Bus 002 Device 004: ID 0556:0001 Asahi Kasei Microsystems Co., Ltd AK5370 I/F A/D Converter.

    Read the article

  • How do you deal with information overload?

    - by talonx
    There are so many (good) programming blogs out there. Some of them are consistent in what they post - as in they stick to programming topics. Some of them occasionally post on other unrelated topics. Also, not every programming post might be relevant to me. I might have read one good post once, and not wishing to miss any future good ones - subscribed to the blog. Subscribing to too many blog feeds usually leads to just skimming through all of them (which takes time as well). Another option might be to subscribe to aggregators, like Hacker News - but that too has a huge rate of link accumulation. How do you manage if you wish to keep up with the programming blogosphere and still maintain a good signal to noise ratio?

    Read the article

  • CPU temperature is high on Ubuntu

    - by Kaspar
    So I have a machine which has both latest *Ubuntu and Windows 8 on it. On windows 8 my CPU temp is roughtly 26 degrees when idle. Now when I boot into Ubuntu, CPU temperature is suddenly 43 degrees when idle, plus my fans are making a lot of noise which is probably because of the CPU degrees. Why is that? Everywhere I read it says the Linux is much better at managing CPU and so on. But yet it seems something is wrong. It is a stock installation of Ubuntu 14.04 and my CPU is a Intel i5-4570

    Read the article

  • How do you make a real low profile exit from your current job?

    - by Fanatic23
    This came up recently when a friend of mine left her current job. She really wanted to make a very low profile exit, but the news leaked and there really was too much noise -- some bad, some downright embarrassing not to mention management foul mouthing her. All of this, despite her contribution to the team being very substantial. So here's my question: How do you make a real low profile exit from a company? Is something like that even a reality given that a fair number of people will know you in office, not to mention your linkedin and facebook.

    Read the article

  • Is it bad style to redundantly check a condition?

    - by mcwise
    I often get to positions in my code where I find myself checking a specific condition over and over again. I want to give you a small example: suppose there is a text file which contains lines starting with "a", lines starting with "b" and other lines and I actually only want to work with the first two sort of lines. My code would look something like this (using python, but read it as pseudocode): # ... clear_lines() # removes every other line than those starting with "a" or "b" for line in lines: if (line.startsWith("a")): # do stuff if (line.startsWith("b")): # magic else: # this else is redundant, I already made sure there is no else-case # by using clear_lines() # ... You can imagine I won't only check this condition here, but maybe also in other functions and so on. Do you think of it as noise or does it add some value to my code?

    Read the article

  • D-Link DWA-125 Wireless network card not working after upgrade from 10.04 to 12.04

    - by dava2788
    I upgraded to Ubuntu 12.04 and now the wireless network card D-Link DWA-125 doesn't work. I have the drivers from the official website, But neither recognized during installation. iwconfig: lo no wireless extensions. vmnet8 no wireless extensions. ra0 Ralink STA Link Quality:0 Signal level:0 Noise level:0 Rx invalid nwid:0 invalid crypt:0 invalid misc:0 eth0 no wireless extensions. vmnet1 no wireless extensions. dava@Dava-Ubuntu:~$ lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 006: ID 07d1:3c0d D-Link System DWA-125 Wireless N 150 Adapter(rev.A1) [Ralink RT3070] And the chipset: ralink 2870/3070 (rt3070)

    Read the article

  • JavaOne Latin America Call for Papers Deadline Extended

    - by Tori Wieldt
    It may have gotten lost in the JavaOne San Francisco noise, but the JavaOne Latin America call for papers deadline has been extended to this Friday, October 12, at 11:59 pm local time.? We invite you to submit a paper to present at the JavaOne Latin America 2012 conference. We are looking for submissions from the community to present to the Latin American Java developer community in the following tracks: Core Java Platform JavaFX and Rich User Experiences  Java EE, Web Services, and the Cloud Java ME, Java Embedded, and Java Card Speakers on accepted submissions will receive a complimentary pass! The pass provides access to all conference sessions. (Acceptance of the pass must be in compliance with the policies of your employer, including conflict, ethics and gift policies. Oracle employee speakers do not qualify.) We look forward to hearing from you.

    Read the article

  • Trust External Surround Soundcard SC-5500p not working

    - by Ederico
    I got the following external sound card to make some awesome noise with my speaker set. It should be plug and play, but it so happens that when I plug it in and hook everything up, there's no sound at all. The speaker set I have works if I plug it in the laptop directly (or rather, if I plug the front speakers cable as I can't plug anything else). http://www.trust.com/products/product.aspx?artnr=14134 Would anyone know how I can workaround this problem and make full use of this external sound card on my Ubuntu 12.04 system?

    Read the article

  • Transparent parts of texture are opaque black instead

    - by Aaron
    I render a sprite twice, one on top of the other. The sprites have transparent parts, so I should be able to see the bottom sprite under the top sprite. The transparent parts are black (the clear colour) and opaque instead though and the topmost sprite blocks the bottom sprite. My fragment shader is trivial: uniform sampler2D texture; varying vec2 f_texcoord; void main() { gl_FragColor = texture2D(texture, f_texcoord); } I have glEnable(GL_BLEND) and glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA) in my initialization code. My texture comes from a PNG file that I load with libpng. I'm sure to use GL_RGBA when initializing the texture with glTexImage2D (otherwise the sprites look like noise).

    Read the article

  • Installed thinkfan, should I keep it?

    - by FRC
    Well I did fixed my overheating problem on my Lenovo T500 with Ubuntu 12.04 LTS. At the same time I did install Thinkfan. But since I have a solution for overheating now, I would like to know if there is any really good reason to keep it? My fan speed without it was cca 3000 RPM. When it installed droped to 2500RPM in idle time. Thinkpad have very quiet fans, so I don't really hear the noise when is on 3000RPM (no difference between 2000 or 3000 RPM). Is it better for processor to have more air or more air brings just more dust? Silly question but I would REALLY want to know the reason of keeping thinkfan.

    Read the article

  • Ubuntu Crashes @ Login Screen

    - by Peter
    So, I've been having troubles with the newest Windows Installer for Ubuntu Desktop(http://www.ubuntu.com/download/desktop/windows-installer). When I start up up the operating system, i enter the login screen of Ubuntu. Everything is fine at that moment except my mouse and keyboard are frozen. Next I hear a "bongo" noise which is obviously the system looping and getting ready to crash. Soon enough, I enter a purple screen with white diagonal short lines in the background. I am then forced to unplug my desktop. Any way to fix this? Thanks!

    Read the article

  • How to play a fixed frequency sound using Python

    - by user98415
    I have tried a number of ways of playing a fixed frequency sound (e.g. 1000Hz) and nothing works. I have downloaded "beep" and that makes no noise. I tried interfacing to pyao, and that had no effect. I tried interfacing to audiere, and get a runtime error indicating the library could not be found, despite installing it from the software centre. Any guidance for installation of appropriate libraries and relevant code would be most appreciated. I cannot generate .mp3/ .wav files for this, but need to generate the tones at run time. Many thanks for you

    Read the article

  • From the Coalface - 2 - Work as hard as you can to be as lazy as you can

    - by TATWORTH
    On one project, the standard build involved building the database from scratch producing a build log that was about 100,000 lines long.  Manually paging throught this log took hours and it was very easy to miss any errors. The solution was to write a filter that read the log file and output a summary file with each output line pepended with the line number in the original file. Sucessive iterations eliminated more noise lines. Diagnostic displays required escaping. The final output was just a few hundred lines long and the errors were easy to spot. The filter program took less time to to write than one manual pass reading the log file.  The utility digested the log file in about 1 second. Now database build errors could be identified quickly instead of after hours of manual examination or lengthy system testing. A few minutes consideration of the task led to a tremendous improvement in quality.

    Read the article

  • Is it possible to procedurally place objects in a non-gridded game?

    - by nickbadal
    I'd like to implement procedural world generation, but I don't want it to look gridded or blocky, where everything is obviously placed on an integer grid. I know that you can do this in gridded worlds by inputting a square's x and y into a noise function, or similar, but is it possible to generate a more natural looking object placement using procedural methods? This is in the context of an adventure game, if it matters. Edit: I guess I should have been a bit more clear in my original question, but I'm mostly wondering about the actual placement of objects in game, e.g. trees, buildings.

    Read the article

  • installing 12.04 failing

    - by Steve
    I just downloaded 12.04 burned it to a cd, and booted to into it on my last built computer. It loads a purple screen, then goes to a dos looking screen with a blinking cursor then loads the ubuntu loader. The lights go from red to white and finally they all turn red. This is when the entire screen goes to noise and just hangs. Seems like a hardware issue but I can successfully boot into a non genuine windows7 that I'm looking to replace. I'm not sure what to try, so any help would be appreciated. Thanks.

    Read the article

  • sometimes, strange audio distortion(peeping, scratching), ubuntu 12.04

    - by richi902
    i have a problem with my sound in ubuntu 12.04. the problem is, that sometimes out of nowhere, when switching songs, or playing youtube videos, changing volume with my keyboard buttons, that the sound gets distorted(peeping, scratching). i dont know if it is related, but when i skip through music in rythmbox, there is also a little scratching noise. i can sometimes temporarly fix it: for youtube videos, i refresh the page, and sometimes it works agian normal, mostly not. for audio playback with rythmbox, i have to pause the song for sometime, and resume it, and hope that it works. before all that,i have changed my soundcard to "Analog Surround 5.1" in the sound settings from ubuntu, but i also used alsamixer to change it from 2 channels to 6 channels, since changing in ubuntu sound settings alone wasnt enough to make the other speaks work. i use a ASUS P8-H61-M LE B3 Revision Motherboard. which has a built in surround soundcard.

    Read the article

  • How can you procedurally place objects in a non-gridded game?

    - by nickbadal
    This is a follow-up question to this question. I mistakenly worded the question, but got a good answer before I could correct myself, so I didn't want to delete it. Sorry! Now that I know that it is possible, I'd like to implement procedural world generation, but I don't want it to look gridded or blocky, where everything is obviously placed on an integer grid. I know that you can do this in gridded worlds by inputting a square's x and y into a noise function, or similar, but how can I generate a more natural looking object placement using procedural methods? This is in the context of an adventure game, if it matters.

    Read the article

  • Ubuntu 13.10 is terrible

    - by user137017
    I was satisfied with 13.04. But when I upgraded to 13.10, I've had a lot of issues and some things just no longer work. To name a few problems: Can't change the brightness My laptop makes more noise than before It freezes more frequently (the kind that doesn't respond to ctr + alt + f2) Sometimes it boots up and and can't play any media files When running a full screened virtual machine in Workstation, ubuntu catches mouse at the edges When I have a VM opened in Workstation and I try to open up another, the first one gets powered off Most irritatingly, when I have a virtual machine running in full screen, every now and then the vm screen goes black and I have to switch to the host and come back 13.10 has offered nothing to compensate for these problems. I would like to get some advice about what I can do. Should I stick with 13.10 and hope the bugs will be fixed? Would a clean reinstall of 13.10 help? Btw, I'm giving some thought to trying other distros.

    Read the article

  • Should I use Call keyword in VB/VBA?

    - by Fred Loyant
    I use the Call keyword used when calling subs in VB/VBA. I know it's optional, but is it better to use it or leave it off? I've always thought it was more explicit, but maybe it's just noise. Also, I read this on another forum: Using the Call keyword is faster because it knows that it is not going to return any values, so it doesn't need to set up any stackspace to make room for the return value.

    Read the article

  • How to load photoshop action with JavaScript?

    - by Elena
    Hello! How do I load photoshop's action using its javascript scripting language? Mostly curious in this action steps: Add Noise Distribution: gaussian Percent: 2% With Monochromatic Texturizer Texture Type: Canvas Scaling: 100 Relief: 3 Without Invert Texture Light Direction: Top Left

    Read the article

  • Smarty html_options

    - by SeanJA
    For smarty's html_options function, is there a way to avoid having to do this (other than not using smarty that is)? {if $smarty.post} {html_options name=option_1 optins=$options selected=$smarty.post.option_1} {else} {html_options name=option_1 optins=$options} {/if} I realize that it won't show up in the template, but it seems like a bad practice to leave something that is not defined in the template (it also fills up my error logs with noise about undefined indexes).

    Read the article

< Previous Page | 10 11 12 13 14 15 16 17 18 19 20 21  | Next Page >