Search found 12 matches

by galodoido794
Sun Jan 22, 2012 6:41 pm
Forum: Questions and Help
Topic: Remove or Replace Box
Replies: 6
Views: 4957

Re: Remove or Replace Box

Finally... LOL

Code: Select all

game.ModelDrawer.Remove(entityCollision.Entity);
by galodoido794
Sun Jan 22, 2012 6:07 pm
Forum: Questions and Help
Topic: Remove or Replace Box
Replies: 6
Views: 4957

Re: Remove or Replace Box

Simulate this situation is easy. Just change the part of code: if (Space.RayCast(new Ray(game.Camera.Position, game.Camera.WorldMatrix.Forward), 1000, rayCastFilter, out raycastResult)) { var entityCollision = raycastResult.HitObject as EntityCollidable; if (entityCollision != null && entity...
by galodoido794
Sun Jan 22, 2012 5:53 pm
Forum: Questions and Help
Topic: Remove or Replace Box
Replies: 6
Views: 4957

Re: Remove or Replace Box

I do not know if there is any problem to get the entity class EntityCollidable ...

I was debugging and noticed that it happened in about six methods remove (in Space), but did not remove the design but only the physical

I'm still thinking about what can be ..
by galodoido794
Sun Jan 22, 2012 11:09 am
Forum: Questions and Help
Topic: Remove or Replace Box
Replies: 6
Views: 4957

Remove or Replace Box

I must be very beginner hehehe I'm having a Box remove the space. For example: var = entityCollision raycastResult.HitObject the EntityCollidable; Box box = (Box) entityCollision.Entity; Space.Remove (box): It seems that he was physically removed, but the design it is not removed ... What is the bes...
by galodoido794
Sat Jan 21, 2012 7:28 pm
Forum: Questions and Help
Topic: MAX Performance
Replies: 13
Views: 7274

Re: MAX Performance

Just kidding, but I found the engine very good and wanted to use it as the main engine.

You indicate a graphics engine? Xen? SlimDX? Other?
by galodoido794
Sat Jan 21, 2012 7:10 pm
Forum: Questions and Help
Topic: MAX Performance
Replies: 13
Views: 7274

Re: MAX Performance

I'm making a big MMO =D

I'll search what are the strategies that can take ...

As always thank you ...
by galodoido794
Sat Jan 21, 2012 6:09 pm
Forum: Questions and Help
Topic: MAX Performance
Replies: 13
Views: 7274

Re: MAX Performance

I'm guessing this engine and fantastic support. One question, how can I draw with StaticMesh 9999999 vertex and 29999999 indices? That is, I have a StaticMesh with many vertices and indices (from the millions) ... I made this example, but is designed StaticMesh half . I'm looking into this class: Mo...
by galodoido794
Sat Jan 21, 2012 12:43 am
Forum: Questions and Help
Topic: MAX Performance
Replies: 13
Views: 7274

Re: MAX Performance

Ok ... I will test ... Thank you ..
by galodoido794
Sat Jan 21, 2012 12:39 am
Forum: Questions and Help
Topic: MAX Performance
Replies: 13
Views: 7274

Re: MAX Performance

I understand, but when applying this formula the result was not expected. Example: ... staticTriangleVertex[v].X += newPosition.X; staticTriangleVertex[v].Y += newPosition.Y; staticTriangleVertex[v].Z += newPosition.Z; ... vertex.add(staticTriangleVertex); Is there any function in the framework that...
by galodoido794
Wed Jan 18, 2012 3:12 pm
Forum: Questions and Help
Topic: MAX Performance
Replies: 13
Views: 7274

Re: MAX Performance

I'm trying to make your solution and so far not been successful =( I was wondering if I have two objects, separately and in different positions. Assuming that the first object is the vertex (1,1,1), index 0 and position (5,5,5). The second object vertex (1,1,1), index 0 and position (9,9,9). Joining...
by galodoido794
Tue Jan 17, 2012 5:51 pm
Forum: Questions and Help
Topic: MAX Performance
Replies: 13
Views: 7274

Re: MAX Performance

His suggestion is a measure creating an object that I join others in such a way to stay only a StaticMesh??

For example, I created three staticmesh somehow combines them into one? How?

Thanks for the reply =D
by galodoido794
Tue Jan 17, 2012 10:54 am
Forum: Questions and Help
Topic: MAX Performance
Replies: 13
Views: 7274

MAX Performance

First, praising the project. I'm learning a lot from him. I have a question, want to build a scenario where I can have 10 to 30 thousand boxes or other shape (no physical). I set an example by using: space.Solver.IterationLimit = 2; var = new StaticMesh mesh (staticTriangleVertices, staticTriangleIn...