[req] Multiple Indigo Instances on Mac

Feature requests, bug reports and related discussion
User avatar
Whaat
Developer
Posts: 1827
Joined: Fri Dec 22, 2006 6:15 am
Location: Canada
Contact:

[req] Multiple Indigo Instances on Mac

Post by Whaat » Wed Aug 19, 2009 3:48 pm

On Windows, I can open as many instances of Indigo as I want. However, on Mac, I can only open one instance of the program. In fact, if Indigo is already open on Mac and I launch it again (taking an IGS file as parameter), the new scene will load and the current render will stop. Kind of annoying.

User avatar
zeitmeister
2nd Place 100
Posts: 2010
Joined: Tue Apr 22, 2008 4:11 am
Location: Limburg/Lahn, Germany
Contact:

Re: [req] Multiple Indigo Instances on Mac

Post by zeitmeister » Thu Aug 20, 2009 8:19 pm

... especially when you are rendering the "real" scene and besides want to use the material preview option. The "real" rendering stops and opens the material preview scene. :-(

But I presume that this is a general problem of Mac applications, is that possible?
Cheers, David



DAVIDGUDELIUS // 3D.PORTFOLIO
·
Indigo 4.4.15 | Indigo for C4D 4.4.13.1 | C4D R23 | Mac OS X 10.13.6 | Windows 10 Professional x64

User avatar
OnoSendai
Developer
Posts: 6244
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Re: [req] Multiple Indigo Instances on Mac

Post by OnoSendai » Thu Aug 20, 2009 8:26 pm

As I understand it, Macs only run one app of each kind at once.

User avatar
zeitmeister
2nd Place 100
Posts: 2010
Joined: Tue Apr 22, 2008 4:11 am
Location: Limburg/Lahn, Germany
Contact:

Re: [req] Multiple Indigo Instances on Mac

Post by zeitmeister » Thu Aug 20, 2009 9:48 pm

I think you're right.

Depending on what fused is doing with the new Indigo Custom Material in C4D; we could think about a seperate Material Preview App of Indigo, which is only adressed when previewing materials.
Maybe this could be a solution... but twice the full program.

Or maybe something like the client node application, but with a own GUI?

Difficult, but worth collecting ideas about it.
Cheers, David



DAVIDGUDELIUS // 3D.PORTFOLIO
·
Indigo 4.4.15 | Indigo for C4D 4.4.13.1 | C4D R23 | Mac OS X 10.13.6 | Windows 10 Professional x64

User avatar
pixie
Indigo 100
Posts: 2346
Joined: Sat Dec 29, 2007 4:54 am
Location: Away from paradise
3D Software: Cinema 4D
Contact:

Re: [req] Multiple Indigo Instances on Mac

Post by pixie » Thu Aug 20, 2009 10:25 pm

zeitmeister wrote:I think you're right.

Depending on what fused is doing with the new Indigo Custom Material in C4D; we could think about a seperate Material Preview App of Indigo, which is only adressed when previewing materials.
Maybe this could be a solution... but twice the full program.

Or maybe something like the client node application, but with a own GUI?

Difficult, but worth collecting ideas about it.
Nah... I rather prefer the third option...

User avatar
zeitmeister
2nd Place 100
Posts: 2010
Joined: Tue Apr 22, 2008 4:11 am
Location: Limburg/Lahn, Germany
Contact:

Re: [req] Multiple Indigo Instances on Mac

Post by zeitmeister » Thu Aug 20, 2009 10:33 pm

Mee too, but I don't know if this is possible.
However, we definately need to open more than one Instance of Indigo in any case.
Cheers, David



DAVIDGUDELIUS // 3D.PORTFOLIO
·
Indigo 4.4.15 | Indigo for C4D 4.4.13.1 | C4D R23 | Mac OS X 10.13.6 | Windows 10 Professional x64

User avatar
pixie
Indigo 100
Posts: 2346
Joined: Sat Dec 29, 2007 4:54 am
Location: Away from paradise
3D Software: Cinema 4D
Contact:

Re: [req] Multiple Indigo Instances on Mac

Post by pixie » Thu Aug 20, 2009 10:35 pm

zeitmeister wrote:Mee too, but I don't know if this is possible.
However, we definately need to open more than one Instance of Indigo in any case.
The third being burning apple users on a stick! :twisted: :twisted:
:lol:





PS-I'm also a apple user ;)

User avatar
fused
Developer
Posts: 3648
Joined: Fri Sep 22, 2006 7:19 am
Location: Berlin, Germany
3D Software: Cinema 4D

Re: [req] Multiple Indigo Instances on Mac

Post by fused » Mon Aug 24, 2009 10:44 pm

Code: Select all

	char *my_args[5];
	pid_t pid;
	
	my_args[0] = "/Applications/Indigo 2.2.1/Indigo.app/Contents/MacOS/Indigo";
	my_args[1] = "/Applications/Indigo 2.2.1/Example scenes/ior_test.igs";
	my_args[2] = NULL;
	my_args[3] = NULL;
	
	puts ("fork()ing");
	
	switch ((pid = fork()))
	{
		case -1:
			//Fork() failed
			perror ("fork");
			break;
		case 0:
			//This is processed by the child
			execv ("/Applications/Indigo 2.2.1/Indigo.app/Contents/MacOS/Indigo", my_args);
			puts("execv() failed");
			exit(EXIT_FAILURE);
			break;
	}
	
	return 0;
allows launching multiple instances of indigo :)
Bild 1.png
Bild 1.png (621.17 KiB) Viewed 6262 times

User avatar
fused
Developer
Posts: 3648
Joined: Fri Sep 22, 2006 7:19 am
Location: Berlin, Germany
3D Software: Cinema 4D

Re: [req] Multiple Indigo Instances on Mac

Post by fused » Tue Aug 25, 2009 1:13 am

Skindigo is Ruby, isnt it?

That wasnt very helpful then, sorry....

you could write a little helper application with this, tho.
one that parses a text file with arguments and launches indigo accordingly. but maybe thats just too circumstantial...

User avatar
studiouno
Posts: 31
Joined: Fri Nov 13, 2009 12:38 pm
Location: Tours/France

Re: [req] Multiple Indigo Instances on Mac

Post by studiouno » Mon Mar 15, 2010 9:54 pm

Sorry for my English,

I am a french user of Indigo with SketchUp on Mac
And i don't know how to launch mutiple Intances (RENDER)?

Thanks for your Help?

User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

Re: [req] Multiple Indigo Instances on Mac

Post by CTZn » Tue Mar 16, 2010 12:49 am

Let me explain :)

Ce sujet confirme bien qu'à l'heure actuelle les utilisateurs de Mac ne peuvent lancer qu'une seule instance (qui redémarre un nouveau rendu); fused propose une solution technique, d'autres pouvant aussi être envisagées.

Le problème a été soulevé et une solution utilisateur est escomptée à terme.
obsolete asset

User avatar
studiouno
Posts: 31
Joined: Fri Nov 13, 2009 12:38 pm
Location: Tours/France

Re: [req] Multiple Indigo Instances on Mac

Post by studiouno » Tue Mar 16, 2010 2:17 am

Merci CTzn!

C'est ce que j'ai cru comprendre en lisant ce post.
En revanche pour la solution de fused, je ne comprends pas ou changer le code?
Puisque j'y suis,est ce que cette fonctionnalité apparaîtra à la très prochaine version 2.4?

User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

Re: [req] Multiple Indigo Instances on Mac

Post by CTZn » Tue Mar 16, 2010 3:10 am

La solution pourrait s'appliquer aussi bien à Indigo qu'à SkIndigo, elle s'adresse au système même (je me risque à penser que c'est en rapport avec le shell). N'étant pas impliqué à ce niveau de dévelopement je ne peux que demander:

what would be a reasonable delay for a practical solution ?
obsolete asset

User avatar
zeitmeister
2nd Place 100
Posts: 2010
Joined: Tue Apr 22, 2008 4:11 am
Location: Limburg/Lahn, Germany
Contact:

Re: [req] Multiple Indigo Instances on Mac

Post by zeitmeister » Tue Mar 16, 2010 9:24 pm

Opening multiple instances of Indigo should work without problems... just in case.
Cheers, David



DAVIDGUDELIUS // 3D.PORTFOLIO
·
Indigo 4.4.15 | Indigo for C4D 4.4.13.1 | C4D R23 | Mac OS X 10.13.6 | Windows 10 Professional x64

User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

Re: [req] Multiple Indigo Instances on Mac

Post by CTZn » Wed Mar 17, 2010 1:09 am

Thanks zeitmeister, though I'm not sure how I should read you: should it work already or soon ? By practical I was refering to a solution for an user without computer knowledge, myself can't tell how this script from fused should be used.
obsolete asset

Post Reply
25 posts