Welcome to CGarchitect.com Untitled Document

Go Back   CGarchitect.com > 3D SOFTWARE > Mental Ray

Notices

Mental Ray Mental Images Mental Ray (Standalone & application integrated versions)

Reply
 
LinkBack Thread Tools Display Modes
Old November 8th, 2006   #1 (permalink)
Senior Member
 
IceAged's Avatar
 
Join Date: May 2006
Location: United Kingdom
Posts: 111

Name: Thomas Cowling


United Kingdom  Send a message via MSN to IceAged


Default Grass Displacement Problem

Hi
I have followed Jeff Pattons grass displacement tutorial, with much success up to now...

The grass is 100mm and 300mm high, max displacement at 300mm, max level at 5, edge length 0.5 pixels.

The problems begin when i start to use final gather - mental ray starts to throw up numerous warning messages saying:

'angle between normal and geometry normal >90 degrees'

...and eventually crashes during final gather computation, or bucket rendering, (although what it does manage to render before crashing looks absolutely fine).

Has anyone else had a similar problem with displacement??
IceAged is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links

Old November 8th, 2006   #2 (permalink)
Senior Member
 
Join Date: Dec 2003
Location: SC, USA
Age: 38
Posts: 206

Name: Jeff Patton


United_States 


Default Re: Grass Displacement Problem

Are you using the height map displacement or the regular displacement? What type of map are you using for the displacement? Displacement settings?

I have encountered problems like this when the displacement intersects itself (same holds true for bump mapping). The buckets that do not render (when it crashes) are where the problem area is (or atleast where it starts)

I haven't ran into the problem when using the height map displacement since it's rare for the displacement to intersect itself. Are you putting the displacement on an object that has hills/bumps where the displacement could possibly intersect itself on the sides of the hills/bumps? If so, you'll need to change that or reduce the height of the displacement to keep it from intersecting.
pixelperfectg is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old November 8th, 2006   #3 (permalink)
Senior Member
 
IceAged's Avatar
 
Join Date: May 2006
Location: United Kingdom
Posts: 111

Name: Thomas Cowling


United Kingdom  Send a message via MSN to IceAged


Default Re: Grass Displacement Problem

Hi Jeff!

To answer your first question, yes, i am using the height map displacement. I followed your tutorial step by step, making only a few minor tweaks to adjust the length of the grass, etc.

I'm using multi/sub object with material ID's, slots 3 and 5 accomodate a mental ray material, DGS applied to the surface, with a grass jpeg in the diffuse slot. 'Height Map Displacement' in the displacement slot, with cellular in the height map, tiling all set to 1, cell sizes 1, spread 0.4. One of the slots has grass at 100mm heigh, and the other at 300mm.

You mentioned displacement on the sides of the object, however - and i have applied the displacement material to 3D objects as opposed to the 2D mesh that you worked with, (most of the model was originally created by someone else in ADT).

I've tried the 3D meshes and testing the materials on a 2D mesh, but still the error messages and crashes occur.

I'm totally stuck here... the grass looks great when it works, but it is dangerously unstable to render...
IceAged is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old November 8th, 2006   #4 (permalink)
Senior Member
 
Join Date: Dec 2003
Location: SC, USA
Age: 38
Posts: 206

Name: Jeff Patton


United_States 


Default Re: Grass Displacement Problem

Try it with just one displacement material instead of two. If I could see a render of the mesh and where the displacement is applied (by color if nothing else), then I may be able to offer specific ideas...but right now all I can offer is still the thought that the displacement is intersecting itself and creating the error. Take a close look at the mesh where the displacement will be applied and try to visualize if the displacement would intersect itself (pay close attention to avoid angles where it would intersect itself or even another mesh)
Attached Images
File Type: jpg errors.jpg (44.0 KB, 74 views)
pixelperfectg is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old November 9th, 2006   #5 (permalink)
Senior Member
 
IceAged's Avatar
 
Join Date: May 2006
Location: United Kingdom
Posts: 111

Name: Thomas Cowling


United Kingdom  Send a message via MSN to IceAged


Default Re: Grass Displacement Problem

Hi Jeff
I have already tried with just one displacement map, but the crashes were still taking place. I did manage to render this image (attached), although the 'normal and geometry normal' warning still came up a lot of times...

Certainly, the displacement intersects with other geometry in the scene, but even when i try hiding it the messages and crashes still occur. If you're interested and have a spare moment, i could send the file itself for you to take a look at...?
Attached Images
File Type: jpg Houses.jpg (94.6 KB, 120 views)
IceAged is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old November 9th, 2006   #6 (permalink)
Senior Member
 
Join Date: Dec 2003
Location: SC, USA
Age: 38
Posts: 206

Name: Jeff Patton


United_States 


Default Re: Grass Displacement Problem

Wow, I'm surprised to see that it's giving you that error on those flat meshes. Yes, I'd like to take a look at it to see what's going on if you don't mind. You can send it to me at: jeff [AT] jeffpatton [dot] net
pixelperfectg is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
New Mental Ray grass displacement tutorial pixelperfectg 3ds Max 4 May 12th, 2006 06:52 AM
displacement grass, and bushes DAN212222 Cinema 4D 9 April 6th, 2006 05:22 AM
Grass in Cinema using displacement ZFact Cinema 4D 9 February 26th, 2006 12:42 PM
Vray displacement problem Dan J VRay Render 1 July 24th, 2005 02:25 AM
Vray displacement problem Chad Warner VRay Render 2 December 3rd, 2004 11:07 PM


All times are GMT -7. The time now is 01:19 PM.





Powered by vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
© Copyright 2001 – 2008 CGarchitect Digital Media Corp. All Rights Reserved.