Tuesday, May 31, 2011

Computer Grapics

Introduction:
Today all person know about graphics thay is used in real life. But graphics technology how can work we understand about typical things that use by computer graphics.
The graphics technology used to represent your view or idea in pictorial format so that easy
to understand but how can we implement graphics device. These all are we study under the computer
grapics topic.
Many computer application packages that used to design graphics as print,Auto CAD,Maya,Photoshop
etc. How can they design the graphics or image we study all things.
Basically computer graphics devided into three branches as:
1. Generative computer graphics
2. Image processing
3. Image analysis
Image is any design first of process using image processing branch then implemented on the
device using generative computer graphics branch. Same as image analysis used to implemented
every things else. Graphics or image that we can design or made on the two plans 2D or 3D.
2 Dimentional graphics plane have only x and y direction where as 3Dimentional graphics plane
has x,y and z direction.

Application Area of the computer graphics : -
today computer graphics used in a each and every field some of the major application areas these mansion below:

1. Building Design and constraction :
Computer graphics are very useful to making the design of a building and can easily made by a
Architects. Architects make different type of design of a building and can show different views of the
building that are useful to convance the customer. Also modify according to user or constructor
requirment.

2. Circuit Designing :
Today many companies are used computer to make a different type of electronic circuit and check
it functionality,performance,durability according to used electronic equipments, take the print out on hard copy that used to manufacturing of the electronic device.

3. Mechanical drawing :
We know that mechanical are very complex arrangement of mechanical part. At the present time computer are used to drawing a typical machine parts and its alingment before manufacturing the machanical part engineer fully satisfy with the design part using instruction, implimentations,on the computer. The all machanical drawing application are called CAD programs that means computer aided design.

4. Presentation graphics area :
Another major application presentation that used to illustrate the report by the graphical presentation using slide or projector or computer slides. Presentation graphics commanly used to summarize the financial,mathematical,statistical,scientific economic
observation,voting,choices data for research report using attraction graphics image as charts,tables,etc.

5. Computer Art :
Computer graphics methods are commanly used to create attractive and commercial computer arts as an example designing of any texture using with different color arrengement and implies on the cloth that make a new
style of wearing cloth. Many type of designing devices are used to create attractive art as light pen style,mouse,digitizer,graphices table etc. and many packages are used to create different type image as photoshop,coral
draw,desktop publishing and animation packages etc.

6. Entertainment, animation and games :
Computer are used to making cartonds,animation films,special effects introduced in the movies. Carton films as tom and jerry etc. Animated films as hanuman,krishna etc.
Computer commanly used as entertaining device for playing the animated games that do the entertain and increase the knowledege of childs about the specific game such as chess, cricket,cards etc.

7. Aerospace industry :
Aircraft designer are used computer to design a aeroplane using the measurement of the wings,seating capacity maximum safe height. It is design by super computer as CRAY, or ETA etc.

8. Medical Application :
Today Doctors are mostly used the computer based devices for beter treatment of the patient because computerise information more accurate and used to find out direct any desease on the basis of symptoms. Mostly Medical Report are generated in the form of graphics using computerise devices as Ct-scan,CAT,MRI,ECG,DNA TEST,micro testing,sonography,endoscopy etc.

9. Cartography :
Computer graphics is used to produced the accurate maps of the geographical structure, nature phenomena, Density map,mine map,weather map, population map, country map, ocean map etc.

10. Scientific uses :
Super computer are used to as scientific uses such as weather forecasting, earthquake measurement, space shuttle crafting satellite launching etc.

Friday, May 20, 2011

Most Important Place Badrinath for This Summer Vacation

Geography

Badrinath , peak, 23,210 ft (7,074 m) high, in the central axis of the Himalayas, Uttaranchal state, N India. The peak has several
glaciers. At a height of c.10,000 ft (3,050 m), is an 9th-century monastery and a temple to the Hindu god Shiva, a popular pilgrimage
center built by the great Indian scholar and teacher Sjavascript:void(0)hankara.


About Badrinath Dham

One of the most celebrated pilgrim spots in the country, it plays host to the famous
Badrinath Temple. Legend has it that Lord Vishnu came to the area, called ‘Badri Van’"Badrinath
Dham” Guarded on either side by the two mountains Nar and Narayan, the Neelkanth Peak provides
a splendid backdrop to Badrinath, one of the ‘Four Dhams’. One of the most celebrated pilgrim
spots in the country, it plays host to the famous Badrinath Temple.

The Garhwal Himalayas has some of the most beautiful scenery in the world . Snow capped
peaks,misty mountains, green valleys, gushing rivers,(deodar) forests, grassy slopes, abundant
flowers and an amazing array of birds and butterflies all of which combine to make this place one
of the most charming spots on this planet. It is also one of the holiest places on earth.

The most important ones amongst these are Kubera, the God of Wealth,and Ganesha, the God of Wisdom and Prosperity.
Within the temple complex is an another shrine dedicated to Laksmi,the Goddess of Fortune. This
shrine is situated to the left of the main temple building. The front portion is painted in red.
Outside the exit door of the Badrinath Temple is the seating place of Shankaracharya,who meditated
here. The temple remains closed during winter.


History of Badrinath Temple

The Badrinath Temple is dedicated to Vishnu (Preserver in the Hindu Trinity of Creator-
Preserver-Destroyer). The presiding deity of the temple is Badrinath(another form of Vishnu),
also called Badri Vishal or Badrinarayan. Shankaracharya is believed to have installed the deity
inside the shrine after it was thrown into the Narada Kunda (a hot water spring near the temple)
in the days of Buddhist ascendancy.

Badrinath is depicted sitting in the padmasana (‘lotus posture’),in which the feet are
placed on opposite thighs. He is surrounded by a host of gods.


Place to visit in Badrinath

Bhavishya Badri : The temple of Bhavishya Badri is at an elevation 3641 m, and is surrounded
by dense forests. It is located at Subain near Tapovan, about 17 km east of Joshimath on Joshimath-
Lata Malari route. Pilgrims have to trek beyond Tapovan, up the Dhauliganga river.

Narad Kund : A recess in the river, near Tapt Kund, forming a pool from where the Badrinath
idol was recovered.

Charanpaduka : 3 km away is a beautiful meadow carpeted with wild flowers in the summer.Here is a
boulder bearing the footprints of Lord Vishnu. It is said that when Lord Vishnu descended from
Vaikunth (the heavenly abode of Lord Vishnu) he stepped on this boulder.The area is a steep climb
from the town and is full of caves & boulders


Pilgrimage:

Located only a few kilometers from the Indo-China (Tibet) border, Badrinath is generally
a two-day-long journey from either Kedarnath, the site that precedes it in the Char Dham circuit,
or one of the main disembarkation points on the plains. Hemkund Sahib, an important Sikh pilgrimage site, is on the way to Badrinath, so the road is especially crowded during the
summer pilgrimage season.

Wednesday, May 11, 2011

Making Financial Year Function In SQL Server

Hi,
Many times we required to add financial year with our invoice or po number to make it suitable for client as like PO/2011-12/04/001  here 2011-12 is current financial year. For this purpose we should make a function for getting current financial year, which can be used in insert update or select statement.

Here is a function which returns financial year as varchar for the given datetime or we can use getdate() function for getting current date financial year.


CREATE FUNCTION [dbo].[FinencialYear]
(@Date DATETIME)
RETURNS VARCHAR(7) AS
BEGIN
DECLARE @RetVal varchar(7)
Declare @Month int
Declare @Year int
Select @Month=Month(@Date)
Select @Year=Year(@Date)
-- Assuming that the financial year is starting from april
if @Month>3
 Begin
Set @RetVal=cast(@Year As varchar(10))+'-'+cast(right('0' + rtrim(@Year+1),2) as varchar(2))
End
Else
Begin
Set @RetVal=cast(@Year-1 as varchar(10))+'-'+cast(right('0' + rtrim(@Year),2) as varchar(2));
End
Return @RetVal
End

We can use this function as ordinary function as Select dbo.FinencialYear(getdate()) or replace getdate() with any date for which you want to get financial year.

Thanks..