vir2007

Member
  • Content count

    12
  • Joined

  • Last visited

Community Reputation

105 Neutral

About vir2007

  • Rank
    Member
  1. Draw objects in real time

    I was making some mistakes which are corrected now, thnx for help anyway @darookie: thnx for that explanations
  2. Draw objects in real time

    ok thnx for help
  3. Hi all, I have [b]glutDisplayFunc[/b]() to draw the environement And I [b]receive [/b]data from [b]network [/b]that contain position of objects, I have a [b]thread [/b]that treats that kind of data So here my problem I tried to store data into [b]vector<data>[/b] to be drawn in glutDisplayFunc each time, this way slow down my computer and moving objects is not smoothly Then I tried to not use vector<data> and want to draw objects direclty from "[b]thread[/b]" that receive data, and nothing happened so is there way to make moving objects in real time, and if possible draw them from that thread instead of glutDisplayFunc plz i need an answer asap Thanks
  4. Hi all, I have [b]glutDisplayFunc[/b]() to draw the environement And I [b]receive [/b]data from [b]network [/b]that contain [b]position [/b]of [b]objects[/b], I have a [b]thread [/b]that treats that kind of data So here my problem I tried to store data into [color=#ff0000][b]vector<data> [/b][/color]to be drawn in [b]glutDisplayFunc [/b]each time, this way [b]slow down [/b]my computer and [b]moving objects is not [color=#ff0000]smoothly[/color][/b] Then I tried to not use vector<data> and want to draw objects direclty from "[color=#ff0000][b]thread[/b][/color]" that receive data, and nothing happened so is there way to make moving objects in [b]real time[/b], and if possible draw them from that [b]thread [/b]instead of [b]glutDisplayFunc[/b] Thanks
  5. AI for 3D roads

    something like this: [url="http://www.youtube.com/watch?v=A2HAYSwbzdo"]http://www.youtube.com/watch?v=A2HAYSwbzdo[/url]
  6. AI for 3D roads

    Hi thanks for ur reply im stack on how to define for each city the road and connect it later with AI i didnt find any topic on google about that, because its not like using grids ...
  7. AI for 3D roads

    Hi all, I have a 3D city with roads, and i want to make trafic only on those roads only what should i have to do? how to define roads into data for AI i didnt find similar problem over the internet Thanks
  8. thnx mate, i missed "bounding box" keyword thnx again
  9. 3D City with Roads

    Thanks Badams I already did the basics, I know that I need more experience for this domain, well im forwading step by step, now im using libraries to load a model for the city generator, i finished by using ghostTown which requires x64 system if i will stack on anything i will ask for help Thanks again
  10. Hi all, I want to know how to get infos regarding a .obj file such as WIDTH and HEIGHT and CENTER of the model (which permit the rotation and translation according to it) Im using this model parser with Assimp/FreeImage: [url="http://svn.augmate.org/Verse/trunk/objs/"]http://svn.augmate.org/Verse/trunk/objs/[/url] Is there anyway from those libraries that give me what i need Im still new here Thanks for reading
  11. 3D City with Roads

    Hi Badams, Im gonna build my own engine, For format, I think its .obj Then I have to recognize roads on this object then run a Car with AI according to the streets coordinates Thanks
  12. 3D City with Roads

    Hi all, I'm facing a real problem, I need at least 2 or 3 3D cities to use it in somehow car game with AI (many roads, no need for altitude...) but to go forward my project, i need those maps i tried many things and nothing cityengine cant export to format to be used with 3dsmax... ghostTown is good but requires 64 bit systems Please help me by mading those cities for me to advance in my project, im stack for three monthes looking for solution Thanks in advance