shadows

Shadows vs. Overrides in VB.Net

Would some OO guru mind explaining the significance of these two keywords--what they do and for which context is one or the other preferable? ...

shadow mapping multitexture

There is this tutorial about shadow mapping: http://www.paulsprojects.net/tutorials/smt/smt.html Ok, but I did not realize how to make a scene with multitexture. If in the third pass of shadow mapping It is need to bind the shadow mapping projected texture to perform depth comparison, HOW can I bind another textures if I need to bind t...

iPhone SDK: How to Draw a Rounded Rectangle With a Semi-Transparent Gradient and a Drop Shadow

I'm experimenting with drawing on the iPhone by manually creating parts of the UI for my application (In this case a graph). Essentially, I want to draw a rectangle with rounded corners, a drop-shadow, and a semi-transparent gradient as the fill of the rectangle. Here is a screen shot of my photoshop mockup: I've gotten has far as crea...

Standard POSIX read shadowed by a read method with different signature

I have a C++ File class with read function, that is supposed to read whole contents of a file (just like Python does) into a buffer. However, when I tried to call read function from unistd.h, I get: file.cpp:21: error: no matching function for call to ‘File::read(int&, char*&, int)’ file.cpp:17: note: candidates are: char* File...

Shadowing events in .NET

Hi, In VB.NET there is a keyword 'shadows'. Let's say I have a base class called 'Jedi' and a derived class called 'Yoda' which inherits from 'Jedi'. If I declare a method in 'Jedi' called 'ForcePush' and shadow that out in 'Yoda' then when calling the method on an instance of the 'Yoda' class, it will ignore the base class implementat...

Shadows via shadowmaps and other textures - how to combine? OpenGL

Good day. I draw a scene with shadows using shadow maps method (when we're rendering scene from light point of view to retrieve depth buffer, making shadow texture and projecting it on the scene, rendered from a camera point of view) As I use shadowmap texture, all other textured objects, of course, lose their texturing. But I really DO ...

Drop Shadow Center Column Website web page

How can I add a drop shadow effect to a website that has one center column? Some examples of what I mean: lala.com mint.com ...

Large scale perspective lights casting shadow maps, in the most optimized way?

I'm using projected texture shadows coupled with lights to light a large sports field at night. To do this I'm using shadow cameras which I place in the position of the stadiums lights and shine it down on the field at the appropriate angle. The problem with this method is the textures to which I render the shadows into have to be very ...

Is there an easy way to get shadows in OpenGL?

Hi, I recently created a landscape code which I full understand, and added some diffuse lighting to the scene. However to my disappointment there was no shadows. I looked around the web for hours, looking for ways to get shadows in OpenGL, however they all seemed terribly complicated; and very unique to their own demo programs. Is thei...

iPhone game 2d shadows

Hi all! We're in the process of creating an iPhone game using cocos2d. We're trying to layer several sprites on top of each other and have them cast shadows. Right now the shadows are rendered as sprites which works fine for the most part. But we only want the shadows to hit the closest layer. I've made an image that hopefully explain...