|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
How do I use Vansickle's SSS? I just don't get it. The explanations at the
site seem lacking. There isn't really any set procedure or series of simple
steps. Could somebody please explain why this following code parses and
parses, but never goes anywhere, yet seems to consume little memory (quick
exit)? What am I doing wrong? Did I omit some important step? This is only
the result of guessing...
#include "sss.inc"
#debug "Reading in mesh....\n"
ReadPCM("rock2.pcm")
#debug "Done...............\n"
#debug "Preparing mesh.....\n"
PrepMesh() <-- it gets stuck here...
#debug "Done...............\n"
#debug "Dividing mesh......\n"
Divide(1)
#debug "Done...............\n"
#debug "Writing new mesh...\n"
WriteSmoothPCM("rock3.pcm",5)
#debug "Done...............\n"
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
TonyB wrote:
>
> How do I use Vansickle's SSS? I just don't get it. The explanations at
> the site seem lacking. There isn't really any set procedure or series
> of simple steps. Could somebody please explain why this following code
> parses and parses, but never goes anywhere, yet seems to consume
> little memory (quick exit)? What am I doing wrong? Did I omit some
> important step? This is only the result of guessing...
>
> #include "sss.inc"
>
> #debug "Reading in mesh....\n"
> ReadPCM("rock2.pcm")
> #debug "Done...............\n"
> #debug "Preparing mesh.....\n"
> PrepMesh() <-- it gets stuck here...
> #debug "Done...............\n"
> #debug "Dividing mesh......\n"
> Divide(1)
> #debug "Done...............\n"
> #debug "Writing new mesh...\n"
> WriteSmoothPCM("rock3.pcm",5)
> #debug "Done...............\n"
How many triangles are in the first file? PrepMesh() can take a very
long time if there are a lot of them.
Regards,
John
--
ICQ: 46085459
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
>How many triangles are in the first file? PrepMesh() can take a very
>long time if there are a lot of them.
So, you're saying that I did it correctly? There are 20480 triangles in the
original (generated by your make.inc @ 5 splits). The 'forever' parsing was
about 1.5 hours, after which I cancelled it.
PS: Sorry for getting your name wrong, Mr. VanSickle.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
>PrepMesh() can take a very long
>time if there are a lot of them.
You weren't kidding, were you? I left it parsing overnight. It went on for
about 5.5 hours!!! But, in the end, I had my new, perfected mesh (81920
triangles, IIRC). =) I'll be posting the new rock shortly. Thank you.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
TonyB wrote:
>
> >How many triangles are in the first file? PrepMesh() can take a very
> >long time if there are a lot of them.
>
> So, you're saying that I did it correctly? There are 20480 triangles
> in the original (generated by your make.inc @ 5 splits). The 'forever'
> parsing was about 1.5 hours, after which I cancelled it.
The tests of the SSS used far smaller meshes (around 200 or so).
The PrepMesh() macro is by far the slowest of the macros; the rest
don't suffer from the n-squared rule.
> PS: Sorry for getting your name wrong, Mr. VanSickle.
Oh, others have gotten it worse...
--
ICQ: 46085459
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |