SketchUcation Premium Membership

 

 

V-ray questions

Re: V-ray questions

Postby Free Agent » Tue Apr 14, 2009 11:36 pm

just wanted to correct thomthom there, physical camera is not necessary for DOF, it works with both cameras
User avatar
Free Agent
 
Posts: 273
Joined: Thu Jun 05, 2008 10:00 am
Location: Cape Town, South Africa
Name: Sean

Re: V-ray questions

Postby thomthom » Tue Apr 14, 2009 11:39 pm

Free Agent wrote:just wanted to correct thomthom there, physical camera is not necessary for DOF, it works with both cameras

Whoops! It does? :oops:
I stand corrected.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17688
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: thomthom
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: V-ray questions

Postby AcesHigh » Wed Apr 15, 2009 3:08 am

ThomThom, if you want, you can asnwer here my ASGVIS forum post about the bump across window panes... the blend of two noise maps didnt work :(
AcesHigh
 
Posts: 428
Joined: Wed Mar 05, 2008 1:58 pm

Re: V-ray questions

Postby thomthom » Wed Apr 15, 2009 7:32 am

Did you try to set the noise to world co-ordinates?
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17688
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: thomthom
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: V-ray questions

Postby AcesHigh » Wed Apr 15, 2009 1:25 pm

thomthom wrote:Did you try to set the noise to world co-ordinates?


yup :(
AcesHigh
 
Posts: 428
Joined: Wed Mar 05, 2008 1:58 pm

Re: V-ray questions

Postby AcesHigh » Wed Apr 15, 2009 6:29 pm

oops, it was not you, it was Jackson who was helping me with this problem at ASGVIS forum... :oops:
AcesHigh
 
Posts: 428
Joined: Wed Mar 05, 2008 1:58 pm

Re: V-ray questions

Postby thomthom » Wed Apr 15, 2009 6:44 pm

;)
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17688
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: thomthom
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: V-ray questions

Postby AcesHigh » Wed Apr 15, 2009 6:56 pm

thomthom wrote:;)


you can help me of course, since I am failing miserably at achieving the necessary result
here is the ASGVIS thread
http://asgvis.com/index.php?option=com_ ... pic=6024.0

but you can answer here :)
AcesHigh
 
Posts: 428
Joined: Wed Mar 05, 2008 1:58 pm

Re: V-ray questions

Postby thomthom » Wed Apr 15, 2009 8:49 pm

I did some quick tests.

I found that I had to put all the faces that makes up the glass into one group/component. If each glass was an component instance they'd get the same distortion. Didn't find any way around it other than exploding all the glass faces.

Below is a test render.
The Bump map is the default Noise map where I set the Size to 50.
Please, register (free) to access all the attachments on the forums.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17688
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: thomthom
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: V-ray questions

Postby solo » Wed Apr 15, 2009 9:19 pm

Cool glass distortion thomthom, I used the same technique for making high gloss malamine panels.

* off topic * I see your pro version has expired, mine expired beginning of March (beta test license)
My site

Quod gratis asseritur, gratis negatur.
User avatar
solo
Global Moderator
 
Posts: 10798
Joined: Mon Nov 12, 2007 1:46 pm
Location: Dallas, Texas
Name: Pete Stoppel
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: other
Level of SketchUp: Intermediate

Re: V-ray questions

Postby thomthom » Wed Apr 15, 2009 9:39 pm

A slight variation:
Bumpmap: Blend
- Texture A: Noise - Size: 50
- Texture B: Bulge
Blend Ratio: 0.25 (75% Texture A)

This just add the slight bulging which you often see in windows.


solo wrote:* off topic * I see your pro version has expired, mine expired beginning of March (beta test license)

Yea. I have Pro at work. But not at home. While I've been testing Windows7 I've installed the Pro version, giving me 8 hours of Pro playtime. But that's a while since it ran out now. :( I should get the Pro. But I also want to buy the Arroway collection package. I did buy V-Ray for my home computer last month :) . (New Your trip didn't happen :( ) But this month I bought myself a new bow which I'll pick up when I go to London next week. :D But that means not more fun stuff this month.
Please, register (free) to access all the attachments on the forums.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17688
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: thomthom
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: V-ray questions

Postby AcesHigh » Wed Apr 15, 2009 9:41 pm

thomthom wrote:I did some quick tests.

I found that I had to put all the faces that makes up the glass into one group/component. If each glass was an component instance they'd get the same distortion. Didn't find any way around it other than exploding all the glass faces.

Below is a test render.
The Bump map is the default Noise map where I set the Size to 50.



Thanks ThomThom

2 questions:
1 - if I explode all components, wont the model size skyrocket?
2 - Matthieu Noblet script to reduce VRAY Render Times (parsing time) seems to already do that... as far as I understand (true, I didnt understand very well what it means "assigning textures directly to geometry)... anyway, if I use his scrip, will it automatically do what you said? If it does, I wonder how I would be able to MAINTAIN one noise texture to all glass panes (if that was what I wanted)
viewtopic.php?f=180&t=13711&st=0&sk=t&sd=a//url
AcesHigh
 
Posts: 428
Joined: Wed Mar 05, 2008 1:58 pm

Re: V-ray questions

Postby thomthom » Wed Apr 15, 2009 9:53 pm

AcesHigh wrote:1 - if I explode all components, wont the model size skyrocket?

Depends on how large the mesh inside component is. But generally I find geometry to add very little to the file size. It's the textures that blows the file size sky high.

AcesHigh wrote:2 - Matthieu Noblet script to reduce VRAY Render Times (parsing time) seems to already do that... as far as I understand (true, I didnt understand very well what it means "assigning textures directly to geometry)... anyway, if I use his scrip, will it automatically do what you said? If it does, I wonder how I would be able to MAINTAIN one noise texture to all glass panes (if that was what I wanted)
viewtopic.php?f=180&t=13711&st=0&sk=t&sd=a//url

No. His script is to transfer all material applied to the outside of components and groups to the actual geometry inside. VfSU chokes when you apply materials to the outside of components/groups.

The thing is, if all your glass are instances of the same definition, then they will all look alike. It seems that the Noise texture is generates identical from the 0,0,0 point of the component that contains it. This is probably to be able to render animations without having the noise whirl about. That's why, that if you take all your glass components and group them, so all the glass components are now inside a single group, and you then explode all of the glass; the noise will then generate it pattern from the 0,0,0 point of the group and generate a different pattern across all your glass surfaces.

Practically I don't think you have to take all the glass into one component. But enough to break up the repeating pattern.

Disclaimer: I don't know the behaviour of the noise as a fact. It's just what it appears to from my observation. I wouldn't be surprised if Damien saw this thread he's say "no no no, that's not how it works at all.". ;)
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17688
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: thomthom
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: V-ray questions

Postby thomthom » Wed Apr 15, 2009 10:02 pm

Maybe an illustration help?
Please, register (free) to access all the attachments on the forums.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17688
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: thomthom
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: V-ray questions

Postby AcesHigh » Wed Apr 15, 2009 10:12 pm

your solution is very good, and I will use it... but there is still a problem that we should consider for other times...

your solution spreads the noise across all glasses... thats also not realistic. The ideal would be to EACH PANEL to have its own noise. There lies the problem... either we have the SAME noise pattern in each glass panel, or we do have ONE noise pattern across all glasses (as if they were all only one pannel). Its not realistic because the distortion should not continue from one panel to the other. But its the better solution so far.

Thus, the real question is... how to generate a distortion that begins at xy of EACH PANEL, but at THE SAME TIME, making that distortion different for each panel?

My room is smelling like fried brain... :D
AcesHigh
 
Posts: 428
Joined: Wed Mar 05, 2008 1:58 pm

Re: V-ray questions

Postby thomthom » Wed Apr 15, 2009 10:49 pm

My second example tries to address that. It blends the noise with a bulge map. The bulge map when tiled 1.0 horizontally and vertically will match the tiling of your diffuse texture. So the Noise creates a global unique distortion and the bulge adds an emphasize on each window tile.
Though, I suppose a more distinct contract would be desired. I'll try later. Now I'm going to bed.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17688
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: thomthom
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: V-ray questions

Postby AcesHigh » Thu Apr 16, 2009 8:40 pm

gosh, it takes quite a long time to explode 15 thousand glass panels...
AcesHigh
 
Posts: 428
Joined: Wed Mar 05, 2008 1:58 pm

Re: V-ray questions

Postby thomthom » Thu Apr 16, 2009 8:55 pm

Yea. SU's exploding takes a looong time. But it seems to me it works faster if you explode them in smaller batches instead of one big one...
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17688
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: thomthom
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: V-ray questions

Postby thomthom » Thu Apr 16, 2009 11:11 pm

Another test.

Bump: Blend
- Multiplier: 0.5
- Blend Ratio: 0.1
- Texture A: Bitmap (Attached) - Tile UV: 0.25, No Filter
- Texture B: Bulge
Please, register (free) to access all the attachments on the forums.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17688
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: thomthom
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: V-ray questions

Postby AcesHigh » Fri Apr 17, 2009 12:27 am

looking good, but did you match the bitmap size so the squares match the glass panes? (btw, this pisses me off in VRAY... UVmap... right, and how can I know how big "1" translates into the model? Or 0.25?

in Sketchup, you set the SIZE of the bitmap... 2x2 meters... etc... much better.
AcesHigh
 
Posts: 428
Joined: Wed Mar 05, 2008 1:58 pm

Re: V-ray questions

Postby thomthom » Fri Apr 17, 2009 7:26 am

V-Ray UV Size:
If you have a texture in your SU material, and your material is set to 5000mm,1000mm, then UV of 1.0,1.0 would match SU's. If you set the UV to 0.5,2.0 then it'd equal to 2500mm,2000mm.

If you have no texture in SU, then a UV of 1.0,1.0 is one inch, 25.4mm.


What I did with the last bumpmap that I posted, since it's 4x4 tiles, I wanted each tile to match the size of the SU texture size, so I set the UV tiling to 0.25,0.25.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17688
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: thomthom
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: V-ray questions

Postby sepo » Fri Apr 17, 2009 12:44 pm

Sorry about my ignorance but can you show how bulge diffuse looks like.
sepo
 
Posts: 1562
Joined: Wed Nov 14, 2007 1:19 pm
Location: Northampton UK
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: V-ray questions

Postby thomthom » Fri Apr 17, 2009 12:46 pm

How the blended bumpmap looks like in the diffuse channel?
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17688
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: thomthom
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: V-ray questions

Postby sepo » Fri Apr 17, 2009 12:52 pm

:oops: You can tell I am total newby with Vray... I thought it was actually diffuse texture.
Thanks
sepo
 
Posts: 1562
Joined: Wed Nov 14, 2007 1:19 pm
Location: Northampton UK
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: V-ray questions

Postby thomthom » Fri Apr 17, 2009 1:10 pm

I do have a diffuse texture in the material. (viewtopic.php?f=80&t=18096&st=0&sk=t&sd=a&start=30#p149199) But that's only to create UV co-ordinates. The diffuse layer is completely transparent. You only see the reflection layer which is distorted by the bump.-
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17688
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: thomthom
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: V-ray questions

Postby AcesHigh » Fri Apr 17, 2009 2:35 pm

What? The default VRAY unit is an inch?? I thought VRAY was created by europeans.

Thom, I gave up on exploding my model. I will try it next time. My model was too big with too many glass components... the building is 130 floors tall, and I had to select 5 floors each time and even so it would take over 30 minutes to explode them...


I tried using the bulge in a teste model... Ive run into trouble, probably a bug... bulge would work in the first render... then usually it would look too small. I would try setting it correct then suddenly disappeared! No bulge anymore. Even returning to the initial settings, I would never see it again!
AcesHigh
 
Posts: 428
Joined: Wed Mar 05, 2008 1:58 pm

Re: V-ray questions

Postby thomthom » Fri Apr 17, 2009 3:07 pm

AcesHigh wrote:What? The default VRAY unit is an inch?? I thought VRAY was created by europeans.

I'm not sure if it's V-Rays default unit. Damien has claimed it uses the model units. He might be correct in one way, but wrong in another. Sketchup uses inches internally. Always. So if V-Ray uses the SU units, without taking into account the model display settings, that would explain why we have to enter units in inches in V-Ray.
So technically, V-Ray uses the model units. But not from an end user's point of view.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17688
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: thomthom
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: V-ray questions

Postby nomeradona » Sat Apr 18, 2009 7:32 am

thomthom wrote:
AcesHigh wrote:What? The default VRAY unit is an inch?? I thought VRAY was created by europeans.

I'm not sure if it's V-Rays default unit. Damien has claimed it uses the model units. He might be correct in one way, but wrong in another. Sketchup uses inches internally. Always. So if V-Ray uses the SU units, without taking into account the model display settings, that would explain why we have to enter units in inches in V-Ray.
So technically, V-Ray uses the model units. But not from an end user's point of view.

i begin to believe that its actually inches. i began redoing and resized my map in inches 2 inchesx inches or 1 inch by 1 inch and its just fit with the scale. aslo after doing the displacement. they are more exact in inches (2.54 cm)even though my measurement that im using is cm and not inches.
nomeradona
 
Posts: 1302
Joined: Mon Nov 26, 2007 4:46 am

Re: V-ray questions

Postby thomthom » Sat Apr 18, 2009 10:26 am

Yea, in V-Ray you have to use inches.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17688
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: thomthom
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: V-ray questions

Postby solo » Thu Apr 30, 2009 7:43 pm

Okay new Vray glitch...

I have a .skp model on one machine complete with materials and they are optimised for vray, however if I try open that model on another computer there are no materails in the vray material dialogue...am I missing something?
My site

Quod gratis asseritur, gratis negatur.
User avatar
solo
Global Moderator
 
Posts: 10798
Joined: Mon Nov 12, 2007 1:46 pm
Location: Dallas, Texas
Name: Pete Stoppel
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: other
Level of SketchUp: Intermediate

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Artisan Organic Toolset - a set of powerful organic modeling tools.

Premium Members get 20% discount!

Ad Machine
Robot
 
Posts: 2012

PreviousNext

Return to V-Ray

Who is online

Users browsing this forum: No registered users and 1 guest