Jump to content
  • Advertisement

amarhys

Member
  • Content count

    49
  • Joined

  • Last visited

Community Reputation

122 Neutral

About amarhys

  • Rank
    Member
  1. Hello everybody, This post to present a Myst-like game I am working on for a long time : Amarhys (sorry for my English, I am French) A long time ago (7 years) I released a first demo, and after a long break of 5 years and 2 years more to improve the visual aspect and the game engine, Amarhys is back with a new demo. The demo is available in French and in English, the player can select the language when starting the game. The main improvments are : - new graphics rendering, with a 360° environment - musics and sounds The game demo is working only under Windows, I'll work later on the Mac version when the final game project is more advanced. To download the new demo (about 115Mo) : Download Amarhys demo For detailed information about installation and for the game demo guide : Amarhys demo guide Do not hesitate to contact me on Amarhys website forum if you have any problems, questions or comments about the demo. Ah yes, I forgot to mention : the goal of this new demo is to get back to the first demo ... I hope you will enjoy it. Cheers Amarhys (Xavier)
  2. For all textures I am using D3DPOOL_MANAGED. Most of my textures (90%) are in DXT3 format. I am still investigating where do the error exactly come from. For sure from one or more DirectX calls in my global render() function. This function is a basic rendering sequence, ie. BeginScene() .. vertex buffer updates ... basic draw primitive .. vertex buffer updates ... basic draw primitive...... EndScene(). All textures are loaded outside this render() function. If I have added check of textures in the render() function, it was just to be sure I am not trying to render a texture which has not been loaded successfully .. but I don't think the problem comes from texture (indeed, when I just ignore the render() call which are failing, the next render() call seems to work fine and the texture are all displayed, any missing ones). I guess the problem is in my render() function, it seems that sometimes DrawPrimitive and/or Vertex buffer updates are not working .. and only with this Lenovo computer with the dynamic management of the video cards. I am still investigating the issue to try to find which D3DX calls are failing. And trying to find if I can do something to avoid this or just have to live with it. Is there something to check before entering BeginScene() -> EndScene() sequence ? I am already checking if the device is lost or not, and call the render() only when the device is ready. Can the device be lost during the BeginScene () -> EndScene() ? Thanks for your help Adam_42. Xavier
  3. Hello, I am working on a Direct3D game (Myst-like) using DirectX9. I have already created a demo and tried it on some computers (one XP, one Vista, 2x Windows 7 and some others) and it worked fine. I tried to install it on a IBM Lenovo machine, a T420 which has 2 embedded video cards (one IBM for low consumption, one NVIDIA for performance). The managing of these two cards is fully tranparant for the users, Windows 7 takes care of switching the cards when needed. Moreover, when I enumarate the available display adapters, only the IBM one is listed (GetAdapterCount() returns 1 - followed by GetAdapterIdentifier() which returns the IBM card description). This is for the context. Now, the demo was not working very well on this Lenovo. Investigating a little bit and debugging the code, I noticed some of the directX calls (most of them during the rendering phase) where not returning D3D_OK (whereas texture are loaded correctly and everything seems fine) and then made the program to crash (because I check all directX calls and display error message and exit when an error is seen - which is working fine on the other computers I tried). I decided not to check the status of DirectX calls during the rendering (I just check, before using a texture for example, that the texture has been correctly loaded, if not, I skip the display of this texture and continue rendering ..) and now everything works fine on the Lenovo. The demo is just running well, no crash any more, and no display artifacts noticeable. Maybe my initial code was too strict, I mean to exit the game with an error when one of the DirectX call has failed (but as I said, working well until Lenovo experience). What is the good practice ? Should I investigate more on the Lenovo or could I accept a rendering procedure whose some DirectX calls are failing .. in any case they will be performed on next calls to rendering function .. which is confirmed because no display artefacts at the end..). Note : before each call to rendering function my code is already checking if the device is lost, and if lost, waits if not ready to be reseted and reset as soon as ready. Thanks in advance for your answer. -amarhys
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!