Random sdk questions thread

Discussion for users of the Indigo Renderer SDK.
Post Reply
10 posts • Page 1 of 1
User avatar
fused
Developer
Posts: 3648
Joined: Fri Sep 22, 2006 7:19 am
Location: Berlin, Germany
3D Software: Cinema 4D

Random sdk questions thread

Post by fused » Sun Jan 04, 2009 5:49 am

So i dont have to open a new thread for each question :)

Will calling startTerminateRender() work after buildScene() but before startRendering()?
or
How do i cancel scene bulding?

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

Post by fused » Sun Jan 04, 2009 10:07 am

Indigo SDK.pdf wrote:IndigoInterface1::buildScene
Compiles the scene, building acceleration structures etc..
This method will block while scene compilation takes place.
meh, guess it cant be stopped, right?

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

Post by OnoSendai » Sun Jan 04, 2009 12:29 pm

no, it can't be stopped.

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

Post by fused » Sun Jan 04, 2009 1:14 pm

would be nice if it could be stopped.

i ran in a crash today. it seems to have sth to with ap.diffr.... it crashes after start and the diffraction preview is not saved in the base dir or working dir but on the desktop(?!).

oh... and placing the camera at 0,0,0 looking in the sun seems to produce a crash, too.

ill post some settings or the whole scenes tomorrow, im going to bed now.

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

Post by fused » Thu Feb 19, 2009 10:01 am

how can i start a network working master with sdk15?
if i add "-n wm" to the arguments array im told that its an unknown option...

Code: Select all

const char* arguments[] = { scenepath, "-n wm" };
result = indigo->executeCommand((const indString*)arguments, sizeof(arguments) / sizeof(const char*));
if(result != INDIGO_SUCCESS) {
	indigoClass->HandleErrors(result); //ArgumentParserExcep: Unknown option: '-n wm'
	return RAY_USERBREAK;
}

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

Post by OnoSendai » Thu Feb 19, 2009 1:07 pm

you want to use
const char* arguments[] = { scenepath, "-n", "wm" };

Each token separated by a space should be a separate argument.

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

Post by fused » Thu Feb 19, 2009 1:13 pm

thanks (:

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

Post by fused » Fri Feb 20, 2009 7:06 am

uhm, indigo never starts rendering if i start it as a working master.
numspp always stays 0, that is. cpu usage is only 1 or 2%.

edit: i also cant get a slave to connect to it.

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

Post by fused » Fri Feb 20, 2009 8:51 pm

i figured it out:

the "network_cache" dir has to exist :)

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

Post by OnoSendai » Fri Feb 20, 2009 10:02 pm

ah yeah, there might be a few files / dirs missing.
Make sure to check the log!

Post Reply
10 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest