Prev Previous Post   Next Post Next
Old 02-26-2010, 12:40 PM
xConStruct xConStruct is offline
Junior Member
Join Date: Feb 2010
Posts: 2
Default Simple 3D Wireframe Engine

Hey all, I'm new here!

I decided to try and build a very simple 3D engine, because the zen does not provide any functions and I wanted to check performance on this. With this, you can draw colored lines in 3D space, to build cubes or other simple objects.

My example app creates the the three axes, a gray cube and some tower-object. To rotate the camera, use the touch screen - Exit is of course on the home-button. There are some screenshots below, including the zip-archive - you can view the code directly on my GitHub repo. Don't wonder about the Dharma-thing, it's some class-based GUI-framework I'm currently developing.

Well, I didn't test the engine with large amounts of objects, but I suspect that the limit really depends on the drawing performance of the x-fi 2.
Don't think it is possible to draw solid surfaces, because we can't draw triangles with the API - and simulating them via lots of lines would possibly fail because of the CPU.

I hope, someone finds this useful or has ideas on how to improve 3D on the zen
Attached Images
File Type: jpg 3d_1.jpg (12.9 KB, 205 views)
File Type: jpg 3d_2.jpg (14.9 KB, 194 views)
Attached Files
File Type: zip (19.2 KB, 158 views)
Reply With Quote

Advertisement [Remove Advertisement]


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 03:18 PM.