DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

Rendering plugin for Sketchup

Started by adriank, May 24, 2016, 06:05:44 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Adrian 2.0

Here's one for all you fans of exporting to Sketchup for rendering your DCad models.
Well..... actually I mean, here's one for Sam!

A company called Imagination Technologies produces a plugin for Sketchup called 'Visualizer' that introduces photo-quality renderings with shiny and/or mirror surfaces, ambient light reflections etc. The effects are stunning albiet very time consuming to render. One image I set about rendering that had a large mirror wall in it took 1 day to render - but you can let it run in the background and continue working while you wait. The rendering image is constantly being updated on screen so you can bail out at any time you are satisfied with the result - in my case about 5 hours.

The good news is that as of last year it's free, Apparently they are discontinuing support & updates for the program so they can't charge for it any more.

A point to remember, Sketchup does not have the ability to assign reflection qualities to materials so to get round this the program recognizes key words in  the material name. Glass, translucent, shiny, satin, mirror, water etc. It even does (going the other way) 'rough' & 'rusty'. So remember to call any textures you create an appropriate name!

You can find the download at <getvisualizer.com>


samdavo

#1
Thanks adrian ! :)
I will check it out within the next 10 days (unfortunately I'm away for a week or so).

PS Late extra, herewith one amateur example - some of those faces are "gold", some "ruby", some "steel", some "walnut" - all as defined in DesignCAD before exporting to SketchUp - I hope I haven't misunderstood you - I enclose the result after I have waited only 10 minutes - I'll see if it improves overnight. (?)  :)    I have a feeling I have misunderstood something lol.

Adrian 2.0

Hi Sam,
Yes, you misunderstood - you need to make new materials in sketchup. If you import materials from DCad they just come out with an assigned colour number in Sketchup.
Go to the paint button & the material window pops up.  Choose the 'make new material' option as in the attached.
I went with a mid grey, called it 'mirror' then 'painted' the mirror at the end of the wardrobe with it and got the attached VIZ file.

Note the materials in that model were all made in Sketchup, not DCad.

samdavo


samdavo

#4
adrian
ok, Just to put those side by side, the main difference is the mirror, (and also the "edges" and "profiles" are more realistic, but trivial).

May I ask how long it took to render that ? And is it only the mirror that is getting the "special" rendering treatment?  (i.e. because maybe the vertical boards are named "rustic" or "Robert Frost birchwood forest" or similar, and maybe that isn't in Sketchup's vocabulary? :)

PS (edit) Changing subject, and adding to this post, because I am embarrassed at the number of posts I have made compared to my contribution lol, but here is a render of "Extruded Superman" when the material is changed to "translucent" in Sketchup - and after 5 minutes.    Any readers should be aware that this is using the free SketchUp Make, and the free Visualizer which is the subject of this thread.  Not that I am claiming it has merit - or that there is a big market out there for Extruded Superman sketches :)

Adrian 2.0

I didn't apply any special finishes to anything except the mirror in that example & it took only about 10 minutes to render.
In these 2 attachments you'll see more pronounced differences.

Image 1: (a house design I'm currently working on, so don't show it to anyone else....) (ooops, too late) you can see the differences better. Behind the stair I've shown a mirror wall which appears dull grey in the SKP version. There are also many frameless glass doors which are not rendered up dark enough in Visualizer yet, I need to add background colour to the texture in SKP. (still learning) You can see the reflections on the glass though. There is a wooden 'catwalk' on the right, and on the underside of that you can see the ambient reflection of the sun on the floor, which is a nice touch.
The VIZ render was running all night, so I aborted it after 7 hours (this is the result) while is still said it needed '>1 day' to finish.

Image 2, A while back I drew up a Lancia Stratos in DCad and added a widebody kit, front spoiler, sideboards, headlights etc to change it from a 70's icon to a modern more aerodynamic car. At the time I didn't have Sketchup, but I thought it'd be interesting to see how it changes the results knowing what we do now!
I included the 'Xray' render in SKP because it really is a useful presentation technique- sadly the Xray option does not work in Visualizer.
FWIW I changed the name of the body panels to 'shiny_body' and the wheels to 'mirror_wheel' with a mid-grey background colour.
The VIZ render only took about 10 minutes to complete.

Adrian 2.0

By the way - and importantly, in the top-left of VIZ screen on the menu bar there are 3 buttons you need to change the settings on.
The first is 'Enable Enhanced Materials' which you MUST check every time because it defaults with enhanced materials turned off. Weird because the only reason to use the plugin is to get the benefit of enhanced materials...
The next two are 'Reduce Noise' and 'Suppress Speckles', both of which I set on maximum suppression - again you need to Change that on every new render.

samdavo


samdavo

Finally made time to give it a better try.
I still can't define surfaces the way you do, but I have found standard surfaces in Sketchup ( Tiles for the floor, rock for one wall, golden glass for another, water for the bath.  - herewith the result of using Visualiser for only 5 minutes - Really amateur - but I really like the prospects m8 - :) thanks\.

I enclose a screensnip of the drwg as exported to Sketchup, and also the  png as printed by visualiser.  (2 cents)

Adrian 2.0

#9
Hi Sam,
Defining the surface to suit your desired result is easy.
In Sketchup, open the materials dialogue box (by clicking on the 'paint' tool) and then user the dropper-tool to select a material in the model.
Click on 'make new material' and in the window, change the name. Job done. (Edit: no need to make a new material, simply change the name in the main dialogue box)
You can also change the colour which automatically changes all instances of that material in the model to the new colour. Much faster than trying to select all the surfaces and apply a new material.

In the attached example I changed the wheel from '0132_lightgrey' to mirror_wheel.
I changed the body panels from '0128_white' to 'shiny_body' and also changed the colour to red.
The wing mirror lens was changed from 0131_silver' to 'mirror'.

That's it. You can see how it changed the result!

samdavo

#10
adrian
Fantastic (again) - but I'm still having trouble finding and defining materials in SketchUp.
So here's a wheel I drew once - similar to yours.
I tried defining Mirror - but is said materials have to be unique - so there must be another there somewhere.
I defined a material as "mirror_chrome", but that wasn't reflective (??)
I selected material "mirror" - probably not correctly - again not reflective, doh.

Could you please confirm all the steps - some time when you're not too busy lol. cheers sam.

PS Another thing, I suspect I should define the rim as a block before exporting to Sketchup (?) - to make it easier to select it (?)  Sorry that these questions are so elementary. 

PS I also add the effect I was able to get with DCAD - including the BMW logo ( 2 cents) - all pretty simple.   cheers

samdavo

PPS - I'm using the free version,  (Sketchup Make) -  are you?

Adrian 2.0

Sam,
Yes, I'm using the free Sketchup Make 2015 - along with the free Visualizer...
I think you may be forgetting to check the 'Enable Enhanced Materials' which I mentioned before.
The 2 attached pics (reduced to JPGs to save size) show results with enhanced materials enabled, then disabled (the default)
I've also attached the SKP file I created (zipped so I can attach it).

It's possible you may have struck problems because the rim imports as 'Default' & I've never tried to rename Default. I selected the rim & changed it to a grey from the colour palette before changing the name to 'Mirror_wheel'.
I also added a 'rubber' texture image to the tyre material, an 'Asphalt' standard sketchup material to the road (you have blue roads in Oz? I don't recall any from my time living there) and your BMW logo to the centre cap.
I had trouble with that though, it was a fiddle to get it in the middle & if you look closely it's a mirror image...

I've had no issues calling a material 'mirror' - you may have made a material called that accidentally while you were messing with it?
The routine again is:
1/ open the Sketchup drawing you exported from DCad.
2/ rescale the model (which will read in inches) to millimetres.by using the tape-measure tool between any 2 points (across the rim measured 462" and I know it should be 462mm)and then typing '462mm'. It will prompt you if you want to rescale the model - say 'yes'.
You can skip that stage but then the default scale of the textures you select will be way off & you'll need to rescale every texture.
3/ select the 'paint' tool (little paint tin tipping paint out) & the textures menu appears. Somewhere in the top-right of that panel is the 'dropper' tool.
4/ select the dropper tool & click on the material in the model you want to rename.
The name appears in the first editable field of the textures menu.
5/ rename it - I don't think you even need to hit enter afterwards.


Adrian 2.0

Regarding your comments on blocks, Sam:
I've not done much with block exporting, but I do think that saving a 'group' in DCad causes imports to become a 'component' which can be devilish awkward to edit.
I usually wind up having to explode the component, but I'm not experienced enough yet to know if I'm doing the right thing.
I do know that if I explode a component, then any plane boundaries within that component that are common with another plane boundary from a different part of the model gets deleted. I've had problems in a model - a house with windows in 2 positions (open & closed, bet you wouldn't have guessed that) - that when I hide the 'open' layer the wall that the open window was touching had a hole in it the shape of the contact patch. All because I exploded the window component.

So much learning to do... so little brain.

samdavo

#14
Thanks again.   I will try to emulate your efforts in the next couple of days (this is a project worth pursuing, not that I need to do sketches of tyres and rims all that often but ... :)  )   The other thing that was really classy were the reflections you achieved on the water surface, and even on the stone wall - getting very close to perfect,  friend :)  And way way beyond my current skills.  Cheers.

PS I'll add this youtube which shows hotkeys that can be applied to SketchUp.    I haven't used SU enough to warrant learning most of these - but I did have a stab at making SU behave more like DCAD, with some success (M, N, O etc)  I won't bother to post my hotkeys, because I have customised many of them in both DCAD and (to a limited extent) in SU ... and as I say, I believe the most exciting  advantage of Ver 25 is the ability to export a drwg fully done in DCAD,  but only for presentation purposes.  Cheers.

https://www.youtube.com/watch?v=BaL__0OHktU   

PS Just looking at the enclosed excerpt from your architectural picture - even the shadows on the boards are affected by reflected light ! (or so it seems) - fan bludy tastic !