|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Concerning, at least, the version 3.7.1-alpha.8820458+av228.msvc14.win64.
Did anyone already know about this?
...\scenes\camera\mesh_camera\meshcam_persp_demo.pov
Lines 57 and 59 have a #declare prefix=
Line 61 has #declare
mesh_file=concat(concat(concat(concat(concat(concat(prefix,str( {snip!}
Keyword coloring is not shown in the 3.7.0.msvc10.win64 version.
I encountered this a couple weeks ago and could not find anything about it at
GitHub, wiki.povray or here.
Bob
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> Concerning, at least, the version 3.7.1-alpha.8820458+av228.msvc14.win64.
>
> Did anyone already know about this?
>
> ...\scenes\camera\mesh_camera\meshcam_persp_demo.pov
>
> Lines 57 and 59 have a #declare prefix=
>
> Line 61 has #declare
> mesh_file=concat(concat(concat(concat(concat(concat(prefix,str( {snip!}
>
> Keyword coloring is not shown in the 3.7.0.msvc10.win64 version.
>
> I encountered this a couple weeks ago and could not find anything about it at
> GitHub, wiki.povray or here.
>
> Bob
>
>
Also, all those nested concat do look rather suspicious to me, given
that concat(...) can take an arbitrary number of parameters.
Maybe the nesting is interfering with keyword recognition and colouring.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"omniverse" <omn### [at] charternet> wrote:
> Concerning, at least, the version 3.7.1-alpha.8820458+av228.msvc14.win64.
>
> Did anyone already know about this?
>
> ...\scenes\camera\mesh_camera\meshcam_persp_demo.pov
>
> Lines 57 and 59 have a #declare prefix=
>
> Line 61 has #declare
> mesh_file=concat(concat(concat(concat(concat(concat(prefix,str( {snip!}
>
> Keyword coloring is not shown in the 3.7.0.msvc10.win64 version.
>
> I encountered this a couple weeks ago and could not find anything about it at
> GitHub, wiki.povray or here.
>
> Bob
The meshcam is used by a very small amount of users only (I can remember only
two users and one developer posting issues due to the meshcam here (Jaime,
Christoph Lipka and myself). Can you explain what you will
do with the meshcam? There seems to be some problems, but I never found the time
to post it here. With the sample files I never noticed troubles.
Best regards,
Michael
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"MichaelJF" <mi-### [at] t-onlinede> wrote:
> "omniverse" <omn### [at] charternet> wrote:
> > Concerning, at least, the version 3.7.1-alpha.8820458+av228.msvc14.win64.
> >
> > ...\scenes\camera\mesh_camera\meshcam_persp_demo.pov
> >
> > Lines 57 and 59 have a #declare prefix=
> >
> > Line 61 has #declare
> > mesh_file=concat(concat(concat(concat(concat(concat(prefix,str( {snip!}
> >
> > Keyword coloring is not shown in the 3.7.0.msvc10.win64 version.
>
> The meshcam is used by a very small amount of users only (I can remember only
> two users and one developer posting issues due to the meshcam here (Jaime,
> Christoph Lipka and myself). Can you explain what you will
> do with the meshcam?
I've only rediscovered it to try the baked textures, although I knew it was
being talked about several years ago. Not a lot I can do with it yet, very new
thing to me and I'm not very good with complicated works like it anyhow.
I thought it might be the "dictionary" portion causing this, C. Lipka recently
added, and I keep using the latest alpha version that's available.
That was only around a couple months or so. Found I still have an earlier
version from April this year so checked it and 'prefix' is not a keyword, like
the original 3.7 executable.
So again, I suspect prefix got added and those meshcam files use lower case
identifiers almost exclusively. I haven't looked all through it but I think that
might be the only place prefix is used.
The long concatenate line seems okay, I just didn't post the whole thing before:
#declare
mesh_file=concat(concat(concat(concat(concat(concat(prefix,str(image_width,0,0)),"x"),str(image_height,0,0)),"-angle_")
,str(c_angle,0,0)),".inc");
Of course, now with current alpha versions of POV-Ray 3.7.1 (Win64 at least) the
word needs a change to Prefix instead of prefix to be able to parse and render.
Bob
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On 11/9/2016 6:31 PM, omniverse wrote:
> Concerning, at least, the version 3.7.1-alpha.8820458+av228.msvc14.win64.
>
> Did anyone already know about this?
>
> ...\scenes\camera\mesh_camera\meshcam_persp_demo.pov
>
> Lines 57 and 59 have a #declare prefix=
>
> Line 61 has #declare
> mesh_file=concat(concat(concat(concat(concat(concat(prefix,str( {snip!}
>
> Keyword coloring is not shown in the 3.7.0.msvc10.win64 version.
>
> I encountered this a couple weeks ago and could not find anything about it at
> GitHub, wiki.povray or here.
>
> Bob
>
>
http://wiki.povray.org/content/Reference:Mesh#Wavefront_Import
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On 11/9/2016 6:31 PM, omniverse wrote:
> Concerning, at least, the version 3.7.1-alpha.8820458+av228.msvc14.win64.
>
> Did anyone already know about this?
>
> ...\scenes\camera\mesh_camera\meshcam_persp_demo.pov
also in meshcam_ortho_demo.pov ... I created issue on github and
attached the corrected files
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Am 10.11.2016 um 15:13 schrieb Jim Holsenback:
> On 11/9/2016 6:31 PM, omniverse wrote:
>> Concerning, at least, the version 3.7.1-alpha.8820458+av228.msvc14.win64.
>>
>> Did anyone already know about this?
>>
>> ...\scenes\camera\mesh_camera\meshcam_persp_demo.pov
>
> also in meshcam_ortho_demo.pov ... I created issue on github and
> attached the corrected files
Did you fix the symptoms (the particular naming conflict) or address the
root cause (the use of all-lowercase variable names, which are generally
discouraged due to the potential conflict with future keywords)?
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Jim Holsenback <spa### [at] nothanksnet> wrote:
> >
> http://wiki.povray.org/content/Reference:Mesh#Wavefront_Import
Thanks Jim. Don't know how I couldn't find that. Searched again and there it
was. Although, interestingly, povray GitHub search for 'mesh prefix' didn't
highlight all the "prefix" words.
My own computer still refuses to locate "prefix" within those scene files! Using
search contents of files. And yet did locate a couple *.inc files that had been
added, actually "prefixed" for that matter, but not the other two camera mesh
demo files.
Thanks for telling about that obj import, I sure didn't know about it until now.
I was able to give it a try, successful on a small file and crashed povray on a
22MB file. All this is new to me, learning as I go.
Bob
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On 11/10/2016 11:44 AM, clipka wrote:
> Am 10.11.2016 um 15:13 schrieb Jim Holsenback:
>> On 11/9/2016 6:31 PM, omniverse wrote:
>>> Concerning, at least, the version 3.7.1-alpha.8820458+av228.msvc14.win64.
>>>
>>> Did anyone already know about this?
>>>
>>> ...\scenes\camera\mesh_camera\meshcam_persp_demo.pov
>>
>> also in meshcam_ortho_demo.pov ... I created issue on github and
>> attached the corrected files
>
> Did you fix the symptoms (the particular naming conflict) or address the
> root cause (the use of all-lowercase variable names, which are generally
> discouraged due to the potential conflict with future keywords)?
>
just did prefix->Prefix
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On 11/10/2016 12:16 PM, omniverse wrote:
> Jim Holsenback <spa### [at] nothanksnet> wrote:
>>>
>> http://wiki.povray.org/content/Reference:Mesh#Wavefront_Import
>
> Thanks Jim. Don't know how I couldn't find that. Searched again and there it
> was.
yer welcome ... fyi: i'm fairly sure that i'm up to date with "keywords"
on this page: http://wiki.povray.org/content/Reference:Keywords
as a side note there are also two other keywords associated with the
wavefront import functionality ... suffix and obj
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |