Author Topic: [C++] Using d3dx9.lib in 64kb intro?  (Read 3479 times)

0 Members and 1 Guest are viewing this topic.

Offline protean

  • ZX 81
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
[C++] Using d3dx9.lib in 64kb intro?
« on: November 06, 2007 »
I'm working with Direct3D (VS 6.0). Can I use d3dx9.lib for matrix operations (class D3DXMATRIX)?
Or, I could make my own one. The main task is size of a program. I think d3dx9.lib depends on
Microsoft Visual C++ Runtime Library, am I right?
How do demomakers solve this problem in 64kb?

And another question .) How generate geometry, like extrusion solids and surfaces by extruding an object along a vector? I made one, but I used a parametric equation. But I don't know how it make with spline.

 :updance:
« Last Edit: November 06, 2007 by protean »

Offline taj

  • Bytes hurt
  • DBF Aficionado
  • ******
  • Posts: 4810
  • Karma: 189
  • Scene there, done that.
    • View Profile
Re: [C++] Using d3dx9.lib in 64kb intro?
« Reply #1 on: November 06, 2007 »
I'm working with Direct3D (VS 6.0). Can I use d3dx9.lib for matrix operations (class D3DXMATRIX)?
Or, I could make my own one. The main task is size of a program. I think d3dx9.lib depends on
Microsoft Visual C++ Runtime Library, am I right?
How do demomakers solve this problem in 64kb?

And another question .) How generate geometry, like extrusion solids and surfaces by extruding an object along a vector? I made one, but I used a parametric equation. But I don't know how it make with spline.

 :updance:

d3dx does not depend on MSVCRT. It can be used in 4ks easily. Its going to be smaller than doing your own stuff if you are doing anything half complex.

The second part of your question is already answered on the board ... try doing a search in future you'll find loads of info already here...http://dbfinteractive.com/index.php?topic=2370.0
There is even example code.

Chris
« Last Edit: November 06, 2007 by chris »
Challenge Trophies Won:

Offline protean

  • ZX 81
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: [C++] Using d3dx9.lib in 64kb intro?
« Reply #2 on: November 07, 2007 »
Thanks for answers, it works fine. I've made my geometry :)