Jump to content

Joh

Members
  • Posts

    474
  • Joined

  • Last visited

Everything posted by Joh

  1. No problem guys @macklebee Well what i see there it seem fine to me. It's probably the best mode. But i could wrong too
  2. If i dont' remeber wrong the conversion is made like this : Body:TBody = TBody (entity) So it should be like this: Function GetMeshModel:TBody(entity:TEntity) While entity <> Null If GetEntityClass(entity) = ENTITY_MODEL local Body:TBody = TBody (entity) return Body EndIf entity=entity.parent Wend EndFunction I'll check in my old code and i tell you..
  3. iPhone is a too lucky base application.. If you are lucky to get in top 100 you make money, if not you are out. Never tried on Androids.. Symbian is a quite large market, there are few developer on that and many customers (almost all the persons wich have a mobile) also you can create mobile application that can run on Blackberry and Windows mobile too. So this is best market i think, but only for the moment.. Symbian is disapperaing (it will stay for years probably) but those mobile will be replaced from a sort of mini computer (iPhone/Androids like).
  4. Joh

    measure problems

    Remove directional light from the editor, or get access to them by code.. It's easyer remove the directional light from editor and then place it by code rather then get it from the scene.
  5. Joh

    normal mapping

    I don't think to understand.. Could you explain us what you wanna create from material editor? Material editor simply create a mat file (wich is a txt file) and write some line of code, that's all. If the question is can i create Normal map texture from material editor, the answer is no. To create a mat file (wich contains the normal map) you should select your texture 0 as diffuse, texture 1 as normal, go on shader and select mesh_diffuse_bumpmap.vert and mesh_diffuse_bumpmap_specular.frag .
  6. Sorry i was at home.. Well no you need to transform the local space of your entity to global space so it will be: Vec3(0,0,1) (just in front of your entity in local space) Source entity? camera (you need to place an object in fornt of it right?) Destination entity? null (null = global, you can also find the position based on other entities, but this isn't your case) so: V:TVec3 = TFormVector( Vec3(0,0,1), cam, null ); EDITED: (Thanks macklebee to remeber this..) V= Vec3(EntityPosition(cam).x +V.x,EntityPosition(cam).y +V.y,EntityPosition(cam).z +V.z); Where V is the position of 1 in front of your cam in global space, so you will place the oildrum there. This should work nicely. There is a really nice example here (this make the inverse thing, from global to local): http://www.leadwerks.com/wiki/index.php?title=TFormVector
  7. TFormVector( Vec3(0,0,1), entity, null ) I was speaking of this.
  8. mmm i really didn't understand so much what are you trying to do but i think you can easly use tform.. If you set the position as local you will have the face of your entity (Camera) so just use z axis should be ok. It's similar to bullet..
  9. I don't think to understood correctly, but couldn't you use camerapick?
  10. We are trying to use a cone based mesh, or if we can't see a good result we simply use a circle base shape on propulsion hole (covering it) and change the intensity of the color, using bloom. I hope you understand..
  11. We found a solution wich won't include any particle, thx to all for the support and sorry me if i wasn't able to show you what was exaclty my problem
  12. There still a working link here http://pateman.net76.net/FontStudio.zip
  13. To renderize faster enigne normally use Back-Face-Culling, it mean that only 1 side of a face is rendered, this is always true on Leadwerks (and in almost any other engines and 3d tool), you can disable it as Lumorja told. Do it with care as this will slow down the rendering of that meshes. Of course there is no other way to renderize that leaf so this is ok for it. You can find more infos here. http://en.wikipedia.org/wiki/Back-face_culling
  14. Joh

    skybox

    I suppose you can't open a cubemap dds from paint.net, i have the same problem with directx dds viewer. I used photoshop (but gimp should work either, and gimp is free) to open it with the nvidia plugins.
  15. Joh

    normal mapping

    mmm Do you need to create normal map texture or just let it load on your mesh? If you need to create normal map textures there are few ways: You could use Xnormal (but you'll need a low poly model and a high ppoly model) You could create normal map directly on textures and so you'll need photoshop (i think you could also use gimp) and the plugin from nvidia. If you just need to add your normal to your model you can use the material editor as other user already suggested.
  16. Well that's site is quite new (about 3 months) also it's in Germany not in US. So i wouldn't trust them. http://who.is/whois/downloadcompany.net/
  17. Joh

    Terrain physics

    Are you using the Leadwerks terrain? Or it's your own map (mesh)?
  18. I forgot to write that i am working right now.. So not today. I hope to show you the particle tomorrow morning but i am not sure.. One of my team told me that he have the solution, so i should check with him.. I hope he found a good solution!
  19. Well, this is an hard question.. I always prefer to work with a 3d artist on my team, but if i should choose, i will surely choose to buy a big pack of my own choise, obviously this will cost me more, also i'll never allow you (or who created the pack) to re-use my models, but i think we are just a few that thinks in this way..
  20. Well unfortunately no screenshoot right now.. I come back yesterday night from holiday i was a little tired! Ok, i'll try to show you an high res image. Also the player ship isn't so big (4x4) and you see it from a cockpit. I have problem with cruiser wich are 300x200 unit. Also the propulsion hole is quite big (50 radius) that's causing a big fps loss using only particle. mmm Animated textures? I didn't know you was able to use it on Leadwerks.. How could you? I tried to scroll it but the result wasn't so nice. Well you should really design the game in a way where there is no such amount of particle, i mean you can let visible the particle only near the cam or some other way. There is no engine that allow you to do everything you want. Many games use trick, we should do the same. We choose to create a starship game trying to minimize the amount of ship in game, using cruiser, so if there are already 10 ship on game ai cannot release other, if 1 is killed 1 is released. This is just a small picture of the ship (renderized from 3d editor and not really textured.) Thx for all the posts.
  21. What do you mean? Simply use alpha on the end of the of texture? Already tried but there other problems, as the texture if still (scrolling texture doesn't help too much), also this type of effect it need to "change" as with speed 0 (it will off) and as maximum speed it will be longer.
  22. Of course but monday.. I am working at the moment and after i'll have 3 days of holiday!
  23. We tried both. No luck or at least not what we search for, don't misunderstood me, both glow and bloom are nice effect but this is not really the effect we was searching for. We are trying to reproduce the particle effect (as for smaller ship) but using a big size particle it drain more fps. Let me said too much for us. (250 fps for small ship, 60 fps for big ship) I am not even sure that was a 2.3 bug (i only recently downloaded the 2.3.1.) but it any cases i think this is quite normal..
×
×
  • Create New...