21st July 2023, 09:24 AM | #1 |
Junior Member
Member
Join Date: Mar 2020
Posts: 13
|
Old software that I got from AC3D
Hi,
Attached are two modules that I got from someone at AC3D. I am getting an error when I compile ac3d.c. First it complained about missing #defines for OBJECT_NORMAL and OBJECT_LIGHT. I defined these as: #define OBJECT_NORMAL 2 #define OBJECT_LIGHT 3 Now it complains about unresolved external symbol ac_load_texture referenced in function ac_load_object. Is there someone out there who has updated ac3d.c and ac3d.h files? Thanks |
26th July 2023, 04:51 AM | #2 |
Administrator
Professional user
Join Date: Jun 2003
Posts: 4,565
|
Re: Old software that I got from AC3D
Well there's no code for loading textures so that's the problem.
There is some sample code to load .ac files on the resources page, and that contains some simple texture loading code. What is it you are trying to do? Last edited by Andy; 26th July 2023 at 04:55 AM. |
26th July 2023, 06:17 PM | #3 |
Junior Member
Member
Join Date: Mar 2020
Posts: 13
|
Re: Old software that I got from AC3D
OK, found the code you pointed to on the website
|
|
|