hello!I started using bullet recently with DirectX9.
I want to see wireframes maybe by using btIDebugDraw or m_world->setDebugDrawer or m_world->debugDrawWorld
but I can't success
please tell me how to do!
I draw objects by not using bullet,and assign invisible rigidbody by bullet.I want to see invisible rigidbody!!
Please tell me how to see wireframes
-
- Posts: 107
- Joined: Fri Sep 19, 2008 6:08 pm
Re: Please tell me how to see wireframes
Hi
Would you want to take a look at my DirectX Bullet powered demo over at my site:
http://programmingmind.com/bullet-physics-using-directx
It has its own directx shape drawer instead of OpenGL and yes you can turn wireframe on.
Source comes with my demo hope that helps.
Would you want to take a look at my DirectX Bullet powered demo over at my site:
http://programmingmind.com/bullet-physics-using-directx
It has its own directx shape drawer instead of OpenGL and yes you can turn wireframe on.
Source comes with my demo hope that helps.
-
- Posts: 6
- Joined: Fri Mar 06, 2009 5:53 am
Re: Please tell me how to see wireframes
Very thank you!
but I don't Know Where I should see.
I build your zip file and found wireframe button,but this wireframe button reveals only mesh wireframes.
Is there assigned rigidbody wirefame and how I can see?I did't know,please teach me.
? ? ? ? ?
but I don't Know Where I should see.
I build your zip file and found wireframe button,but this wireframe button reveals only mesh wireframes.
Is there assigned rigidbody wirefame and how I can see?I did't know,please teach me.
? ? ? ? ?
-
- Posts: 107
- Joined: Fri Sep 19, 2008 6:08 pm
Re: Please tell me how to see wireframes
Hi
could you elaborate on that? what do you mean by assigned rigid body wire frame?
could you elaborate on that? what do you mean by assigned rigid body wire frame?
-
- Posts: 6
- Joined: Fri Mar 06, 2009 5:53 am
Re: Please tell me how to see wireframes
I think bullet makes invisible collision shapes and register each collision shapes with world.
I know boby have rigidbody,ghostbody and softbody.
I created x-file object and attached rigidbody which have clyinder collision shape ,so I used "assigned rigid body wire frame"
Now,I can't see collision shape because it is transparent,so I want see those wireframe.
I want to see as far as easily.
I know boby have rigidbody,ghostbody and softbody.
I created x-file object and attached rigidbody which have clyinder collision shape ,so I used "assigned rigid body wire frame"
Now,I can't see collision shape because it is transparent,so I want see those wireframe.
I want to see as far as easily.