Jump to content

ArBuZ

Members
  • Posts

    164
  • Joined

  • Last visited

Everything posted by ArBuZ

  1. Damn, it works! Thank you very much man! Ive spent a few hours trying to make it work. I guess its a bug. Need to make bug report.
  2. Hi everybody! As it sad in the topic I can't make it to work. I even tried LE solder. Here is the code I use. Maybe someone have made it to work properly: Model mainModel mainModel.Load("abstract::soldier.gmf"); mainModel.LoadAnimation("abstract::anim_soldier_idle.gmf"); float frame=0; while(1) { frame+=ANIM_SPEED*Engine::GetSpeed(); if (frame>mainModel.GetAnimationLength(1)) frame=0; mainModel.Animate(frame,1.0,1,RECURSIVE); } If anybody know what is the problem, please tell me. Thanks in advance.
  3. Hi Gilmer. The code should look something like this: Entity myEntity("abstract::myEntity.gmf"); Mesh myMesh=myMesh.FindChild("myMesh"); Material myMat=myEntity.GetSurface(1).GetMaterial(); Texture tex; tex=buffer.GetColor(); myMat.SetTexture(tex); This is how I did it. Hope it will help.
  4. Pathfinding. Absolutely agree with Rick. Almost every single game requires this. I would buy it if its not too expensive and is convenient to use in LE.
  5. ArBuZ

    SSDO filter

    Actually as I remember Michael makes his plants the way Omid mentioned. One triangle for both sides. Josh almost all plants that Ive ever seen uses only one triangle for both leaf sides. Otherwise poly count will be very huge.(in 3 times bigger)
  6. Hi. I think that if the engine supports only dds format then this function must support saving to dds files. I know we can use some library for that, but within the engine it will be much more easy and comfortable to use.
  7. ArBuZ

    Buffer speed.

    I mean you can use one buffer for all windows. And try not to create and free buffer for each window. Just create it once and draw windows there. And clear it between window drawing (not free).
  8. ArBuZ

    Buffer speed.

    Do you really need buffer for each window. What are you doing with all this textures? Maybe create one buffer and draw there all windows?
  9. ArBuZ

    Buffer speed.

    Hi! I have almost the same routine, except I create all buffers befor main loop. And then in main loop I only set them and render. Maybe that is your problem.
  10. ArBuZ

    GMF Optimizer

    Do we need to process all models that we create with this tool? If so Ill add option for my exporter
  11. Try this: string myString; ...... LoadMesh(str(myString.c_str()));
  12. Hi! What are you using for skinning (skin modifier or physiqe) ? 1. The exporter supports only skin modifier, and it must be on top of modifier stack. 2. You have to apply material to a model to be able to see animation in LE (because animation is implemented through shaders). 3. When you want export skinned mesh select only the mesh, don't select bones. Otherwise the exporter will create mesh for bones in gmf file. I think your problem in materials. Just apply standard material and set Export materials option.
  13. sdt::String has c_str() method use it. It should work.
  14. Hi Josh! When do you need it? I can try. But not promise.
  15. http://leadwerks.com/werkspace/index.php?/topic/1305-progress-bar/
  16. Oh, what a shame! Such kind of persons make a bad reputation for my people. Damn. Hope I'm wrong and this guy haven't received his license key yet.
  17. Your way would work for simple solutions. But in complex solutions with classes (C++) when for example Source is a member of class, things become more complicated and handling all sources of all objects in scene is very tricky.
  18. Hi! I want to implement an option Sound and Music volume in my game. And Ive found that its not as simple as it should be There is no any global parameter in the engine, only SetSourceVolume. But then I have to go through all my sources and set it's volume. Have anyone done this before? Thanks in advance.
  19. Wow! Very impressive. They have interface very similar to 3ds max cool! (Josh, you should think about it ) Actually all this is possible to do in the Leadwerks engine with some more coding. All that features are very specific per game. Btw how much does it cost? And if they have so nice straightforward work-flow, why do they still do their games so long?
  20. Ive solved flipped images problem by getting and drawing buffer data two times( sorry for my english ) 1. get texture from current buffer 2. draw it to another buffer 3 get the texture from the last buffer
  21. Yes. But I need it after game is restarted. I wanted to make skreenshots for saved games. I can live without it But anyway it would be a nice feature if SaveBuffer supports dds. Ill post it in feature reques if you don't mind.
  22. Hi! As I understand I can't save buffer as dds. Only jpg TGA and png. Just wondering why would I need this function if I don't have ability to use result in the engine? How do you guys convert any kind of images in code while game is running? I need to save buffer to file on hdd. And then later use it in game (Load/Save images). Thanks in advance.
  23. Yes, this is exactly the way I go. But the most intersting thing is "some math" I think Ive found solution, but have to test it. Someimes it doesn't work
  24. Hi everybody! Ive got a problem. I'm making a raycast. And if I pick a surface I want to get UV coordinates at picked point. Is it possible to do? Maybe someone already done this before. I have some ideas, but wanted to know your opinion first. Thanks in advanced.
  25. Josh thank you very much for this link!!!! I hate all that new win7 stuff. I cant work in it!!! I have a feeling that Microsoft intentionally made madman UI design. Every time I start working in win7 I go mad and angry. Damn
×
×
  • Create New...