Go Back   AC3D Forums > Technical > AC3D Developers
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 20th January 2006, 07:43 PM   #1
jerrylynnb
Member
Advanced member
 
Join Date: Dec 2004
Posts: 30
Default Can I write a simple plug-in? Help advise me

I can write C programs (for windows, batch, and so forth, using Visual C v6). I would like to be able to have a "magnet" tool which would let me draw (or repel) all the verices in the vicinity of the tool. I would specifiy how much depending on the distance a particular vertex is from the tool. I KNOW I can do this in batch mode, using the AC file which has the xyz position of all the vertices, but, what I don't know is, how would my "plug-in" find out where my tool is, what parameters I have specified (strenght, drop-off distance, etc.), and a pointer to the xyz coordiantes of all the vertices THAT I CAN MODIFY. Would I link my program as an EXE? or a DLL? How would I tell my copy of AC3D (v5) to interface with my new plug-in?
So many questions - i would like to be able to do in the live interactive mode what I know I can do in batch mode with the *.ac flat file.
Thanks for any advice. Jerry
jerrylynnb is offline   Reply With Quote
Old 21st January 2006, 10:27 AM   #2
Andy
Administrator
Professional user
 
Andy's Avatar
 
Join Date: Jun 2003
Posts: 4,563
Default

Hello Jerry,

I'll email you the AC3D headers. Use Dennis' plugins as a good reference (he has the source code on his plugin pages).

Andy
Andy is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -4. The time now is 06:14 AM.


AC3D Forum
(C) Inivis Limited 2020