3D Canvas and Attachment Points

Len12

New member
3D Canvas has a plug-in to implement the attachment points noted in the CCP document. I made such an attachment point. It's this form -

The scene hierarchy is of the following form:

a.attach---Pointer.

Using some standard nomenclature in the CCP manual I called the Pointer 'a.smoke' (chimney from a building) with the word for word example in the CCP:


smoke0
{
attachment a.smoke
mode timeofday
color 150,150,150,250
accel 1,0.3,0

start 0.25,0.5
period 0.25,0.125
rate 8
velocity 3
lifetime 5
minisize 0.5
maxsize 2
}


Problem: I get two error messages when compiled stating:
Error: Attachment point attachment (a.smoke) in 'smoke0' was not found.
Error: The tag 'minisize' is not permitted within this container. (Container type 'smoke0')

I changed up the naming as well for example in 3DC a.attach to 'a.smoke' and leaving Pointer as Pointer or naming both a.smoke and the same errors.

Anybody have any ideas?
Thanks.
 
Use minsize instead of minisize. Not sure on attachments but I note that in other similar smoke containers - attachment "a.smoke"
 
Last edited:
G'day len12,

In all my limited experience with these matters, I have always found that the name you give to the "a.attachment" point in the config.txt MUST match the name you give to the point in the mesh. This, at least, applies to 3ds MAx. For example if you name the actual attachment point in the mesh "a.attach---pointer", then the config.txt must read...

"attachment a.attachment---pointer".

...if the config.txt reads "attachment a.smoke0", then the actual attachment point must be labelled..

"a.smoke0".

I think you will find that the CCG (without actually saying so), alludes to the need for an "alphanumeric" naming convention...

...Jerker {:)}
 
G'day len12,

In all my limited experience with these matters, I have always found that the name you give to the "a.attachment" point in the config.txt MUST match the name you give to the point in the mesh. This, at least, applies to 3ds MAx. For example if you name the actual attachment point in the mesh "a.attach---pointer", then the config.txt must read...

"attachment a.attachment---pointer".

...if the config.txt reads "attachment a.smoke0", then the actual attachment point must be labelled..

"a.smoke0".

I think you will find that the CCG (without actually saying so), alludes to the need for an "alphanumeric" naming convention...

...Jerker {:)}

Yeah it's idiotic when you think about it. In the manual the example starts as 'smoke0' then in the instruction on the attachment 'a.smoke'. So I named the attachment 'a.smoke' and in the config. file set it out exactly as smoke0 to start then 'a.smoke' as the named attachment. Confusing really. So in this case the name should be 'a.smoke0' and in the config. file 'smoke0' to begin the instruction with 'a.smoke0' as the named attachment.:confused:
 
Back
Top