Loading...
You are not logged-in Login/Register





  • Posts   Search Threads
  • gonxJuly 6, 2008 10:02 PM PDT   
    [Noob Question]Tutorials for Integrating Havok with 3rd party graphics engine

    Hi,

    Would there be any recommended tutorials and approach for integrating havok to open source graphics engines? I've been studying the docs and sample sources(havok demo framework) but  am still looking for a way. I was wondering if anyone can point a noob in the right direction.


    spillJuly 7, 2008 6:44 AM PDT
    Rate
     
    Re: [Noob Question]Tutorials for Integrating Havok with 3rd party graphics engine

    Hey,

    I did the same question some posts ago, check this out:
    http://software.intel.com/en-us/forums//topic/59553

    I tried to use OGRE 3D (alone, without Havok), but I found it a little bit complex for a beginner.
    So I changed to Irrlicht, what is a lot more easy.

    My game project is still in its first steps, but soon I will be integrating Havok with Irrlicht.

    Which graphic engine will you use? Maybe we could share some ideas.




    gonxJuly 7, 2008 8:30 AM PDT
    Rate
     
    Re: [Noob Question]Tutorials for Integrating Havok with 3rd party graphics engine

    Hi spill,

    Your question was the first one i read when i got to the forums. Glad to hear you've found Irrlicht as a good starting point for your game project.

    I plan on using Ogre 3d as my graphic engine and am still in the early stages of studying Havok from the SDK examples. But Ogre because from the forums one can "extend" the basic graphic engine functionalities to make it into a game engine and i'd like to try this one out.

    For the record i plan on taking an Ogre demo example then try integrating it with  Havok  via SDK. I most probably have to backtrack and study the Havok examples again and figure out how havok does it quoting from havokdaniel in your post:

    "..you can tell Havok to simulate some of your objects, and then get the new locations/orientations of those objects from the Havok SDK, and transform your graphical objects to those new values... "

    So i think the way to go about my project is to understand how Havok can get the values from a graphic object from a graphics engine. Compute physics then give back the results to the graphics engine. I could be wrong but i'm giving it a shot.

    How's your project going so far? I think far better than my efforts hehe.







    havokdanielJuly 7, 2008 10:04 AM PDT
    Rate
     
    Re: [Noob Question]Tutorials for Integrating Havok with 3rd party graphics engine

    Hi gonx,

    How are you planning on making your Ogre levels/objects? If you're using 3DS Max, Maya or XSI you can use the Havok Content Tools right in there to export your geometry as physics objects. This will basically give you an HKX file, which describes your scene in a format understandable by the Havok SDK.

    When you load up your graphics from file (maybe a .mesh file if it's Ogre you're using), you load up your HKX too into Havok, and start simulating the physics while rendering your graphics. Every frame you're going to need to do that update then, changing the positions of your rendered objects according to the transforms you get from Havok.

    Hope this helps you figure out exactly what you need to do to get things going. Can't wait to see what you guys come out with!

    Daniel



    havokchrisJuly 7, 2008 10:10 AM PDT
    Rate
     
    Re: [Noob Question]Tutorials for Integrating Havok with 3rd party graphics engine

    Just another thought - you might be able to get some ideas on general physics/graphics integration from OgreBullet, an integration package for Ogre and Bullet (another free physics engine). I've never used either so I can't vouch for them (nor OgreBullet), but I believe the Bullet API is similar to Havok's, so it might be easy to apply concepts from one to the other.

    -Chris


    spillJuly 7, 2008 7:38 PM PDT
    Rate
     
    Re: [Noob Question]Tutorials for Integrating Havok with 3rd party graphics engine

    gonx:

    How's your project going so far? I think far better than my efforts hehe.


    Hey Gonx, I am still studying the graphics engine, so I haven't got anything big yet.


    Very interesting your aproach to test Havok in a Ogre example.
    However, I will improve my knowledge with Irrlicht before playing with Havok.


    While, I decide about other libraries to use in my project (AI, sound, user input, etc...).
    Probaby I will use OIS for user interface, irrKlang for sound and develop the AI from the beginning.

    Any better sugestion?




    gonxJuly 8, 2008 8:32 AM PDT
    Rate
     
    Re: [Noob Question]Tutorials for Integrating Havok with 3rd party graphics engine

    spill:

    While, I decide about other libraries to use in my project (AI, sound, user input, etc...).
    Probaby I will use OIS for user interface, irrKlang for sound and develop the AI from the beginning.

    Any better sugestion?


    I think you're good to go. I highly recommend going to www.aigamedev.net for your AI needs. I'll be posting again after i figure out the integration of Renderer and Havok engine.

    havokdaniel:

    How are you planning on making your Ogre levels/objects? If you're using 3DS Max, Maya or XSI you can use the Havok Content Tools right in there to export your geometry as physics objects. This will basically give you an HKX file, which describes your scene in a format understandable by the Havok SDK.


    Yes, am currently generating some HKX files with Maya right now. Still studying the docs.

    havokdaniel:

    When you load up your graphics from file (maybe a .mesh file if it's Ogre you're using), you load up your HKX too into Havok, and start simulating the physics while rendering your graphics. Every frame you're going to need to do that update then, changing the positions of your rendered objects according to the transforms you get from Havok.


    I think this is the part i really need to study on. I'll get on it right away. smiley [:-)]  

    havokchris:

    Just another thought - you might be able to get some ideas on general physics/graphics integration from OgreBullet, an integration package for Ogre and Bullet (another free physics engine).


    Just downloaded it now. I'll be checking this too.

    thanks for the inputs! This will help me start off with the right foot. Hope to be posting again soon after this one. Hot smiley [(H)]



    gonxJuly 9, 2008 6:09 PM PDT
    Rate
     
    Re: [Noob Question]Tutorials for Integrating Havok with 3rd party graphics engine

    Found this blog on Ogre & Havok.

    http://www.daksystems.net/blog/index.php?entry=entry080702-084457

    Cant wait to try it out.


    azireJuly 31, 2008 12:26 PM PDT
    Rate
     
    Re: [Noob Question]Tutorials for Integrating Havok with 3rd party graphics engine

    Sorry to necro-post but I was curious if you had any luck with this blog post you mention.  The author doesn't seem to go in to much detail and the code isn't exactly commented well.


    bingobeawrAugust 4, 2008 10:25 AM PDT
    Rate
     
    Re: [Noob Question]Tutorials for Integrating Havok with 3rd party graphics engine

    Ok I understand that most people use Ogre 3D as Graphic engine but what about people who use 3D Max Studio. Are there any tutorial on using 3D Max Studio with Havok then exporting them into your Game with all Physics and Logic. I would really appreciate if there was tutorial about Havok With C++ and 3D Max. Been searching for hours for some kind of tutorial about Havok but could not find any. Please help me

    havokdanielAugust 4, 2008 10:38 AM PDT
    Rate
     
    Re: [Noob Question]Tutorials for Integrating Havok with 3rd party graphics engine

    Hi bingobeawr,

    There are Havok tools which export physics data from 3DS Max to a format loadable by the Havok runtime, but getting Havok to work with your graphics engine depends on the engine. What sort of graphics engine are you (planning on) working with? If not Ogre, are you using your own graphics engine? Irrlicht?

    Daniel


Forum jump:  

Intel Software Network Forums Statistics

17,025 users have contributed to 48,321 threads and 172,762 posts to date.

In the past 24 hours, we have 11 new thread(s) 45 new posts(s), and 38 new user(s).

In the past 3 days, the most popular thread for everyone has been Optimalization of sine function\'s taylor expansion The most posts were made to Most likely, the issue is that The post with the most views is Optimalization of sine function\'s taylor expansion

Please welcome our newest member mehakchehal52


For more complete information about compiler optimizations, see our Optimization Notice.