Page 6 of 10

Re: SkIndigo 3.6.8.1

Posted: Sat Aug 02, 2014 12:58 am
by OnoSendai
Updated build:
Much faster export for scenes with lots of objects
Exporting to Unicode paths should work now, in SketchUp 2014 at least, but not in SketchUp 8.

I might have broken something, let me know if so.

Re: SkIndigo 3.6.8.1

Posted: Sat Aug 02, 2014 2:23 am
by OnoSendai
Updated build:
Fixed exception being raised while handling materials with invalid UTF-8 byte sequences.

Re: SkIndigo 3.6.8.1

Posted: Sat Aug 02, 2014 2:36 am
by bubs
Seem to be having an issue with LinkedIGM where it looking for unpacked textures in the 'Indigo Renderer' folder instead of the 'Unpacked' folder

Re: SkIndigo 3.6.8.1

Posted: Sat Aug 02, 2014 2:47 am
by OnoSendai
bubs wrote:Seem to be having an issue with LinkedIGM where it looking for unpacked textures in the 'Indigo Renderer' folder instead of the 'Unpacked' folder
Which IGM/PIGM is that with?
Can you send it to me?

Re: SkIndigo 3.6.8.1

Posted: Sat Aug 02, 2014 2:51 am
by bubs
I'll email you now

Re: SkIndigo 3.6.8.1

Posted: Sat Aug 02, 2014 5:07 am
by OnoSendai
Have updated build, that material should work now.

Re: SkIndigo 3.6.8.1

Posted: Sat Aug 02, 2014 5:56 am
by bubs
Thanks, I'll give it a try

Re: SkIndigo 3.6.8.1

Posted: Tue Aug 05, 2014 9:42 am
by OnoSendai
Updated the build with basic support for object scattering. (See http://www.indigorenderer.com/forum/vie ... 17&t=13175 )

To use:

Plugins > SkIndigo > Scatter Editor.

Let me know if you can work out how to use it or if it makes no sense.

cheers!

Re: SkIndigo 3.6.8.1

Posted: Tue Aug 05, 2014 4:00 pm
by ak-sam
I'm working through it - really looking forward to adding grass to my landscape models... and my monkeys will remain hairless no longer!

So, the editor is OK...basic. Maybe some units for density, some "OK" buttons would make it nicer.

I created a scene with a flat ground plane (made into a component) and 3 types of scatter component.
I changed the seed on one to 123 and I used densities of 10000, 4000, and 1 (not sure what that is - instances per unit (eg metre) squared?)

Upon export I got this message:

A problem occurred with the scene:
Scene parsing error: Failed to parse unsigned integer from ''. (In element 'scene / scatter'):
<scatter>
<uid>3652</uid>
<name>the scatter</name>
<prototype_object_uid>171<... (In element 'scene / scatter'):
<scatter>
<uid>3652</uid>
<name>the scatter</name>
<prototype_object_uid>171<...



I think it was a material or object name for something in a dandelion i got from 3d warehouse (foreign language). can post the file if you like. I deleted that and re-rendered and it went OK.


Then I tried path tracing and CUDA, and got this:

A problem occurred with the scene:
Error initialising GPU ray tracer: cuTexRefSetAddress failed: CUDA_ERROR_INVALID_VALUE

GPU and driver info:
CUDA version: 5.5
Compute model: 3.5
Indigo version: Indigo Renderer v3.8.8, Windows 64-bit build.
Exporter: SkIndigo version:3.8.6.1
Platform: i386-mingw32
Author: sac
Description:
Date created: 2014-08-05 15:17:18 +1200
Please contact support@indigorenderer.com if you have any questions.


So I guess my number of entities is too large (for a 6gb Titan, even)?

I rendered successfully without the offending component (dandelions) and Indigo tells me I have 1775046 dynamic objects. I'm only getting 82ks/second using bilinear @ 14mp.

Re: SkIndigo 3.6.8.1

Posted: Tue Aug 05, 2014 4:24 pm
by ak-sam
My first attempt is attached to this post - densities are about 2000 and 4000 for the 2 types of grass.

I've added a curved surface instead of a flat one, and added two more types of scattered object (total is now 4).

I get this error:

An error occurred while SkIndigo was exporting the scene.
Please copy and paste the following details into an email to support@indigorenderer.com:

SkIndigo version: 3.8.6.1
SketchUp version: 14.1.1282
Ruby platform: i386-mingw32
Ruby version: 2.0.0
Error during processing: undefined local variable or method `object' for #<IndigoMeshBuilder:0xed54210>
C:/Users/sac/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/skindigo/IndigoMeshBuilder.rb:885:in `get_dummy_defn'
C:/Users/sac/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/skindigo/IndigoMeshBuilder.rb:638:in `build_linearised_definition_info_for_instance'
C:/Users/sac/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/skindigo/IndigoMeshBuilder.rb:699:in `block in build_linearised_definition_info_for_def'
C:/Users/sac/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/skindigo/IndigoMeshBuilder.rb:698:in `each'
C:/Users/sac/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/skindigo/IndigoMeshBuilder.rb:698:in `grep'
C:/Users/sac/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/skindigo/IndigoMeshBuilder.rb:698:in `build_linearised_definition_info_for_def'
C:/Users/sac/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/skindigo/IndigoMeshBuilder.rb:668:in `get_linearised_definition_info_for_def'
C:/Users/sac/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/skindigo/IndigoMeshBuilder.rb:747:in `process_component_instance'
C:/Users/sac/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/skindigo/IndigoMeshBuilder.rb:848:in `block in process_entity_list'
C:/Users/sac/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/skindigo/IndigoMeshBuilder.rb:847:in `each'
C:/Users/sac/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/skindigo/IndigoMeshBuilder.rb:847:in `grep'
C:/Users/sac/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/skindigo/IndigoMeshBuilder.rb:847:in `process_entity_list'
C:/Users/sac/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/skindigo/IndigoMeshBuilder.rb:868:in `process_entities'
C:/Users/sac/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/skindigo/skindigo_core.rb:184:in `export'
C:/Users/sac/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/skindigo/skindigo_core.rb:2533:in `block in <top (required)>'
-e:1:in `call'

Re: SkIndigo 3.6.8.1

Posted: Tue Aug 05, 2014 6:50 pm
by Oscar J
Use OpenCl instead of CUDA. Or is it OpenGL? Don't remember.

Re: SkIndigo 3.6.8.1

Posted: Tue Aug 05, 2014 11:39 pm
by OnoSendai
ak-sam wrote: I've added a curved surface instead of a flat one, and added two more types of scattered object (total is now 4).

I get this error:

An error occurred while SkIndigo was exporting the scene.
Please copy and paste the following details into an email to support@indigorenderer.com:

SkIndigo version: 3.8.6.1
SketchUp version: 14.1.1282
Ruby platform: i386-mingw32
Ruby version: 2.0.0
Error during processing: undefined local variable or method `object' for #<IndigoMeshBuilder:0xed54210>
This is a problem with a proxy instance (i.e. one using _dummy) - the definition it's referring to is not present.

Re: SkIndigo 3.6.8.1

Posted: Tue Aug 05, 2014 11:39 pm
by OnoSendai
ak-sam wrote: So, the editor is OK...basic. Maybe some units for density, some "OK" buttons would make it nicer.
I've added units for the density.
Units are objects / square metre.

Re: SkIndigo 3.6.8.1

Posted: Tue Aug 05, 2014 11:40 pm
by OnoSendai
ak-sam wrote: I think it was a material or object name for something in a dandelion i got from 3d warehouse (foreign language). can post the file if you like. I deleted that and re-rendered and it went OK.
Please do!

Re: SkIndigo 3.6.8.1

Posted: Wed Aug 06, 2014 1:41 am
by OnoSendai
Updated build to fix some problems with tricky definition names used for scattering.

The big limitation with scattering currently, is that the prototype object must have all internal components / groups exploded.
I'm trying to fix this.