[Moving from OGL to DX] Instancing, interpolation and subsets

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Greetings (and forgive my broken english),
this is my first post here since I am back to coding-as-an-hobby
after a
3 years pause.. and you all know how many things can change in just 3
years
;) So I am trying to port a whole (huge) OpenGL based game I wrote
years ago
to DirectX, and of course I am totally new to the Microsoft API. I am
moving
my first steps into the DX9 architecture and I have a first few
questions I
hope you can answer for me.

1)HW Instancing and D3DMesh
So I've learned how to load a D3D Mesh from a .X file and render it
by
cycling its subsets. I've also learned (more or less) about
instancing. Now,
I am puzzled about how to combine the two things. Basically the
question is:
"I must render, let's say, a tree model loaded from a X file (2
subsets,
foliage and trunk) and I want to put it onscreen thousands times with
different textures and of course transformation matrices. How do I do
this
with instancing?"

2)Frame interpolation
I am still a bit puzzled about multiple frames in X files and how to
deal
with them. I don't even know if the X format allows for skeletons and
in
that case, if they're easy to use. In case I want to load a multiple
frames
X file, is there an HW accelerated way to interpolate two frames
(oldschool
technique I know) and render the interpolated output?

3)Defining subsets etc
Question coming from my 3d artist friend: can you suggest an editor/
3ds max
plugin that allows to export to X being able to split the mesh into
subsets,
export animation etc.?

That's all... for now ;) Thanks for the help. As soon as I fix a
certain
website a bit, I'll show what I am (re)working on.

- a.
.



Relevant Pages

  • Re: Frame rate agility of LCD, Plasma, DLP
    ... best new frames would have white blur between adjacent key frames. ... The "interpolation" is done in time domain, ... The input video is ... You can see that the motion esimation with this particular video ...
    (alt.tv.tech.hdtv)
  • Re: farming out a render?
    ... I had done some research when I was bidding on a large render project ... impressive though, i could render 10,000 frames, make one hell of an edit ... I really should try get my head round screamernet tooo, ...
    (comp.graphics.apps.lightwave)
  • Re: Call ::EndScene as far ahead of calling ::Present
    ... will not allow your application to get too far ahead of the GPU. ... calling Present with the "do not wait" flag ... just letting Present block until the GPU is ready to render again. ... Unless you a) have really complex frames that are difficult for the ...
    (microsoft.public.win32.programmer.directx.graphics)
  • Re: DV: digital vs. analog dubs
    ... copied from another part (interpolated from adjacent frames or areas), ... From Keith Jack's "Video Demystified": ... include replacing the corrupt region with either earlier video data, ... possibly-undetectable, but non-perfect way, such as pixel interpolation, ...
    (rec.video.production)
  • Re: Compressed textures
    ... I was previously considering writing a texture in parallel with begin,end,present and as I understand you, that would have improved things. ... so the driver is always free to choose to ignore the discard-locking-mode. ... I assume present will block when the gpu rendering falls two frames behind? ... I understand the above as that I can not render ahead when I change the object in between render calls. ...
    (microsoft.public.win32.programmer.directx.graphics)