www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: kiffa on January 28, 2013, 10:42:42 am

Title: No supporting World.drawWireframe()?
Post by: kiffa on January 28, 2013, 10:42:42 am
The java-doc of jPCT-AE doesn't say that, but a run time exception was thrown when running:

01-28 17:33:43.910: E/AndroidRuntime(2477): java.lang.RuntimeException: Wireframe rendering isn't supported ATM!

I want to use this method to do some special effects, could you add it? Thanks.

Another question: what's the "ATM" mean? At the moment?

Title: Re: No supporting World.drawWireframe()?
Post by: EgonOlsen on January 28, 2013, 08:29:40 pm
Yes, ATM means At The Moment. I never added this method because nobody really ever asked for it until now. Are you sure that this would give you the effect you want? What kind of effect do you have in mind?
Title: Re: No supporting World.drawWireframe()?
Post by: kiffa on January 29, 2013, 06:46:21 am
For example, move furnitures in a room, when pick up one furniture, i hope all the objects are Wireframed, so the users can align them easily.
Title: Re: No supporting World.drawWireframe()?
Post by: EgonOlsen on January 29, 2013, 07:08:13 am
I don't think that this is look very/work very good. Keep in mind that in wireframe mode, you have no depth buffering i.e. no object or part of it will be hidden by another object and no texture or lighting information, so that everything will be single colored wire frame. If you still want to use this, i'll look into it but i honestly don't think that you *really* want this... ???