Jump to content

ecma262

Community Members
  • Posts

    13
  • Joined

  • Last visited

ecma262's Achievements

Discens

Discens (2/14)

0

Reputation

  1. Hi all: Just wanted to know a bit more about the naming conventions for global javascript variables. If this topic was already covered on the wiki, I appreciate a pointer to it. In gui/session_new/session.js, I see global variables like g_EntityStates and g_Players that are prefixed by 'g_'. But, In input.js, I see global variables like mouseX and mouseY that are not prefixed. Is my assumption, that all of the above variables are global, correct? Thanks
  2. I wish it was my own creation. But I got it from http://www.texturewarehouse.com/gallery/pic.php?id=481 just for testing purposes.
  3. Thanks Ykkrosh for your response. One of the main features that I like about pyrogenesis is using javascript as the scripting language. I see that you did upgrade the version of spidermonkey. Do you think its worth trying to integrate with V8? You guys have done a fantastic job with the engine. I will keep playing with it and see where it can take me to.
  4. Here is what I was doing wrong: I used Blender 2.49 I created a simple cube without textures I exported the mesh using the triangle I edited the .dae file manually to add the texture mapping coordinates I kept getting 'face count does not match' error in pyrogenesis Here is how I was able to fix it: I used Blender 2.5b I created a simple cube but this time I added an image texture I exported the model using polygons (actually, I didn't have a choice) I was able to load the mesh into pyrogenesis Success! I am attaching the blender file, the collada file, the texture image and a screenshot of what I was able to accomplish. Thanks guys for your help textured_cube.zip
  5. Great news for me! I finally was able to get a textured cube to appear in pyrogenesis using Blender 2.54b. There is no option (as far as I know) to use triangles. As Ykkrosh mentioned, pyrogenesis can handle COLLADA with polygons meshes. Next is to create a simple animation in Blender and try it in pyrogenesis. ( I love saying pyrogenesis over and over again)
  6. Hi all: While I am still working on my Blender COLLADA issue http://www.wildfiregames.com/forum/index.php?showtopic=13530 I am just curious if there has been any discussion in the past regarding ogre3d and pyrogenesis. I did a quick search for ogre3d in this forum to see if this topic was discussed in the past, but nothing relevant came up. Thanks
  7. If you don't mind, can you please post your .dae file and .blend file, it would help me debug my issue. Thanks!
  8. In Blender 2.49, the answer is yes and I used 1.4. In Blender 2.54, there was no version specified to export, so I am assuming it is 1.4. I think pyrogenesis appeal will be a a thousand-fold greater if it was easy to use Blender with it.
  9. Mythos_Ruler: Thanks. I read somewhere on the wiki that it needs to be exported as triangles and that is what I did in all my exports. Do you know of anyone who was able to take assets from Blender COLLADA and import them directly as meshes in pyrogenesis? I am not an artist not even close just a hardcore programmer. I am evaluating pyrogenesis as an engine for my own personal project. So far, I am able to get pyrogenesis to do what I want, but I am at the point where I need to create some 3D models and use them in pyrogenesis. My understanding is that almost all the assets developed for 0.A.D are done using 3d max. I would love to know if there is anyone who is able to use Blender COLLADA plugin. My only option for now is to go and read FCollada source code to try and understand what is going on
  10. Hi all: I created a simple cube in Blender, then used the COLLADA plugin to export it from Blender 2.49. But, when I try to load the COLLADA file from pyrogenesis. I ran into a few issues: - Blender COLLADA plugin does not seem to export TEXCOORD, so I added a faked input with TEXCOORD semantic by hand. - I was then faced with 'faces count does not match given entries', after spending an hour looking at the COLLADA 1.4 spec, I noticed that Blender exports face normals and not vertex normals. So, I created a simple COLLADA file using a text editor for a simple triangle and I was able to load it into pyrogenesis. Any body is running into the same issue? Thanks UPDATE: never mind, I am not understanding what is going on and my conclusion above might not be right. If you are able to export Blender models into COLLADA and then use them from inside pyrogenesis (without any conversion), please let me know. Thanks
  11. Thanks, it is looking much better now. You guys rock! very quick response. There are a few issues that I have seen, but they are not related to this revision. They have been there since the alpha release, I believe (or even before that). One issue is regarding the cursor. It keeps reseting to the center of the screen every time you select a unit and try to point it to another unit or anything else. Thanks again.
  12. Thanks for your quick response. I am attaching a screenshot of the issue
  13. Hi all: After I updated the code to revision 8107, all entities, actors, GUI elements are displayed without textures (Mac OS X). Is this something you are aware of? Thanks
×
×
  • Create New...