user908564
user908564

Reputation: 11

Howto create a real 3d game, stereo. (not 3d graphics, but 3d screen)

I need your help. Is it possible to write a game in 3d on a canvas? If so, how. Maybe a small example of 2 blocks?

** With 3d I don't mean 3d graphics in OpenGL, or on canvas while you use your brain to apply vector calculus to project the 3d graphics on a 2d screen. I mean program for LG Op3d/HTC Evo 3d!

Thanks in advance

Upvotes: 1

Views: 1009

Answers (5)

Goeffrey
Goeffrey

Reputation: 116

For the HTC Evo 3D go to HTC developer website htcdev.com There you can download the OpenSense SDK which contains the S3D API and sample code for S3D rendering (Stereoscopic 3D rendering).
You have to render the scene twice which gives you more control on the S3D effect on the one hand, but on the other hand you have to choose your camera view's carefully.

(With other hardware accessories, like nVIDIA's 3d vision, a 3D scene is rendered twice by the driver, no options to change the views of the two cameras from the programmer's point of view).

Upvotes: 1

Dan Reitan
Dan Reitan

Reputation: 11

There is a link to download HTC stereoscopic API at: http://htcdev.com/devcenter/opensense-sdk

Upvotes: 1

TommyX
TommyX

Reputation: 331

HTC has an sdk for the use in thair HTC EVO 3d MPhone.

Upvotes: 0

Zoltán
Zoltán

Reputation: 22166

Short answer: link.

More elaborate answer:

Many 3D TVs have accept multiple types of input to render 3D, most notably - side by side.

If you are interested in getting a quick start at producing a 3D game (or just a 3D scene), you could use a graphics engine (such as jMonkeyEngine), create 2 view ports side by side, and render your scene in each of the view ports from separate camera angles. If you connect your 3D TV and set its 3D mode to side by side - you will see the scene in 3D.

Upvotes: 0

Bill Yan
Bill Yan

Reputation: 3468

Nvidia seems to have a driver or library that automatically converts a conventional 3D game to the 3D stereo game. http://www.nvidia.com/object/product-geforce-3d-vision-wired-glasses-us.html

I guess if you want to do it yourself, you just need to render the same scene twice with slightly shifted camera. and somehow you combine the two rendered result together, you will make your game real 3D.

Upvotes: 0

Related Questions