http://www.varigraphics.com/graphics-api-java/
graphics api java
OpenGL or Direct3D?
I’m interested in learning a little bit about 3D game development. I’m comfortable with C++, C, a little bit of Java, as well as the 3D math involved, but my only problem is choosing which 3D Graphics API to work with. I’m an absolute beginner to this stuff, I’ve created a few windows applications, but nothing dealing with 3D animation. The only thing I really know is that Direct3D is part of Microsoft’s DirectX API, and thus it’s limited to PC, while OpenGL is cross platform.
I’ve created my first OpenGL application which was just a red rectangle with a black background. Nothing complicated, other than the fact that it took me 2hrs to figure out lol.
Anyway, my question is which one should I go with? What are the pros and cons of each. Where can I go to get some info about both API’s other than GameDev.net?
thanks.
Hi there
If you are asking which tool to select for game development then the answer is definitely DirectX it has lots and lots of stuff related to the game development including, sound, media, 3D, networking etc etc, on the other hand OpenGL is purely related to 3D programming which is an Ideal case for development of CAD applications. In my opinion you must be a master of both OpenGL and DirectX also XNA as well, but the question is where to start your game development dream. I reckon to start from OpenGL test your 3D math skills in OpenGL environment which is the best platform to learn 3D. When you feel comfortable with 3D means you are ready to go with DirectX and then spend most of your time in learning other aspects of game development.
From your foundation level to expert following resources can be helpfull for you.
http://nehe.gamedev.net a good place to learn OpenGL.
And for game programming Andre LaMothe is the most famous writer of game programming books, he has spent his life in game development. His book “Tricks of the windows Game Programming Gurus” was one of his most famous books. Also his book “The Black art of game console design” is famous now a days.
I wish you enjoy your time in game programming.
graphics api java

Dot Net Development: Accomplish Large Functions through Class Library
The .NET Framework includes a set of standard class libraries. The class library is set in terms of a hierarchy of namespaces. Most of the worked up in APIs are part of either System or Microsoft namespaces. These class libraries execute a large number of general functions, such as file reading and writing, graphic rendering, database interaction, and XML document manipulation, among others. The .NET class libraries are obtainable to all .NET languages. The .NET Framework class library is alienated into two parts: the Base Class Library and the Framework Class Library.
Base Class Library (BCL): The Base Class Library (BCL) consists of a small subset of the entire class library and is the core set of classes that serve as the essential API of the Common Language Runtime.[10] The classes in mscorlib.dll and a few of the classes in System.dll and System.core.dll are considered to be a division of the BCL. The BCL classes are accessible in both .NET Framework as well as its substitute implementations counting .NET Compact Framework, Microsoft Silverlight and Mono.
Framework Class Library (FCL): The Framework Class Library (FCL) is a superset of the BCL classes and indicates the whole class library that ships with .NET Framework. It includes an extended set of libraries, including WinForms, ADO.NET, ASP.NET, Language Integrated Query, Windows Presentation Foundation, Windows Communication Foundation among others. The FCL is much superior in scope than standard libraries for languages likeC++, and comparable in capacity to the standard libraries of Java.
The Base Class Library (BCL) is a regular library available to all languages with the .NET Framework. .NET comprise the BCL in order to summarize a large number of ordinary functions, such as file reading and writing, graphic rendering, database interaction, and XML document manipulation, making easy the programmer’s job. It is much better in scope than standard libraries for the majority other languages, together with C++, and would be similar in scope to the standard libraries of Java. The BCL is sometimes wrongly referred to as the Framework Class Library (FCL), which is a superset as well as the Microsoft.* namespaces.
The BCL is modernized with every version of the .NET Framework
Namespaces
Some of the namespaces might or might not be officially considered part of the BCL by Microsoft, but all are incorporated as part of the libraries that are equipped with Microsoft’s implementation of the .NET Framework.
Standardized namespaces
These are the namespaces that are uniform as of the ECMA 335 and ISO/IEC 23271:2006 standards.
System
This namespace comprises the central requirements for programming. It includes base types like String, DateTime, Boolean, and so forth, sustenance for environments such as the console, math functions, and base classes for attributes, exceptions, and arrays.
System Collections
It re-defines numerous common containers or collections used in programming, like lists, queues, stacks, hashtables, and dictionaries. It comprises a prop up for generics.
System Diagnostics
It offers you the skill to diagnose your application. It consists of event logging, presentation counters, tracing, and interaction with system processes.
The above article is important for dot net development.
About the Author
Tyler Moon is an expert in article writing and internet marketing. She regularly contributes articles on various topics like security services, birth announcements etc.
How do you draw a rectangle for an applet?
http://java.sun.com/javase/6/docs/api/java/awt/Graphics.html#drawRect(int, int, int, int)
I want to use drawRect but I don’t understand what the website is saying exactly. Can someone provide a sample of the code? Thanks.
You would want to override your applet’s paint(Graphics g) method (or if it’s a JApplet, paintComponent(Graphics g) ) to draw the rectangle using the Graphics’ drawRect() method, passing in the coordinates of the upper left corner of the rectangle and the desired width and height of the rectangle. These coordinates and dimensions are given in pixels. So if you want to draw a red rectangle 20 pixels from the right edge of the applet and 30 pixels from the top, 60 pixels wide and 12 pixels high, your overridden paint() method would look like:
public void paint(Graphics g)
{
g.setColor(Color.red);
g.drawRect(20, 30, 60, 12);
}
Image Processing in Java
|
|
First Alert 3035DF Digital Locking Steel Security Box, 0.27 Cubic Foot, Black/Silver $41.99 Note: Products are not available for Hawaii and Alaska States…. |
|
|
First Alert 2037F Fire and Water File Chest, 0.62 Cubic Foot, Gray $55.95 This UL classified First Alert media protection chest tested to withstand an external temperature up to 1550 degrees for 1/2 hour and independently verified to protect electronic media, such as memory sticks, CD’s, DVD’s and external hard drives. Waterproof even when fully submerged. Key Protector Chest Features: Interior Dimensions(HxWxD): 10.25 in. x 12.17 in. x 8.58 in. Stores standar… |
|
|
First Alert 3040DF Digital Large Security Box, Black/Silver $53.99 Honeywell Security Lock Box with Digital Keypad. Lock it up… from important documents to your prized autographed baseball to your laptop, with the Honeywell Security Lock Box. And while you get BIG peace of mind, thieves just find one aggravating obstacle after another. 48″ security cable. State-of-the-art digital keypad. Double-steel wall construction. Plus, fire-retardant insulation provides a… |
|
|
Passion of the Christ: Songs (Original Songs Inspired by the Film) $16.93 … |
|
|
The Lost Soul $15.00 This CD features six new original works, two of them instrumentals, three traditional songs, and one borrowed tune. 1. Two Doves (Rathje) 5:232. Been All Around This World (trad. arr. Rathje) 3:123. Finn MacCool (Rathje) 3:534. The Lost Soul (trad. arr. Rathje) 2:545. Witch of the Westmereland (Fisher arr. Rathje) 4:146. Dobrology (Rathje) 2:547. Trout (Rathje) 2:408. Temperance Re… |
|
|
Family $18.49 … |
|
|
Charlie Rose – ‘What Just Happened?’ / Religulous (October 13, 2008) $24.95 A conversation about the film ‘What Just Happened?’ with Robert De Niro, Barry Levinson and Art Linson. || A conversation about the film Religulous with Bill Maher and Larry Charles.This product is manufactured on demand using DVD-R recordable media. Amazon.com’s standard return policy will apply…. |
|
|
Keyword Optimization – Complete Guide to Choosing Profitable Keywords for Your Website $14.95 Keyword research and optimization are one of the most important aspects in search engine optimization and rankings. One of the most common mistakes people make when creating a website or putting up an online business is believing they already know what keywords customers are using to find them. If you are not targeting the specific keywords your customers are searching for online, they will NEVER … |
|
|
Quality Pay-Per-Click Traffic Video Series (2008, DVD) $49.99 The DVD includes the following videos: 1 – Understanding Quality Clicks Over Quantity Focusing on clicks that convert is more important than just the concept of getting a high CTR (Click Through Rate). The problem most beginners face is they are taught to use a keyword tool and just start adding tons and tons of keywords into the Adwords keyword list and Walla, some magical conversions will hap… |
|
|
Ohio State Buckeyes Ladies Logo Hair Scrunchie $8.95 Ladies, pull your hair back and show your Buckeye team spirit with this team logo scrunchie!… |
|
|
EIKO KPR102 – 2.4V .7A/B3-1/2 SC Mini Flange Base Miniature $4.98 … |
|
|
6 Watt – S6 – 48 Volt – Candelabra Base – Indicator Light Bulb – Bulbrite 750604 $3.99 Brand: Bulbrite – Part No.: 750604 – Wattage: 6 Watt – Voltage: 48 Volt – Base Finish: Brass – Base Type: Candelabra (E12) – Bulb Color: Clear – Bulb Shape: S6 – Bulb Type: Incandescent – Diameter: 3/4 in. – Length (M.O.L.): 1-7/8 in. – Life Hours: 1500 – Case Quantity: 10 -… |
|
|
First Alert 1.2 Cu. Ft. Theft Digital Safe $138.99 This First Alert 1.21 cubic foot safe is constructed of heavy gauge welded steel and is equipped with 2 live door bolts, pry-resistant heavy duty steel concealed hinges, a fully carpeted interior, and a removable/adjustable shelf. Key/Digital Safe Features: Programmable digital lock with override key. Pry-resistant concealed hinges. 2 locking door bolts. Fully carpeted interior. Inside dimensio… |
|
|
Alfa AIP-W505 802.11n/b/g Wireless Broadband Router & Access Point with 4 LAN ports – Wireless-N WiFi WISP, Bridge, AP Router – Advanced Security Futures and Supports URL & Keyword Filtering $49.99 AIP-W505 PCB is the 1 x 10/100Mbps WAN + 4 x 10/100Mbps LAN Ports, 802.11n AP/Router that provide up to 150Mbps high speed throughput. W505 PCB is suitable for WISP applications such as AP/Router mode, WISP mode, WDS Bridge Mode, Wireless Bridge Mode and Hybrid Mode; it’s easy to management by user friendly web-based interfaceSpecifications:ManagementWeb-base management interfaceRemote managementS… |
|
|
Micro Innovations Wireless Link Keyboard (TKB700U) $13.99 Designed for travel and easy collapse, this keyboard is ideal for any user on the go. Foldable design lets you conveniently enter large amounts of data quickly and effortlessly. Ultra-slim design looks sharp and saves space. Folds to go wherever you want. Works with most Palm OS and Pocket PCs. For Device Type: Palm OS;Pocket PCs; Wired/Wireless: Wireless; Maximum Wireless Range: NA;Connector/Port… |
|
|
Samsung UN46C6300 46-Inch 1080p 120 Hz LED HDTV (Black) $1,699.99 The Samsung LED 6300: LED picture quality meets Auto Motion Plus 120HzTM Clear Motion Rate technology, with gorgeous results. The 6300′s LED Ultra Clear Panel absorbs ambient light and virtually eliminates reflections, for a more comfortable viewing environment. It’s beautiful form and function, complementing the most stylish of décor…. |
|
|
Samsung UN55C6500 55-Inch 1080p 120 Hz LED HDTV (Black) $2,799.99 What do you get when you combine Internet@TV with 120Hz Clear Motion Rate technology? The Samsung LED 6500. Get the best of the web, right on your HDTV, with downloadable and customizable widgets – and coming soon, Samsung apps. Connect to friends, share pictures, shop online and more. Samsung’s 120Hz Clear Motion Rate technology delivers smooth, natural action in every scene. Samsung LED backligh… |
|
|
Samsung UN55C6300 55-Inch 1080p 120 Hz LED HDTV (Black) $2,499.99 The Samsung LED 6300 HDTV: LED picture quality meets Auto Motion Plus 120HzTM Clear Motion Rate technology, with gorgeous results. The 6300′s LED Ultra Clear Panel absorbs ambient light and virtually eliminates reflections, for a more comfortable viewing environment. It’s beautiful form and function, complementing the most stylish of décor…. |
|
|
Hanes Men’s Classic Basic Crew, Three Pack $16.00 Hanes Classics are constructed with very soft ring-spun cotton for added softness and resiliency…. |
|
|
Lilyette Women’s Microfiber Minimizer Bra #428 $32.00 Our Lilyette® Microfiber and Lace Minimizer® Bra offers you the very best in beauty and comfort! * Beautiful and comfortable styling * Luxuriously soft fabric* Gorgeous lace details* Smooth under clothes* Guaranteed comfort* Minimizes size – not shapeFabric content: Top Cup: 91% Nylon, 9% ElastaneBottom Cup: 100% NylonBack: 89% Nylon, 1… |
|
|
Lilyette Women’s Strapless Bra with Convertible Straps #929 $32.00 Our Lilyette®Strapless Bra with Convertible Straps is essential for the full figure woman as it offers unparalleled fit and the security that every woman desires. * Offers the best in fit and security * Seamless smooth shaping * Guaranteed to stay in place * Luxurious super soft… |
|
|
Green Toys Sand Play Set $12.94 Kids will ‘dig’ building castles and hunting for buried treasure with the environmentally friendly Sand Play Set from Green ToysTM. Made of recycled plastic, this classic 4-piece collection of tools consists of a bucket, sand castle mold, shovel and rake. Made in the U.S.A from recycled plastic milk containers, which helps save energy, reduces landfill waste, and lowers greenhouse gas emissions, a… |
|
|
Alex 36 X 36 Vinyl Padded Playmat $13.20 All roads lead to fun with this take-along play mat that folds into a toy bag. Open it up anywhere – when you’re finished, pack up the toys and you’re on your way| Open mat measures a generous 36″ x 36″ of prime playing real estate…. |
|
|
Alex Toys Draw like A Pro $30.00 A fun and easy way to draw…just turn down the lights, switch on the projector, insert a preprinted slide and trace away| Comes with 124 slides, 6 markers, 10 sheets of paper, and a flip book…. |
|
|
Keywords: A Vocabulary of Culture and Society $9.90 Now revised to include new words and updated essays, Keywords focuses on the sociology of language, demonstrating how the key words we use to understand our society take on new meanings and how these changes reflect the political bent and values of society…. |
|
|
The DAM Book: Digital Asset Management for Photographers $31.00 One of the main concerns for digital photographers today is asset management: how to file, find, protect, and re-use their photos. The best solutions can be found in The DAM Book, our bestselling guide to managing digital images efficiently and effectively.Anyone who shoots, scans, or stores digital photographs is practicing digital asset management (DAM), but few people do it in a way that makes … |
|
|
YouTube and Video Marketing: An Hour a Day $14.68 A complete, task-based guide to developing, implementing, and tracking a video marketing strategy Online video marketing is crucial in today’s marketplace. This guide teaches you proven, practical guidelines for developing and implementing video marketing for your organization. If you’re a marketer, advertising professional, consultant, or small business owner, here’s a relevant guid… |
|
|
Sirius SL-EX1 Stiletto Executive Speaker System $89.99 SIRIUS SLEX1 SIRIUS(TM) STILLETTO EXECUTIVE SYSTEM DESKTOP AUDIO SYSTEM FOR THE STILLETO FAMILY; 10W PER CHANNEL;HIGH-QUALITY, 2-WAY SPEAKER SYSTEM; BASS ENHANCEMENT TECHNOLOGY FOR DEEPER LISTENING; HEADPHONE JACK;DESK OR WALL MOUNTABLE; AUX IN;INCLUDES EXECUTIVE SYSTEM, WEATHERPROOF INDOOR/OUTDOOR ANTENNA, AC ADAPTER, REMOTE & WALL MOUNT BRACKET SIRIUS(TM) STILLETTO EXECUTIVE SYSTEM… |
|
|
Electric Volt Black Web Belt $28.00 Jump start your look with this Volt web belt by Electric!… |
|
|
FCS Premium TAIL GATE Surfboard Pad $27.98 These pads help to secure your boards when they extend past your tail gate or trunk. Easy design allows for quick and simple attachment in seconds…. |