|
![](/i/fill.gif) |
"Afishionado" <afi### [at] gmail com> wrote in message
news:web.43c0466189acd1f22d4545c20@news.povray.org...
> Very nice! :-)
Hi William.
Thanks for taking the time to look at this.
I've made a note of the bug you spotted.
>
> Right now there doesn't seem to be any easy way to define new clothing
> items.
>
It looks like you've already spotted that you can control a fair few
characteristics of the clothing, such as the length of the shorts/trousers,
textures, whether there are seams or not etc. by adding control variables to
the 'outfit' file. The control variables applicable to each item of clothing
can be seen in the 'ifndef' statements near the top of the clothing
definition macro files (e.g. 'ppshirts1.inc', 'pphat1.inc', 'ppshorts1.inc'
& 'ppboot1.inc'). You might not have spotted that there are examples for
many of them are in 'ppsantaoutfit.inc'.
To add a completely new clothing file is quite simple and hopefully the
attached HTML file will help explain how that is done. The most tricky bit
is obviously defining the content of the macro in the new file to contain
the design of the new item of clothing. This is still a bit complicated
although the macros described in the attached file hopefully simplify the
process. These macros can be a little difficult to work with and I do plan
to work on simplifying them. It can be difficult visualising what they're
doing, so there are macros like the ppShowPoints macro designed to help
visualise the results.
The 'pphat1.inc' file is probably the simplest example to follow how the
existing clothing definition macros work. It just defines a little bobble
hat.
Also the attached file described how to add existing objects you may already
have as costume items.
> That said, this looks very impressive for an early alpha version. I would
> love to start putting it to work as soon as I can figure out how to define
> my own clothing. :-)
>
> William
>
Hope this helps,
Regards,
Chris B.
Post a reply to this message
Attachments:
Download 'Clothing.html.txt' (10 KB)
|
![](/i/fill.gif) |