Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Is there any way to simply draw in 3D, just like you would draw with ShapeRenderer or SpriteBatch? All I want is to draw circles that are in x.y.z coordinates, so some circles are far away from view and some are closer. Also I would like to be able to rotate these circles.

share|improve this question
    
Do you mean SPHERES or circles? They aren't the same thing. LibGDX team is working on a 3D api. Not sure how far they are with that. –  Sidar May 10 '13 at 19:58
    
Well circles was just an example, any shape would do, as long as they have z coordinate depth. –  Rohit Malish May 10 '13 at 20:55

1 Answer 1

up vote 0 down vote accepted

The simple way to draw in 3D is to wait until LibGDX has implemented their 3D functionality.

Otherwise, you can simulate the effect in 2D. Basically, you change the scale of the object to represent its movement along the Z-axis. Rotating would only be with respect to the current 2D perspective.

share|improve this answer
    
So they are working on 3D functionality that would work in same way as ShapeRenderer but also in 3D? –  Rohit Malish May 10 '13 at 20:56
    
I don't know how they plan to make it work. You'd have to ask them. –  Byte56 May 10 '13 at 21:47

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.