• Content count

  • Joined

  • Last visited

Community Reputation

127 Neutral

About Pooya65

  • Rank
  1.   Thank you, this was quite useful to me, I have read the original paper ("Motion Planning in Dynamic Environments using Velocity Obstacles [Fiorini 1998]"). Yet I have some problems in implementing it. is there any implementation of the algorithm in C++? and if not, what is "configurationSpace" and "Minskowski sum vector", how can I implement them in C++?
  2. Is there any effective algorithm for collision avoidance of moving cars in a street,  by only using decrease or increase speed?   I have read some other algorithms such as "steering collision avoidance" which is for fixed obstacles. and they only change the path and speed of the entity to avoid collision, but what if entities are moving and they are not able to change the heading? for instance assume that two cares are moving in two crossing streets, and the only thing that they can do to avoid collision is to decrease their speed. I was in though that I can use OBB's and check whether the two OBB's might collide in future or not. is there any better solution?
  3. RB-Tree or AVL trees

    are you know any good article from implementing hash tables?   as i considred, hash function is most important thing in hash table, how can i implement a good hash function for unicode strings ( a good algortim or ... )
  4. RB-Tree or AVL trees

    i think look-uping an item in a game is more often used than inserting or deleteing an item so with AVL trees we can get better results. 
  5. hi   which is better ( faster ) for game programming?
  6. hello   i want a fast memory allocation library or alogritm  that supports multithreading ( before it i try some library like as ned malloc and doug lea). are u know any other library or alogrithm ?
  7. writing exporter for maya

    hi how can i write my own model exporter in maya for my game engine ? (plz help with a book name or tutorial link) and sorry for my bad english
  8. 1. are CG ( CG 3) supports OpenGL 3.x and 4.x features like as VAO and UBO's ? 2. can i specify location of uniforms in CG ( for example setting in_Position to the number 11 and ...)? 3. can i use CG with OpenGL in other vendors like as ATI/AMD and Intel ?
  9. what can i do for defining scope of variable? (creating a new symbol table for each function and block or ...) I'm use lex and yacc and i wrote a very basic interpreter. syntax is like as C
  10. [quote]yes [/quote] thanls [quote] i want to set all vertex attribs (defined in mesh) in VAO which a single VAO can be used with different vertex shaders whit out any change [/quote] can it hit performance of application?
  11. can i set vertex attrib pointers which are't exist in vertex shader? for example i set following vertex attribs: [code]glEnableVertexAttribArray(DGE_NORMAL_ATTR); glVertexAttribPointer(DGE_NORMAL_ATTR,3,GL_FLOAT,GL_FALSE,0,BUFFER_OFFSET(normal_offset )); glEnableVertexAttribArray(DGE_TEXCOORD0_ATTR); glVertexAttribPointer(DGE_TEXCOORD0_ATTR,2,GL_FLOAT,GL_FALSE,0,BUFFER_OFFSET(tex_coord0_offset )); glEnableVertexAttribArray(DGE_TEXCOORD1_ATTR); glVertexAttribPointer(DGE_TEXCOORD1_ATTR,2,GL_FLOAT,GL_FALSE,0,BUFFER_OFFSET(tex_coord1_offset)); [/code] and my GLSL program only accept position and normal. i want to set all vertex attribs (defined in mesh) in VAO which a single VAO can be used with different vertex shaders whit out any change
  12. according to the [url="http://www.opengl.org/sdk/docs/tutorials/ClockworkCoders/attributes.php"]this page[/url] i can't bind vertex attribute like as in_Tangant to the index # 2 in NVIDIA hardwares. is this true? and i test it in GL3 and GL2 context but i don't get any error or app crash. are there any risk in using it?
  13. hi how can i enrum(get name of) vertex shader attribs (input vertex type like as color and position) ? for example i want get name of the "in_Position" and "in_Color" from following shader: [code] float4x4 in_ModelviewProjectionMatrix; struct OutputVS { float4 posH : POSITION0; }; OutputVS vmain(float3 in_Position : POSITION0, float3 in_Color : COLOR0) { .... } [/code] i can get in_ModelviewProjectionMatrix fromconstant table but in_Position and in_Color aren't exist in constant table. i want use this variables for creating desired VertexDeclaration for my vertex shader automatically in my engine
  14. can i create vertex deceleration in OpenGL (OGL 2 or 3)( like as d3dx) instead calling vertex attrib pointers in every draw call ?
  15. 1.what is the difference between jit and virtual machines? 2. are there any library for creating and running machine codes at run-time? 3. using jit in my scripting language can help me to increase running performance?