Search found 17 matches
- Tue Oct 11, 2011 4:26 pm
- Forum: Questions and Help
- Topic: [SOLVED] Problems with raycasting
- Replies: 9
- Views: 6520
Re: Problems with raycasting
I'd like to rent your time machine. Is it possible? No matter the price! Anyway: you are telling me that I can translate a static object? Aren't static object static by definition? I thought I made both a conceptual and a code mistake by translating my mesh after adding it in the Space. I couldn't r...
- Mon Oct 10, 2011 12:57 pm
- Forum: Questions and Help
- Topic: [SOLVED] Problems with raycasting
- Replies: 9
- Views: 6520
Re: Problems with raycasting
I'm very grateful for your help. How do you find the time for develop and also answer in the forum? Anyway I found the problem, which can be reproduced in the demo: I do set the AffineTranform after adding the StaticMesh to the Space so that WorldMatrix is not calculated. Of course it's a mine mista...
- Fri Oct 07, 2011 5:02 pm
- Forum: Questions and Help
- Topic: [SOLVED] Problems with raycasting
- Replies: 9
- Views: 6520
Re: Problems with raycasting
In the end I found a solution: if I don't translate the StaticMesh everything works fine. Actually it's not a big deal since I need all of this for generate a grid so after it's generated I can translate the mesh and the grid with no issues however I couldn't reproduce this error on the StaticMeshDe...
- Fri Oct 07, 2011 12:35 pm
- Forum: Questions and Help
- Topic: [SOLVED] Problems with raycasting
- Replies: 9
- Views: 6520
Re: Problems with raycasting
I discovered that if I remove the box and leave only the StaticMesh (the red mesh you can see in the pictures) the casts on the StaticMesh generate a correct grid (like on picture eh_grid.png). At first I thought I created a box too large but no matter how I resize and/or move the box the raycasts f...
- Fri Oct 07, 2011 12:15 pm
- Forum: Questions and Help
- Topic: [SOLVED] Problems with raycasting
- Replies: 9
- Views: 6520
Re: Problems with raycasting
Yes, that was a typo and yes: that is what I wish to achieve.
I'll check everything on the scene, thanks for your reply.
I'll check everything on the scene, thanks for your reply.
- Thu Oct 06, 2011 4:55 pm
- Forum: Questions and Help
- Topic: [SOLVED] Problems with raycasting
- Replies: 9
- Views: 6520
[SOLVED] Problems with raycasting
Hi again, I have a problem with some ray casts: I have a mesh which is a piece of a dungeon with stairs, corridors, platforms and so on. This mesh is a StaticMesh. On this mesh I have to create a grid which, in the future, will be the grid I have to use for the AI, basically a grid of valid points f...
- Fri Jul 08, 2011 5:01 pm
- Forum: Questions and Help
- Topic: Bug: Crash if there are no entities, version 0.16.0
- Replies: 3
- Views: 3121
Re: Bug: Crash if there are no entities, version 0.16.0
Ah nice, thanks again for your quick answer.
May I suggest to change the stable version with that specific build?
May I suggest to change the stable version with that specific build?
- Fri Jul 08, 2011 4:38 pm
- Forum: Questions and Help
- Topic: Bug: Crash if there are no entities, version 0.16.0
- Replies: 3
- Views: 3121
Bug: Crash if there are no entities, version 0.16.0
Hi, I know there is a bug tracker: I apologize but I do not have time to register and issue a new ticket. I found nothing on the forums nor in the codeplex page so I'm posting here. Feel free to move or delete this post. If I do Space.update() but Space is empty (with no entities) BEPU crash with no...
- Thu Jun 09, 2011 4:17 pm
- Forum: Questions and Help
- Topic: Question about Thread Workers
- Replies: 14
- Views: 8703
Re: Question about Thread Workers
Maybe I explained wrong. My ThreadManger is set and my ThreadManager have 4 threads, DynamicHierarchy do call EnqueueTask but then, inside a task executed by my own Worker class, DynamicHierarchy split into 2 more threads outside my control. This is what I've seen from the debugger and it's no a beh...
- Thu Jun 09, 2011 3:56 pm
- Forum: Questions and Help
- Topic: Question about Thread Workers
- Replies: 14
- Views: 8703
Re: Question about Thread Workers
I see. But if I have more then 1 Thread then this threads are set to the ThreadManager and are used for the ForLoop and/or EnqueueTask functions and then, inside a EnqueueTask the DynamicHierarchy get 2 more threads. DynamicHierarchy should rely on ForLoop and EnqueueTasks, instead inside a EnqueueT...
- Thu Jun 09, 2011 2:33 pm
- Forum: Questions and Help
- Topic: Question about Thread Workers
- Replies: 14
- Views: 8703
Re: Question about Thread Workers
Hi again. I finally managed to solve everything. I finally have a working ThreadMangager with a dynamic load balancer. I still have a question tough it's not very important but I hope you many answer: as I've seen from debug the DynamicHierarcy split into 2 threads and do some nasty stuffs with it's...
- Tue Jun 07, 2011 3:05 pm
- Forum: Questions and Help
- Topic: Question about Thread Workers
- Replies: 14
- Views: 8703
Re: Question about Thread Workers
Thank you again for your reply.
My tests were all done on PC a dual-core, I forced both my ThreadManager and BEPU's internal ThreadManger to use 4 threads. BEPU version is 0.15.2 from source (I compiled against x86 debug).
Well those informations are enough, I'll recheck everything again.
My tests were all done on PC a dual-core, I forced both my ThreadManager and BEPU's internal ThreadManger to use 4 threads. BEPU version is 0.15.2 from source (I compiled against x86 debug).
Well those informations are enough, I'll recheck everything again.
- Tue Jun 07, 2011 1:23 pm
- Forum: Questions and Help
- Topic: Question about Thread Workers
- Replies: 14
- Views: 8703
Re: Question about Thread Workers
Hi again. I was managed to write a working ThreadManager which use my worker and my thread. The manager works well and I'm able to load balance the works between thread as I wished to. I still have some problems: In the ForLoop method I was using another algorithm for split the tasks but it seems BE...
- Wed May 25, 2011 12:57 pm
- Forum: Questions and Help
- Topic: Question about Thread Workers
- Replies: 14
- Views: 8703
Re: Question about Thread Workers
Thanks again for your reply.
I'll work on it.
I'll work on it.
- Tue May 24, 2011 4:56 pm
- Forum: Questions and Help
- Topic: Question about Thread Workers
- Replies: 14
- Views: 8703
Re: Question about Thread Workers
Hi again, I have one more question about this matter. I developed my own ThreadManager and it works, alone and with BEPU. But as far as I've seen the Space class constructor make a new ThreadManager and set it to it's every subsystem. Then if I set my own ThreadManager class to Space, this simply ig...