Author Topic: No supporting World.drawWireframe()?  (Read 1003 times)

Offline kiffa

  • long
  • ***
  • Posts: 199
    • View Profile
No supporting World.drawWireframe()?
« 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?


Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11970
    • View Profile
    • http://www.jpct.net
Re: No supporting World.drawWireframe()?
« Reply #1 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?

Offline kiffa

  • long
  • ***
  • Posts: 199
    • View Profile
Re: No supporting World.drawWireframe()?
« Reply #2 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.
« Last Edit: January 29, 2013, 06:54:44 am by kiffa »

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11970
    • View Profile
    • http://www.jpct.net
Re: No supporting World.drawWireframe()?
« Reply #3 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... ???