To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.dev.macOpen lugnet.cad.dev.mac in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / Macintosh / 285
284  |  286
Subject: 
Re: L3P v1.3 for Mac OSX
Newsgroups: 
lugnet.cad.dev.mac
Date: 
Fri, 29 Nov 2002 07:25:30 GMT
Viewed: 
1668 times
  
and I noticed something strange. I don't know if the problem is with
POV-Ray 3.1g.r2 for Mac OS 9 and POV-Ray 3.5 for Mac OS X

The problem is with POV-Ray 3.5 for Mac OS X.  Check out
http://mac.povray.org/support/faq.html.  Can you believe an app will crash
every time it opens a new document?  Anyway, within POV-Ray I just create a
new document and open the real one in BBEdit, then copy and paste.  Kinda a
major hastle...  It has to be some wierd Carbon thing they are doing.  I
haven't seen any other app behave like theirs.

Mac OS 9 might have the problem where it will not open the file because the
creator type is not POV3.  Write an AppleScript like this:

tell application "Finder"
  set creator code of file "Hard Disk:Users:yourname:yourfile.pov" to "POV3"
end tell

Of course change the path to the correct path (starting with the name of
your hard disk).  I briefly talk about this at
http://www.cc.utah.edu/~jer29950/qtvr

I checked the information for the file, and Mac OS X calls the file a
"document" not a "text file". I opened the file with BBEdit and saved
the file as a generic text file, and then POV-Ray had no problem with
it. Can l3p created a file that Mac OS X sees as a text file, or is this
a problem with Mac OS X?

Wait, is this the Mac OS X version of POV-Ray?  Hmm.  If you have the
developer tools installed, you can use /Developer/Tools/SetFile to set the
creator and type info.

At the command line, type:

/Developer/Tools/SetFile -c "POV3" -t "TEXT" /Users/yourname/yourfile.pov

Let me know if this fixes the Mac OS X POV-Ray crashes.

James



Message has 2 Replies:
  Re: L3P v1.3 for Mac OSX
 
(...) Ahh... I see. I forgot that the three different ways of openning a file often behave quite differently. 1. Double clicking the mini.pov file 2. Dropping the icon for mini.pov onto the running POV program's icon in the Dock. This is my (...) (22 years ago, 29-Nov-02, to lugnet.cad.dev.mac)
  Re: L3P v1.3 for Mac OSX
 
(...) (URL) was playing with AppleScipts to do something similar to your lani program. I used l3p in VPC to create a .pov file. Then I used AppleScript and BBEdit to change the camera position in the .pov file. This all worked in OS 9 becuase I had (...) (22 years ago, 29-Nov-02, to lugnet.cad.dev.mac)

Message is in Reply To:
  Re: L3P v1.3 for Mac OSX
 
(...) Whoo Hooo! Thanks Lars I gave it a quick try (URL) I noticed something strange. I don't know if the problem is with POV-Ray 3.1g.r2 for Mac OS 9 and POV-Ray 3.5 for Mac OS X or with l3p, but those two programs do not like the file that l3p (...) (22 years ago, 29-Nov-02, to lugnet.cad.dev.mac)

42 Messages in This Thread:














Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR