Dark Bit Factory & Gravity

PROGRAMMING => C / C++ /C# => Topic started by: protean on November 06, 2007

Title: [C++] Using d3dx9.lib in 64kb intro?
Post by: protean 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:
Title: Re: [C++] Using d3dx9.lib in 64kb intro?
Post by: taj 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
Title: Re: [C++] Using d3dx9.lib in 64kb intro?
Post by: protean on November 07, 2007
Thanks for answers, it works fine. I've made my geometry :)