Installation on Mac OS X: pointer/suggestion

Return to Installation

Installation on Mac OS X: pointer/suggestion

Postby krgant » Wed Jan 28, 2015 12:43 pm

I just installed Panda3D 1.8.1 on my MacBook Pro, running Mac OS X 10.9.5. When I tried to run the example programs, I got the error message mentioned on the "Getting Started on OSX" page regarding the Cg toolkit. Obviously I found that page, but since the Cg framework was from NVIDIA, I thought it wouldn't be applicable; my graphics adapter is the Intel HD Graphics 4000. Yet there was no comment here connecting the two. I was puzzled and frustrated. I was about to post a question asking what to do, but I thought I'd simply install the Cg toolkit from NVIDIA's site and give it a try, figuring it wouldn't hurt, at least not much.

I was surprised when that worked. Either that toolkit doesn't talk directly to hardware, or the Intel hardware presents the same interface that the NVIDIA adapters do.

Regardless, it worked. My suggestions:
1. If you're trying to get Panda3D running with a similar setup (which seems not too unlikely, since I believe most of the MacBooks are using Intel graphics hardware), just go ahead and install the toolkit.
2. Panda3D people: you might add a note on the "Getting Started on OSX" page to this effect, so that others don't experience the same puzzlement and lost time that I did.

Onward and upward! I plan to use Panda3D as a basis for tutoring on 3D graphics programming, so having it running is a Real Good Thing :-)
krgant
 
Posts: 2
Joined: Wed Jan 28, 2015 11:53 am

Re: Installation on Mac OS X: pointer/suggestion

Postby rdb » Wed Jan 28, 2015 4:47 pm

Great, welcome to Panda3D! :) Too bad you got a bit of a rough start. :(

To clarify the confusion: the NVIDIA Cg Toolkit has nothing to do with NVIDIA graphics adapters. They're two completely different products that both happen to be made by NVIDIA. The Cg Toolkit is a piece of software that compiles files written in the Cg shading language to a target driver format, which can be a vendor-neutral format like ARB programs or GLSL, and will work on any graphics hardware, be it Intel, NVIDIA or AMD.
rdb
 
Posts: 11225
Joined: Mon Dec 04, 2006 5:58 am
Location: Netherlands

Re: Installation on Mac OS X: pointer/suggestion

Postby krgant » Thu Jan 29, 2015 11:06 am

Thanks for the clarification! I've always been working at a higher level of abstraction, and had no idea that NVIDIA had produced anything that wasn't intrinsically tied to their hardware.

Their page for the Cg toolkit was very clear that they've left that behind, and while it's still available and obviously functional, they recommend that any future development use GLSL or HLSL. Do you know if Panda3D is headed in that direction?
krgant
 
Posts: 2
Joined: Wed Jan 28, 2015 11:53 am

Re: Installation on Mac OS X: pointer/suggestion

Postby rdb » Fri Jan 30, 2015 5:41 am

Yes, we are. We have good support for GLSL nowadays, and in the upcoming 1.9 release we've still improved the GLSL support by a lot. The main reason we still rely on Cg is because our shader generator is written to produce Cg code. Replacing the shader generator with something that will work with GLSL directly is something that's high on the list of priorities.
rdb
 
Posts: 11225
Joined: Mon Dec 04, 2006 5:58 am
Location: Netherlands

Re: Installation on Mac OS X: pointer/suggestion

Postby macadmin78 » Fri Dec 04, 2015 8:21 am

I installed panda on a OS X 10.10.5 system. It crashes on launch. Found this thread and tried installing the NVIDIA CG tool.Still crashes on launch. The site's documentation section/manual omits a heading for "installing on OS X." Any suggestions?
macadmin78
 
Posts: 4
Joined: Fri Dec 04, 2015 8:17 am

Re: Installation on Mac OS X: pointer/suggestion

Postby rdb » Fri Dec 04, 2015 1:26 pm

Which version of Panda3D are you trying to install? You should use the latest 1.9.1 SDK release from the download page.

Do you have more information about the crash, such as a crash report, or a command-line output?
rdb
 
Posts: 11225
Joined: Mon Dec 04, 2006 5:58 am
Location: Netherlands

Re: Installation on Mac OS X: pointer/suggestion

Postby macadmin78 » Fri Dec 04, 2015 2:22 pm

Latest release. Downloaded 2 days ago.
I don't have access to the machine in question at the moment to check logs.
macadmin78
 
Posts: 4
Joined: Fri Dec 04, 2015 8:17 am

Re: Installation on Mac OS X: pointer/suggestion

Postby rdb » Sat Dec 05, 2015 10:42 am

Well, I'm not sure what I can say. Since it works for other people, I'd need more information to make any kind of guess as to the problem. We don't know which command you tried to run, what the command-line output was, if there was a crash log generated by Apple...
rdb
 
Posts: 11225
Joined: Mon Dec 04, 2006 5:58 am
Location: Netherlands

Re: Installation on Mac OS X: pointer/suggestion

Postby macadmin78 » Mon Dec 07, 2015 8:57 am

OK. I have access this morning.
Double click application bundle.
One line of output in in the system log:
Dec 7 08:50:23 phd-m06 com.apple.xpc.launchd[1] (org.panda3d.runtime.panda3d_mac.69612[45923]): Service exited with abnormal code: 1

Not Finding anything related in ~/Library/Logs or /Library/Logs
macadmin78
 
Posts: 4
Joined: Fri Dec 04, 2015 8:17 am

Re: Installation on Mac OS X: pointer/suggestion

Postby rdb » Mon Dec 07, 2015 3:22 pm

Panda3D is not a program. What you installed must have been the Panda3D Runtime, which is only useful for running packaged Panda3D programs (.p3d archives, or in the web browser).

If you mean to develop with Panda3D, you need to install the SDK, which ships with a bunch of Python libraries that you can use to develop a 3-D application.
rdb
 
Posts: 11225
Joined: Mon Dec 04, 2006 5:58 am
Location: Netherlands

Re: Installation on Mac OS X: pointer/suggestion

Postby macadmin78 » Tue Dec 08, 2015 8:30 am

Thanks. As it turns out, the user wasn't after Panda 3D after all anyway.
macadmin78
 
Posts: 4
Joined: Fri Dec 04, 2015 8:17 am


Return to Installation

Who is online

Users browsing this forum: No registered users and 2 guests