POV-Ray : Newsgroups : povray.unofficial.patches : Call for Mac programmers Server Time
1 Nov 2024 05:22:10 EDT (-0400)
  Call for Mac programmers (Message 1 to 10 of 18)  
Goto Latest 10 Messages Next 8 Messages >>>
From: Vahur Krouverk
Subject: Call for Mac programmers
Date: 21 May 2001 15:21:01
Message: <3B096AA5.77BDF6F6@comtrade.ee>
Hello!

I received today mail, where one person was interested in Mac version of
POVMan (POVMan is patched version of MegaPov, which adds support for
renderman shading language in object pigments and contains cloth patch
from Christophe Bouffartigue). I personally don't have access to Mac and
I have no experience in this platform, so
is there someone with experience in programming and helpful enough to
compile POVMan for Mac?
I guess, that if everything wents OK, then it shouldn't be more than
setting up environment and recompilation (although I know nil about Mac
and it is always possible, that something non-portable will pop out).
If someone is interested, then please contact me or respond to this
message.

Couple of questions to start with:
Shading language source code uses lex and yacc, is there according tools
for Mac platform (I guess that at least gnu versions, flex and bison,
should be available?) If not, then it is probably possible to generate C
source code on another platform (Linux, e.g.) and convert there files to
Mac format. I've done similar thing for Windows version, so in theory it
works.
Are there issues between different MacOS versions? I.e. should the
compilation be made for specific OS version or could executable be run
on any version? Unfortunately I don't know, which version person, who
requested this, uses...

TIA
Vahur Krouverk


Post a reply to this message

From: Chris Huff
Subject: Re: Call for Mac programmers
Date: 23 May 2001 06:55:36
Message: <3b0b9726@news.povray.org>
Vahur Krouverk <vkr### [at] comtradeee> wrote:

> I personally don't have access to Mac and I have no experience in
> this platform, so is there someone with experience in programming
> and helpful enough to compile POVMan for Mac?

I suppose I qualify here...


> Couple of questions to start with:
> Shading language source code uses lex and yacc, is there according tools
> for Mac platform (I guess that at least gnu versions, flex and bison,
> should be available?)

I have seen versions of Flex and Bison for CodeWarrior (the main
environment for Mac development under the older OSes), but never used
them. I think they are fairly out of date...

The plain UNIX versions should work fine under OS X, though.


> Are there issues between different MacOS versions? I.e. should the
> compilation be made for specific OS version or could executable be run
> on any version? Unfortunately I don't know, which version person, who
> requested this, uses...

There are very few incompatability problems for pre-OS X ("Classic")
versions, unless you cover a wide range of versions. Some software
will still work on System 7.x...a Mac version would probably use the
official GUI or Yvo and Rene Smellenbergh's GUI, and support all OS
versions they support...unless an OS X version is wanted. In that
case, either the carbonized Smellenbergh interface or the new Cocoa
interface would be used.

A Mac OS X version could probably be compiled by just slightly
modifying the makefile for the UNIX version, a Classic version would
require learning how to use the CodeWarrior Flex and Bison plugins,
maybe coping with them being outdated, and setting up the project
manually, probably using the official version as a base.


-- 
Christopher James Huff - chr### [at] maccom
Home Page: http://homepage.mac.com/chrishuff/
POV-Ray TAG e-mail: chr### [at] povrayorg
POV-Ray TAG web site: http://tag.povray.org/


Post a reply to this message

From: Vahur Krouverk
Subject: Re: Call for Mac programmers
Date: 8 Jun 2001 12:14:37
Message: <3B20FA48.F01416F1@comtrade.ee>
Chris Huff wrote:
> 
> Vahur Krouverk <vkr### [at] comtradeee> wrote:
> 
> > I personally don't have access to Mac and I have no experience in
> > this platform, so is there someone with experience in programming
> > and helpful enough to compile POVMan for Mac?
> 
> I suppose I qualify here...

Sorry for such late reply, but I had no time for Internet, yet to visit
this server. 
Can you compile Mac version of POVMan? I guess that classic will be
sufficient. Latest POVMan sources are in Bouf's homepage:
http://tofbouf.free.fr/clothray/download_en.html
Easiest would be probably to download windows code, as it already
contains lexx&yacc generated C-files and try to compile them. I guess
that conversion should be done for source files (Mac uses \r for line
termination instead of \r\n (Windows) or \n (Unix)?) Is it problem? I
can do it, if there is no utilities for doing this on Mac.


Post a reply to this message

From: Chris Huff
Subject: Re: Call for Mac programmers
Date: 16 Jun 2001 15:23:03
Message: <chrishuff-D6146C.14225816062001@povray.org>
In article <3B20FA48.F01416F1@comtrade.ee>,
 Vahur Krouverk <vkr### [at] comtradeee> wrote:

> Easiest would be probably to download windows code, as it already
> contains lexx&yacc generated C-files and try to compile them.

Yes, this would allow me to compile a Classic version.


> I guess that conversion should be done for source files (Mac uses \r 
> for line termination instead of \r\n (Windows) or \n (Unix)?) Is it 
> problem? I can do it, if there is no utilities for doing this on Mac.

That won't be a problem...I'll try to come up with a Mac version.

-- 
Christopher James Huff - chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

From: Chris Huff
Subject: Re: POVMan 0.71 available for MAC (carbon) [WAS Call for Mac programmers]
Date: 17 Jun 2001 20:00:51
Message: <chrishuff-05227D.19004217062001@povray.org>
In article <1ev5w3e.t0fj6c1q0s0zkN%smellenbergh@skynet.be>,
 sme### [at] skynetbe (Smellenbergh) wrote:

> Well, I have compiled a version for Macintosh. It should run under 8.6
> or later with carbonlib. So, if you run it under the classic
> environment, you must make sure to have the Carbonlib 1.3 or later
> installed. It should also run under MacOS X (but not tested).

Well, I guess I can stop trying to get it to compile, then...
(the problem doesn't appear to be with the sources, but with the 
CodeWarrior projects)

A command-line OS X version shouldn't be hard though...

-- 
Christopher James Huff - chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

From: Tom Stone
Subject: Re: POVMan 0.71 available for MAC (carbon) [WAS Call for Mac programmers]
Date: 18 Jun 2001 12:36:08
Message: <3B2E2F0B.5DFC29F5@telia.com>
Smellenbergh wrote:

> Well, I have compiled a version for Macintosh. It should run under 8.6
> or later with carbonlib. So, if you run it under the classic
> environment, you must make sure to have the Carbonlib 1.3 or later
> installed. It should also run under MacOS X (but not tested).
>
> Please let me know how things work!
>
> Yvo Smellenbergh

I'm probably missing something very obvious, but...

I downloaded it, and then I checked the URL
http://tofbouf.free.fr/clothray/download_en.html
..as suggested in the Read-me file.
There I downloaded a few demo scenes from the tutorial pages named
"drape.pov" and "nappe.pov".
But both of them refused to render because POVMan didn't recognize the phrase
"simcloth" in the demo scenes.

I'm using a Power Mac G3, system 9.0.4

Tom Stone


Post a reply to this message

From: Vahur Krouverk
Subject: Re: POVMan 0.71 available for MAC (carbon) [WAS Call for Mac programmers]
Date: 18 Jun 2001 14:01:11
Message: <3B2E424A.F56B0629@comtrade.ee>
Smellenbergh wrote:
> 
> Vahur Krouverk <vkr### [at] comtradeee> wrote:
> 
> Well, I have compiled a version for Macintosh. 
Thanks!


> I did not compare files, I simply used the files for 0.71 and compiled
> them (after some minor changes to make my c++ compiler eat them).

Can You create version 0.74 (it contains Bouf's cloth patch + number of
bug fixes, seems like people are interested in cloth patch)? Source code
could be found in Bouf's homepage:
http://tofbouf.free.fr/clothray/download_en.html
I guess, that easiest way is to download update file, overwrite them
over old source and add new (cloth simulation patch related) files to
makefile.

> I made a little archive with the two compiles:
> * POVMan/MegaPOV Carb 0.71 this is the rendering engine
> * povslc this is the compiler.
> I added a litte readme to get you started.
> 
> One note: I could not render the demo brick, the result wasn't good. 

I'm not sure, that I understand this. Was there error or was the output
just bad? Can You post example output?

> The
> scene anisotrop would not compile with povslc. Looks like there is an
> error on line 4? Anyone??? I used the window sources and docs to start
> with.
>
Sorry, this is my fault! I added function sqr to shading language, but
didn't test all example files afterward. This file contains user defined
version of sqr, and therefore it gives error. This function declaration
could be just removed.


Post a reply to this message

From: Vahur Krouverk
Subject: Re: POVMan 0.71 available for MAC (carbon) [WAS Call for Mac programmers]
Date: 18 Jun 2001 14:05:40
Message: <3B2E435E.E7443BFA@comtrade.ee>
Tom Stone wrote:
> 
> 
> I'm probably missing something very obvious, but...
> 

No, this is not Your fault, it's just older version of POVMan:
this POVMan port is currently version 0.71, but cloth patch is
implemented in version 0.74. I hope, that Yvo has some free time and can
create version 0.74 for Mac.


Post a reply to this message

From: Chris Huff
Subject: Re: POVMan 0.71 available for MAC (carbon) [WAS Call for Mac programmers]
Date: 18 Jun 2001 16:13:26
Message: <chrishuff-94324F.15131518062001@povray.org>
I just successfully compiled version 0.71.4...is that what you mean? I 
used the 0.71.4 update files from: 
http://tofbouf.free.fr/clothray/download_en.html
on the POVMan 0.71 sources from:
http://www.aetec.ee/fv/vkhomep.nsf/pages/povman2

It is a bit difficult to figure out exactly what is needed, it would be 
helpful if it was just one archive...and I haven't done any testing, I 
just got it to compile and verified that it ran.

I will upload my compile here:
http://homepage.mac.com/chrishuff/POVMan0714.sit

-- 
Christopher James Huff - chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

From: smellenbergh
Subject: Re: POVMan 0.71 available for MAC (carbon) [WAS Call for Mac programmers]
Date: 18 Jun 2001 18:21:06
Message: <1ev7iz0.14tmxh2178er60N%smellenbergh@skynet.be>
Chris Huff <chr### [at] maccom> wrote:

> In article <1ev5w3e.t0fj6c1q0s0zkN%smellenbergh@skynet.be>,
>  sme### [at] skynetbe (Smellenbergh) wrote:
> 
> > Well, I have compiled a version for Macintosh. It should run under 8.6
> > or later with carbonlib. So, if you run it under the classic
> > environment, you must make sure to have the Carbonlib 1.3 or later
> > installed. It should also run under MacOS X (but not tested).
> 
> Well, I guess I can stop trying to get it to compile, then...
> (the problem doesn't appear to be with the sources, but with the 
> CodeWarrior projects)
Don't know what exactly you mean. I use CW 6.2 and I simply had to move
the sources to a standard c++ console carbon project. I had to change
some struct members name's (true and false) and add one or two includes.

Compiling the renderer was not a problem at all, only a few minor
changes because I use a c++ compiler for my MegaPOV versions. This
compiler is not as easy going as the c compiler :-)

> A command-line OS X version shouldn't be hard though...
The program povslc? Normaly it should run onder OS X but I didn't test
it.
Or are you refering to a unix renderer for os X? You realy want a
command line version? Well, somewhere there is such a version available
but I don't know where. I had it for a short time but the author himself
was happy that I made a carbon port of MegaPOV because the unix version
was 2.5 times slower. Not hard to find the reason.... (don't hit me :-)
... he used gnu c. Rumour goes that OS X was build using gnu c and
therefore I can easely understand why it is so slow... This is my
opinion, I don't realy want to start a discussion on this toppic because
it would never end and everyone would be right ;-) Simply the fact that
gcc is free is a good argument to use it for some people. After all, CW
is very, very expensive and it isn't bugfree either!

Yvo Smellenbergh


-- 
e-mail:sme### [at] skynetbe

http://users.skynet.be/smellenbergh


Post a reply to this message

Goto Latest 10 Messages Next 8 Messages >>>

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.