![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
ACTUALLY, it's a [350][34][6] problem.
350 time frames, 34 actors, 3 velocity coordinates, 3 position coordinates.
Already burned out mentally from work and not sure I want to try this one
tonight...
John VanSickle wrote:
> Greg M. Johnson wrote:
> >
> > John VanSickle wrote:
> >
> > > Greg M. Johnson wrote:
> > > >
> > > > I wish that the documentation better explained the syntax for
> > > > #read and #write.
> > > >
> > > > I have created a file of the positions and velocities of a number
> > > > of particles, (34 particles at 350 time periods). I have pasted
> > > > the first four records from my file.
> > >
> > > Generally, when I have an outside program generate data for POV-Ray,
> > > I have the same program output a standard .INC file, with all of the
> > > #declares, #locals, etc., needed for POV-Ray to parse the file
> > > directly. This requires very little extra effort in the program that
> > > generates the data, and the results parse a lot faster.
> > >
> > > For instance, in my last IRTC entry, the insect parts were made of
> > > bicubic patches, which I converted to meshes using a bit of macro
> > > code. I got tired of waiting for the macro to parse, so I modified
> > > the macro to write the triangles to a file, in full POV syntax.
> > > From then on I merely #included the generated files, in place of the
> > > original generating code. Things parsed much more quickly.
>
> > So, like how would you make your inc if you had two variables which
> > were [350][34] each?
> >
> > Would your file generator literally say:
> >
> > #declare position.x[1][1]=1;
> > #declare position.y[1][1]=2;
> > #declare position.z[1][1]=3;
> > #declare position.x[1][2]=4;
> > #declare position.y[1][2]=5;
> > #declare position.z[1][2]=6;
>
> No, the file generator can also dump out the following:
>
> #declare position=array[350][34] = {
> { <1,2,3>,<4,5,6>, ... }, {... }, ...
> }
>
> The PovRay code would look like this:
>
> // START OF SAMPLE BASIC CODE
>
> #write(MyFile,"#declare position=array[", ROWS, "][", COLUMNS, "] = {\n")
> #local iI=0; #while(iI<ROWS)
> #if (iI>0) #write(MyFile,",") #end
> #write(MyFile,"{ ")
> #local iJ=0; #while(iJ<COLUMNS)
> #if (iJ>0) #write(MyFile,",") #end
> #write(MyFile,MyDataArray[iI][iJ])
> #local iJ=iJ+1; #end
> #write(MyFile, " }\n" )
> #local iI=iI+1; #end
> #write(MyFile, "}\n" )
>
> // END OF SAMPLE CODE
>
> Your file generating program can print out the #declares, square
> brackets, angle brackets, squiggly brackets, commas, and so forth.
>
> The only difficulty is that if you want to have text data in there as
> well, you have to explicitly print out the quotes with the CHR$()
> function:
>
> #write(MyFile, "#declare MyString="; CHR$(34); "Stormbringer";
> CHR$(34); "\n")
>
> which will create a line of text that looks like this:
>
> #declare MyString="Stormbringer"
>
> You can feed a vector to the #write() directive as well; my example does.
>
> #write(MyFile,x-y+z*3)
>
> will cause the string
>
> < 1,-1, 3>
>
> to be written to MyFile. There is no need to bust up the vectors into
> scalars, only to build them back up later.
>
> Of course, keeping track of the brackets and quotation marks can be
> a bit of a trick. :-)
>
> > I know how to write such a file, but wouldn't this make it a huge INC?
>
> As you can see from my response, it will not be very much larger than
> the file you already plan to use. It might be twice as big, but that's
> what we have hard drives for.
>
> > Are you sure this is faster than reading with a #while loop the
> > following data:
> >
> > 1,2,3,4,5,6,
>
> Yes, it is much faster. The file is generated in a form the parser
> already knows how to understand; the other method you discuss goes
> through a #while-#end loop, which takes extra time in any interpreted
> language.
>
> Hope this helps,
> John
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Matt Giwer wrote:
>
> Xplo Eristotle wrote:
>
> > To judge from the way Matt gets away with saying "if you don't like my
> > lousy netiquette, filter me", the owners of this server don't seem to
> > care.
>
> And IF the owners tell me about it, fine. Then I can choose to
> change or not to participate. That will be MY choice.
Or, to put it another way: "I'll continue to be a jackass, whether
anyone likes it or not, until someone forces me to stop."
> > I wonder if I could get Usenet posters to use this guy's email address
> > as spam bait. After all, if he doesn't want to receive all that spam, he
> > can just filter it.. no skin off his nose. :P
>
> Not that is an interesting threat and your email addr as
> instigtator is quite interesting. And your post is forwarded to
> your ISP.
Ooo, scary. Look, I'm SHAKING. Since I won't be sending the spam, you
can't do a damn thing about it, and neither can my ISP.. not unless they
want to get sued.
When all those pornsite spambots and internet travel agents and
gods-know-what-else come knocking on your emailbox - all through no
fault of my own, of course, since after all I don't actually KNOW any
spammers, only where to get their attention - just remember:
> "Filter" is the power of any user.
and this:
> Your choice is to filter or not to filter.
Isn't it ironic how you insist on forcing the rest of us to filter your
posts or read them as-is, essentially taking an "opt-out" position, and
yet when you're faced with the same exact prospect, you start tossing
around threats and insults? :P
There is an alternative, of course.. you could simply stop being a
jackass without having to have some kind of admin yell at you, and
convert your stupid VCard to a sig, or omit it. Then there would no
longer be any need for us to use spam as a bludgeoning instrument.
-Xplo
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Xplo Eristotle wrote:
>
> There is an alternative, of course.. you could simply stop being a
> jackass without having to have some kind of admin yell at you, and
> convert your stupid VCard to a sig, or omit it.
I see that you have done this. Thank you.
-Xplo
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Matt Giwer wrote in message <37B195C7.EE4AA401@giwersworld.org>...
> If you are having a problem with the filter, I will dig up the
>docs and help you.
Yes, please do. How do you filter out newsgroup messages from a specified
individual using Microsoft Outlook Express?
Thanks in advance
Mark
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Mark Wagner <mar### [at] gte net> wrote in message
news:37b3bac1@news.povray.org...
> Yes, please do. How do you filter out newsgroup messages from a specified
> individual using Microsoft Outlook Express?
>
Tools \ Message Rules \ News
New \ When ....... Do ..... Apply
Marjorie Graterol
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Marjorie Graterol wrote in message <37b41b3b@news.povray.org>...
>
>Mark Wagner <mar### [at] gte net> wrote in message
>news:37b3bac1@news.povray.org...
>> Yes, please do. How do you filter out newsgroup messages from a
specified
>> individual using Microsoft Outlook Express?
>>
>
>Tools \ Message Rules \ News
>
>New \ When ....... Do ..... Apply
I don't appear to have a "Message Rules" option in the "tools" menu. Might
this be because I'm using Outlook Express instead of Outlook?
--
main(i,_){for(!_||(--i,main(i+2,i["FHhhTBFHdhTBFBQT\2TBF&]zRF$hh*:FHhh+&FBIs
bDF"]));i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_^=_,"\n")),_/=2);} /*-
Mark -*/
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Mark Wagner <mar### [at] gte net> wrote in message
news:37b4fcbb@news.povray.org...
>
> I don't appear to have a "Message Rules" option in the "tools" menu.
Might
> this be because I'm using Outlook Express instead of Outlook?
>
I'm sorry. I think it has to do with the version. I'm using Outlook
Express 5. I do not remember exactly where the former version had it, but I
am sure I used it. I think is even less complicated. Explore Options and
actions, or help. I am sure it is there. Good luck.
Marjorie
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Mark Wagner <mar### [at] gte net> wrote:
: --
: main(i,_){for(!_||(--i,main(i+2,i["FHhhTBFHdhTBFBQT\2TBF&]zRF$hh*:FHhh+&FBIs
: bDF"]));i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_^=_,"\n")),_/=2);} /*-
: Mark -*/
This looks familiar... Although it doesn't work perfectly.
(Btw, I don't know if I like other people using the exact same type of
signature as I do since it's a very personal signature)
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Nieminen Mika wrote in message <37b7b70a@news.povray.org>...
>Mark Wagner <mar### [at] gte net> wrote:
>: --
>:
main(i,_){for(!_||(--i,main(i+2,i["FHhhTBFHdhTBFBQT\2TBF&]zRF$hh*:FHhh+&FBIs
>: bDF"]));i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_^=_,"\n")),_/=2);} /*-
>: Mark -*/
>
> This looks familiar... Although it doesn't work perfectly.
>
> (Btw, I don't know if I like other people using the exact same type of
>signature as I do since it's a very personal signature)
It worked just fine when I compiled and ran it. How is it not working
perfectly?
If you object to my using this signature, I am willing to stop doing so.
Mark
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Mark Wagner <mar### [at] gte net> wrote:
: It worked just fine when I compiled and ran it. How is it not working
: perfectly?
[] [] [] [] [][] [][][] [] []
[][] [][] [] [] [] [] [] []
[] [][] [] [] [] [] [] [] []
[] [] [] [][][][] [][][] [][]
[] [] [] [] [] [] [] []
[] [] [] [] [] [] [] []
[] [] [] [] [] [] [] []
The first line doesn't look right to me.
: If you object to my using this signature, I am willing to stop doing so.
Perhaps I'm a little bit pedantic. However, I think that the people here
are already accustomed to see my signature and recognize it easyly because
it's quite distinctive. I also made a lot of work for that signature.
It's like I made a povray picture and then somebody uses that exact same
picture with a a couple of retouches in his page.
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |