Game Development Community

Compiling SDK under .NET missing ctl3d.h

by Prairie Games · in Torque Game Engine · 04/19/2002 (3:24 pm) · 10 replies

The 3dsmax SDK complains about a missing ctl3d.h when compiling the plugins.. which should be in the platformsdk folder... I find it strange that I am downloading the Nov2001 platform sdk off of MSDN to use with .NET ... shouldn't I already have this or NEWER? Anyone have any info?


Thanks,
-J

#1
04/19/2002 (4:01 pm)
Update:

Well Ctl3d.h isn't in the platform SDK... I commented the #include out of max.h and the plugin compiled fine...

Over an hour down the drain because of some ancient 3d look and feel dll crap...

I am still curious if anyone knows where to get a "current" version of this... all I could find was crusty stuff..

-J
#2
04/19/2002 (4:24 pm)
Grab the HEAD revision from the GarageGames CVS.
#3
04/19/2002 (5:20 pm)
Ok.. so I grabbed head.. still had to comment out the include in max.h ... I am happy if I don't need ctl3d.h and ctl3d.lib and ctl3d.dll :)

Is there any reason the skybox in the demo would be jacked? This was under 1_1_1 as well as HEAD

-J
#4
06/20/2002 (9:02 pm)
I am getting the same problem.

The skybox on the release compile is pushed up and looks very, well, boxy. When I compile it in debug mode this isn't a problem.

Any ideas anyone?
#5
06/20/2002 (10:16 pm)
Ok, there is a thread that went into this extensively. Let me find it. Be warned, you have to know what your doing first though :)

Let me go find it.
#6
06/20/2002 (10:21 pm)
Here

This will solve your problems.
Be aware though. To solve all of the vector_assign problems you'll run into more problems if you don't pay attention to the types, just a warning :)
#7
06/20/2002 (10:57 pm)
Thanks, I will run through that tonight.

Have you any info for me regarding the skybox?

-Stuart
#8
06/20/2002 (11:02 pm)
Fix for SkyBox

Try searching a little bit next time :) These forums contain a vast amount of information.
#9
06/21/2002 (7:00 pm)
I'll have to integrate that fix... I've been hesitating because I don't have VC7 to test with, but I'll go ahead and do it early next week and someone will just have to confirm that it works :)
#10
10/01/2002 (10:39 am)
Hi,

I'm guessing this fix has not been added yet as I've just downloaded the latest stable version (1.1.2) and have had to make these changes to get a good compile under VC7.

As a side note I had loads of greif getting VC7 to import the VC6 files provided until I realised that they (the project files) are saved as UNIX file format - and needed to be changed into DOS format before VC7 would read them in.