SU Podium Forum
Sign up Calendar Latest Topics
 
 
 


Reply
  Author   Comment   Page 1 of 2      1   2   Next
Imp

Registered:
Posts: 11
Reply with quote  #1 
2013, April, 14 - updated to 2.38 version - New toolbar icons designed by bigstick.

Place this script into plugins folder. This will create additional render button in SUPodium toolbar.

This script fix some rendering problems:

1. Textures assigned to groups or component instances may not be rendered.
Apply materials from component instances to individual entities

2. Back sides may be render wrong.
Reverse faces from camera position, exchange materials

3. Images disappear.
Convert images to faces. Move images to avoid interference.

4. Texture corruption on faces in flipped/mirrored groups and components.
Recalculate transfomation of groups/components, transform subentities, transform material positions.

5. Corruption of distorted textures
Create new textures without distortion. Two possible ways:
- Standard texture export with Sketchup native texture writer. Fast, but draft quality.
- Good quality with 2D export of specially created face.

After model modification script run SU Podium render engine and then cancel all changes. All modifications may be enabled or disabled in options dialog from Plugins menu.

Created/tested on Windows platform.

 
Attached Files
zip IM_SUPFix_2_38.zip (13.32 KB, 198 views)

davew

Moderator
Registered:
Posts: 1,799
Reply with quote  #2 
Whoa....does this work?  We'll have to check it out.
bigstick

Avatar / Picture

Moderator
Registered:
Posts: 10,949
Reply with quote  #3 
Awesome work! This is very cool - thanks!

Did you know you have a Ruby call to trigger a Podium render?

__________________

That which does not kill us makes us stronger
-Friedrich Nietzsche

lucoss

Registered:
Posts: 39
Reply with quote  #4 
Good work!!! I made some tests and it's so nice!!

Thanks!!
Imp

Registered:
Posts: 11
Reply with quote  #5 
UP! First post in this thread edited. New script attached.
bigstick

Avatar / Picture

Moderator
Registered:
Posts: 10,949
Reply with quote  #6 
Fabulous - thanks a lot!
__________________

That which does not kill us makes us stronger
-Friedrich Nietzsche

Imp

Registered:
Posts: 11
Reply with quote  #7 
Updated version attached to first message.

Changes:
  • Fixed distorted and projected textures flipping in draft mode.
  • Improved texture quality. Higher resolution, but lower speed - adjust texture size limit option as needed.
  • Removed small margins on regenerated textures.
  • Fixed bug with sky color on transparent textures.
bigstick

Avatar / Picture

Moderator
Registered:
Posts: 10,949
Reply with quote  #8 
Cool - thanks a lot! I'll check this out.

Did you know that we have a Ruby call podium::render to trigger rendering?

__________________

That which does not kill us makes us stronger
-Friedrich Nietzsche

Imp

Registered:
Posts: 11
Reply with quote  #9 
Yes. It is documented
Imp

Registered:
Posts: 11
Reply with quote  #10 
Updated to 2.36 version: Fixed draft texture 5% scaling bug from 2.35 version.
bigstick

Avatar / Picture

Moderator
Registered:
Posts: 10,949
Reply with quote  #11 
Hmm - unfortunately crashes every time on my Mac.
Straightforward crash, no bugsplat - bang.
I do see the new Podium toolbar with the new icon, shortly before the crash...

Mountain Lion 10.8.3
SketchUp 8.0.16845
Podium 13.400 - you won't have this version

Plugins:-

bezier_TT.rb
bezier.rb
bezierspline.rb
clf_loose2groups.rb
clf_scale_rotate_multiple.rb
compoSprayToolbar.rb
config_ini.rb
config-thumb.jpg
curve_maker.rb
deBabelizer.rb
dropGC.rb
dropGC.rbz
EditInPlace
EditInPlace.rbs
EditInPlaceLoader.rb
examples.rb
export.rb
fillet3D.rbs
fixSolid.rb
FREDOSCALE_Dir_22
FREDOTOOLS_Dir_11
GHOSTCOMP_Dir_10
grid.rb
groupByTexture.rb
HolePunchTool.rb
jf_trim_and_keep.rb
jointpushpull.rb
JPP_Dir_15
JPP_Dir_18
ky_Key Rotate_modified_02.rb
LIBFREDO6_Dir_44
LibFredo6.rb
libtraductor.rb
line2cyl.rb
lwo_export
lwo_export.rb
materialconsolidator.rb
Matt_Toggle_Units
Matt_Toggle_Units.rb
mesh_additions.rb
Mirror.rb
move_to_origin.rb
obj_export_1.1.rb
obj_importer.rb
objectVR.rbs
ocean_extension.rb
parametric.rb
pathcopy.rb
plugins.backup
PodiumWalker.rbs
polyreduce.rb
progressbar.rb
proxyview.rb
rectangle.rb
resizing_material.rb
Rotated_Box.rb
scenetweak.png
scenetweak.rb
select_instancev2.rb
shapes.rb
simplify.rb
SimplifyContours.rb
sketchuv_loader.rb
SketchyFFD.rb
SKMtools_loader.rb
skp_to_dxf.rb
stock_maker.rb
SU_Animate.rb
SU_Podium_Browser.rbs
SU_Podium_V2_Render_All.rbs
SU_Podium_V2.rbs
SUPodium_Section_Tool.rb
taper_maker.rb
TIG-Descaler.rb
TIG-export_dwg_layered_by_material.rb
TIG-layer_by_material.rb
TIG-Superdrape.rb
tt_0000_menu.rb
tt_axis_pivot.rb
tt_bitmap2mesh.rb
tt_cc.rb
tt_cleanup.rb
tt_edgetools.rb
tt_select_flipped.rb
tt_selection_toys.rb
tt_shell.rb
tt_uv_toolkit.rb
TubeAlongPath.rb
ui_manager.rb
utilities.rb
utilities.rbs
UVtools.rb
vector.flat_angle.rb
weld.rb
ZLoader__Curviloft.rb
ZLoader__FredoScale.rb
ZLoader__GhostComp.rb
ZLoader__OnSurface.rb
ZLoader__RoundCorner.rb

__________________

That which does not kill us makes us stronger
-Friedrich Nietzsche

Imp

Registered:
Posts: 11
Reply with quote  #12 
Unfortunatelly, i does not have a MAC... Please, check attached version: i change init code for non-windows platform.

 
Attached Files
rb im_supfix.rb (31.42 KB, 39 views)

bigstick

Avatar / Picture

Moderator
Registered:
Posts: 10,949
Reply with quote  #13 
Yup - nice work! No crashes.
__________________

That which does not kill us makes us stronger
-Friedrich Nietzsche

Imp

Registered:
Posts: 11
Reply with quote  #14 
First post attachment updated to v2.37.
- Fixed script initialization on Mac's - instead of using SUPodium toolbar, script will create it's own.

Thanks to bigstick for testing.
bigstick

Avatar / Picture

Moderator
Registered:
Posts: 10,949
Reply with quote  #15 
Would you like me to make you a nicer icon?

I made all the others, I'm sure I can improve this.

__________________

That which does not kill us makes us stronger
-Friedrich Nietzsche

Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.