light

virtual machine software recommended for a computer with low resources

Hello my machine is a XEON cpu 1.4 ghz with 128 mb of ram, it is running windows xp and I need to use linux ocasionally, for some reasons I cannot install linux and I cannot use a bootable distribution such as knoppix, so my question is can anyone recommend me a virtual machine software to load a simple linux without gui?. I have ben try...

Lightweight C++ Gui Library

Hello everyone! I want to create GUI applications with C++ on Windows. I have downloaded Qt, and it works well, but it has sooooo much stuff in it and so many header files that I really don't use. It is a nice framework, but it has more than just GUI. Are there any lighter gui libs out there for Windows C++ that is "just gui"? Thanks...

Does iPhone allow Light sensors as input?

Hi, I was just wondering whether iPhone developement allows light sensors to be used, as buttons or action elements?? I found this link online... Possible to use Light Sensor as a Button? [Archive] - Touch Arcade If anyone could shed some light on the issue, I'd appreciate the help? Cheers. Divanshu. ...

Linux distribution for a programmer's private server

I'm going to get a low-end old (CHEAP!) computer to run non-stop as a little server for Subversion, Mercurial, Trac and maybe a little other things 99% for myself - performance isn't a concern. It'll probably have a 1 GHz P3/P4/Celeron, 256 MB SDRAM, 30 GB IDE HDD or something like that, any video card so I can hook up a monitor. I could...

light programming IDEs

I am looking for a light programming IDE for use on my netbook. It is the new Nokia Booklet 3G with 1GB memory, 120GB storage, Intel 1.6 GHz Atom cpu, and Windows 7 Starter. I'm used to very light Mac apps like TextMate, Espresso, or Coda. Anybody know of a nice light version of the following applications? By light I mean nothing like D...

OpenGL and infinite light position?

Is it possible to shade the polygons so every polygon would be rendered with the same light angle, no matter which their position is relative to the light? I need to move my sun light, but the map is exteremely large, and i dont want the light looks any different in any other location, should be symmetric everywhere. ...

AJAX/DHTML/LIGHT BOXES

here is my js code <script type='text/javascript'> // Browser safe opacity handling function function setOpacity( value ) { document.getElementById("popup").style.opacity = value / 10; document.getElementById("popup").style.filter = 'alpha(opacity=' + value * 10 + ')'; } function fadeInMyPopup() { for( var i = 0 ; i ...

Change "Pulse notification light" / trackball light setting on Android (Nexus One only?)

On the Nexus One (at least in 2.1-update1, and I think in 2.1), there is a setting under Sound & Display: "Pulse notification light". This doesn't seem to be present on the "2.1 with Google APIs" emulator image. I've not yet checked any other devices. I want to set this programmatically without user interaction, in order to make a Loc...

Defining Light Coordinates

I took a Computer Graphics exam a couple of days ago which had extra credit question like the following: A light can be defined in one of two ways. It can be defined in world coordinates, e.g. a street light, or in the viewer (eye coordinates), e.g., a head-lamp worn by a miner. In either case the viewpoint can freely change. Describ...

MVVM Light - master / child views and dependency properties

I'm getting an odd problem when implementing a master / child view and custom dependency properties. Within my master view I'm binding the view model declaratively in the XAML as follows: DataContext="{Binding MainViewModelProperty, Source={StaticResource Locator}}" and my MainViewModel is exposing an observable collection which I'm b...

Wpf Volumetric effect ?

I would like to know if WPF support 3D Volumetric Effects like "spotlight (sort of smoke effect like in nightclub)" Typically, I would like to set a brush (sort of mask or filter : color + shape ) and see "light ray" from light source to any obstacle.. i'm not sure wpf can handle that, if it doesn't what's the best software to do that...

MVVM: Difference using EventToCommand vs. Attached Behaviour for Events

Hello, doing a doubleclick on a wpf selector like datagrid I can use a DoubleClickSelectedBehaviour like Sacha Barber has done in his cinch framework or I can use the EventToCommand class from the mvvm light toolkit framework. Both seem to pass the EventArgs and violate mvvm by putting View related stuff into the ViewModel what is...

MVVM Light with ASP.Net MVC ?

Hello, I'm a big fan of MVVM Light and I use it in my WPF Application. It works Greeeeat. I have a new project in asp.net mvc. And I'm wondering : Is anyone already tried to use mvvm light and asp.net mvc ? I know that some components will obviously not work but maybe, someone has achieved to do a better job with it. Thanks for your ...

Object reference not set to an instance of an object in ViewModelLocator Mvvm Light

Hi, I have multiple viewModels in my application and am binding/used them in ViewModelLocator mvvm light. I have done button on one of my DailyActivities.xaml page. but when i clicked on it,it gives me error in ViewModelLocator like "Object reference not set to an instance of an object". and control comes to this line : public static v...

MVVM light datagrid loading from two relational database tables

How to Load DataGrid with two related tables using MVVM light, I am using .NET RIA and silverlight 4. for example if my data tables are: userInfo- userID, Name, AddressID Address - AddressID, StreetName, Zip how can i create datagrid that displays [Name, StreetName, ZIp] ...

Android Sensor.TYPE_LIGHT unity

Hi, Does anybody knows the unity of the return value of Sensor.TYPE_LIGHT on Android ? Thanks. ...

What algorithms are out there for detecting lights and shadows and their parameters?

So I have picture (not the best one) I want to detect where the lights come from and what types of lights are they. What algorithm\framework can do such things with static images? I mentioned shadows because in general if you can separate a shadow from a surface than you can probably determine light type and other its parameters. I me...

OpenGL stencil buffer OR operation?

I'm not sure if this is possible to do, but it's worth a shot. I'm using the stencil buffer to reduce overdraw for light volumes in a deferred renderer using this algorithm (when the camera is outside the volume): Using a cheap shader, draw back faces with depth testing set to LEQUAL, marking them in the stencil buffer. Using the expen...

Creating 'laserlights' with Java3D/other 3D API

Yesterday I decided to start my new simulator project with Java and Java3D. Since I already programmed Java before it was a big plus and I could directly start with the simulator. Now I was a bit thinking about how I was going to approach this, and I directly stumbled and the biggest part of my program: the laser in the simulators. I wa...

Cross fire with Messenger system between ViewModels causes Problems...

I have a DateNavigatorViewModel + DateNavigatorView on my ButtonBar. Below are 2 Views which get exchanged: DailyView and WeeklyView. Each View has a DailyViewModel and WeeklyViewModel. In my DateNavigatorViewModel I have messenger.Send(SelectedDate); In my DailyViewModel and WeeklyViewModel each register in the constructor: messenge...